IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SQL Code -204


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
CICS fan

New User


Joined: 03 Apr 2008
Posts: 82
Location: United States

PostPosted: Thu May 14, 2009 4:36 pm
Reply with quote

Hello All.

We have wrote a program which connects to DB2 database on Unix.While trying to add it to Endevor(i.e. while trying to compile) we are facing the following error:

DSNX200I -DBD1 BIND SQL ERROR
USING DB2CBSP AUTHORITY
PLAN=(NOT APPLICABLE)
DBRM=IMST862
STATEMENT=150
SQLCODE=-204
SQLSTATE=42704
TOKENS=DB2CBSP.TRIP
CSECT NAME=DSNXOTL
RDS CODE=-500

Can anyone please help in decoding this?
Back to top
View user's profile Send private message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Thu May 14, 2009 5:08 pm
Reply with quote

SQL code -204 is returned when the object name(DB2 table) is not defined in the subssytem.Please check the table is existing or not.

Regards,
Bipin Peter
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu May 14, 2009 5:15 pm
Reply with quote

db2 could not find DB2CBSP.TRIP.
is TRIP a table name?
do all the db2 programs at your site qualify the table name?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Monitoring production job progress. N... JCL & VSAM 4
Search our Forums:

Back to Top