Warning while importing metadata from DB2
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 28
- Joined: Tue Aug 08, 2006 8:07 am
Warning while importing metadata from DB2
Hello,
I am trying to import table from DB2, it is giving warning No columns in TABLE NAME - not imported. I am importing through import--plugin metadata--DB2. I can see all the tables there but when i am clicking import i am getting this warning. When i opened DB2 i can see the table and columns there. Two days ago i imported the table for another project i was succesful, I also designed job using that, When i run those jobs today its working fine,its deleting, inserting. But the problem is its not allowing to import the table to any project, not alone this single table i tried importing other tables also its not working giving me the same warrning. Do give me a better solution to rectify this.
Thanks & Regards,
Kalimuddin.
I am trying to import table from DB2, it is giving warning No columns in TABLE NAME - not imported. I am importing through import--plugin metadata--DB2. I can see all the tables there but when i am clicking import i am getting this warning. When i opened DB2 i can see the table and columns there. Two days ago i imported the table for another project i was succesful, I also designed job using that, When i run those jobs today its working fine,its deleting, inserting. But the problem is its not allowing to import the table to any project, not alone this single table i tried importing other tables also its not working giving me the same warrning. Do give me a better solution to rectify this.
Thanks & Regards,
Kalimuddin.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You need SELECT privilege to a number of system tables in DB2 to be able to import table definitions from DB2. Search the forum to discover which system tables they are.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 28
- Joined: Tue Aug 08, 2006 8:07 am
I have given the privilege to all the tables which are needed. This I did at the time when i created those tables. But the problem started from yesterday.When i checked the privilege its granted. But still i am getting the same warning while importing.ray.wurlod wrote:You need SELECT privilege to a number of system tables in DB2 to be able to import table definitions from DB2. Search the forum to discover which system tables they are. ...
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Per the upgrade/install guide, make sure of the following (particularly #2):
1 Install DB2 and make sure it is working properly.
2 Grant the DataStage users SELECT privileges on the system tables
syscat.nodegroupdef, syscat.tablespaces, and syscat.tables.
3 Make the file db2nodes.cfg readable by the DataStage
administrative user.
4 DataStage runs many processes for each job. This can require the
system administrator to modify DB2 resources, configuration
parameters, and manager configuration parameters of your
system. See the DB2 administration manuals for more
information.
5 The DB2/UDB Enterprise stage requires that users invoking it in
load mode have DBADM privilege on the DB2 database written to
by the stage. Among the ways to grant this privilege is to start
DB2, connect to a database, and grant privileges as follows:
db2> CONNECT TO database_name
db2> GRANT DBADM ON DATABASE TO USER user_name
1 Install DB2 and make sure it is working properly.
2 Grant the DataStage users SELECT privileges on the system tables
syscat.nodegroupdef, syscat.tablespaces, and syscat.tables.
3 Make the file db2nodes.cfg readable by the DataStage
administrative user.
4 DataStage runs many processes for each job. This can require the
system administrator to modify DB2 resources, configuration
parameters, and manager configuration parameters of your
system. See the DB2 administration manuals for more
information.
5 The DB2/UDB Enterprise stage requires that users invoking it in
load mode have DBADM privilege on the DB2 database written to
by the stage. Among the ways to grant this privilege is to start
DB2, connect to a database, and grant privileges as follows:
db2> CONNECT TO database_name
db2> GRANT DBADM ON DATABASE TO USER user_name
-
- Participant
- Posts: 28
- Joined: Tue Aug 08, 2006 8:07 am
-
- Participant
- Posts: 28
- Joined: Tue Aug 08, 2006 8:07 am
This is the one which helped me.ArndW wrote:Per the upgrade/install guide, make sure of the following (particularly #2):
1 Install DB2 and make sure it is working properly.
2 Grant the DataStage users SELECT privileges on the system tables
syscat.nodegroupdef, syscat.tablespaces, and syscat.tables.
3 Make the file db2nodes.cfg readable by the DataStage
administrative user.
4 DataStage runs many processes for each job. This can require the
system administrator to modify DB2 resources, configuration
parameters, and manager configuration parameters of your
system. See the DB2 administration manuals for more
information.
5 The DB2/UDB Enterprise stage requires that users invoking it in
load mode have DBADM privilege on the DB2 database written to
by the stage. Among the ways to grant this privilege is to start
DB2, connect to a database, and grant privileges as follows:
db2> CONNECT TO database_name
db2> GRANT DBADM ON DATABASE TO USER user_name
Thanks & Regard,
Kalimuddin.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
That's the information I was trying to remember when I kept going on about system tables. Clearly it's important. But when one is in an internet cafe paying for connection time one does not really want to spend it searching.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.