DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
Anjan Roy
Participant



Joined: 12 Apr 2004
Posts: 46
Location: USA
Points: 390

Post Posted: Thu Oct 13, 2005 8:02 am Reply with quote    Back to top    

DataStage® Release: 7x
Job Type: Server
OS: Unix
Hi All.

I have a DB2 stage that is selecting data from multiple tables and writing into a flat file. I am using a column generated sql. When I validate my job I don't get any errors. However, when I run the job, I get the following error -

Code:
[IBM][CLI Driver] CLI0131E  Invalid string or buffer length. SQLSTATE=HY090
SQLTables: Error retrieving system catalog information for requested tables(s).


I searched the forum but did not find an effective resultion.

Any Ideas?

-Thanks in advance
Anjan
vcannadevula


since January 2006

Group memberships:
Premium Members

Joined: 04 Nov 2004
Posts: 143

Points: 1166

Post Posted: Thu Oct 13, 2005 9:59 am Reply with quote    Back to top    

Anjan Roy wrote:
Hi All.

I have a DB2 stage that is selecting data from multiple tables and writing into a flat file. I am using a column generated sql. When I validate my job I don't get any errors. However, when I run the job, I get the following error -

Code:
[IBM][CLI Driver] CLI0131E  Invalid string or buffer length. SQLSTATE=HY090
SQLTables: Error retrieving system catalog information for requested tables(s).


I searched the forum but did not find an effective resultion.

Any Ideas?

-Thanks in advance
Anjan




Add this environment variable "DS_NO_PROCESS_METADATA" in the admnistrator and set it to 1 and try to compile and run the job. This is needed if you are using the DB2 8 version
Rate this response:  
Not yet rated
ray.wurlod

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Australia Usergroup, Server to Parallel Transition Group

Joined: 23 Oct 2002
Posts: 51675
Location: Canberra, Australia
Points: 280643

Post Posted: Thu Oct 13, 2005 3:31 pm Reply with quote    Back to top    

Can you import table definitions?

Check that you have requisite SELECT priveleges to the system tables.

_________________
RXP Services Ltd
Melbourne | Canberra | Sydney | Hong Kong
currently hiring: Sydney and Melbourne
Rate this response:  
Not yet rated
chivl627


since March 2006

Group memberships:
Premium Members

Joined: 14 Oct 2005
Posts: 5

Points: 46

Post Posted: Fri Oct 28, 2005 2:50 pm Reply with quote    Back to top    

Hi vcannadevula,

Your suggestion worked! Razz

We just did an upgrade to DS7.5.1.A in our dev server and started doing a shakeout on our jobs and got this error in 3 jobs so far:
[IBM][CLI Driver] CLI0131E Invalid string or buffer length. SQLSTATE=HY090
SQLTables: Error retrieving system catalog information for requested tables(s).

So I added that environment variable as you suggested and the jobs ran fine this time.

What's that env variable for? You mentioned we need this if we're using DB2 8? Can you pls tell me more abt it?

Thanks much!!
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours