unable to import table definitions using ODBC

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
kiran_418
Participant
Posts: 40
Joined: Tue Feb 22, 2005 11:12 am

unable to import table definitions using ODBC

Post by kiran_418 »

HI
Iam trying to import ODBC table definitions for two tables. It says authorization restricted. When i asked my DBA he said I have all rights for those 2 tables.
He asked me "it looks it was trying to access and write using a system file...." I have no clue to this questions.
The table definitions are being imported from AS400/ DB2 database.
Thanks for immediate response
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

To get list of tables, you need to access your system tables. But you need not write it.
kiran_418
Participant
Posts: 40
Joined: Tue Feb 22, 2005 11:12 am

Post by kiran_418 »

Ok
Y do i get this error when iam importing table definitions

DSR.MetaGeta(GET.COLUMNS)(SQLStatistics("SPEASUS4","DEVDTA","F5585211")): BCI Error:
SQLSTATE=42000,CODE=-551,[DataStage][SQL Client][ODBC][IBM][iSeries Access ODBC Driver][DB2 UDB]SQL0551 - Not authorized to object QADBKFLD in QSYS type *FILE.

Any specific meaning to that
Thanks
Bye
kiran
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

That is an AS/400 DB2 error message.

Go into a search engine like google and try to locate it. One search returned the following.

http://networking.ittoolbox.com/groups/ ... font=fixed
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

To be brutal, it's not a DataStage problem.

You have not been granted sufficient authority in DB2 on the AS400 to obtain a list of table names (or perhaps of a list of column names for a particular tables).

You must negotiate to get this authority granted by the DBA.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply