sql error

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
Mark j
Participant
Posts: 20
Joined: Tue Apr 20, 2004 9:26 am

sql error

Post by Mark j »

what does this error mean

DSD.BCIPut call to SQLExecute failed.

SQLSTATE=60, DBMS.CODE=-805
[DataStage][SQL Client][ODBC][DataDirect][ODBC 20101 driver][DB2]7604


Thanks
Mark
mandyli
Premium Member
Premium Member
Posts: 898
Joined: Wed May 26, 2004 10:45 pm
Location: Chicago

SQL Error

Post by mandyli »

Following error related to DB2 odbc connection error.


[quote]SQLSTATE=60, DBMS.CODE=-805
[DataStage][SQL Client][ODBC][DataDirect][ODBC 20101 driver][DB2]7604 [/quote]

Which stage you are using ODBC stage or DB2 API stage.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

That it's BCI.Put indicates that it's an ODBC or UV stage. Since the message is from DB2, we must assume the former; you can't get at a DB2 database through a UV stage!

There's more to this error message. We need to see the response from the database server, and we need to know what error code -805 means in that database. Reset the job, and see if there's anything in the "from previous run" event that might aid diagnosis. (I think there's more "message" following the 7604.)

Can you also post the INSERT/UPDATE statement(s) that the link is using?

Have you verified that this is valid SQL according to what you want to do?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Neil C
Participant
Posts: 46
Joined: Sun Apr 06, 2003 8:59 pm
Location: Auckland, New Zealand

Post by Neil C »

-805 error code in DB2 means
"DBRM OR PACKAGE NAME NOT FOUND IN PLAN"

So go to the DB2 system and find out what package or plan it is complaining about and get the DB2 DBA to rebind it for you.

What method of accessing DB2 are you using? DB2 Connect, Oracle Transparent Gateway, something else?
Post Reply