Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SQL Code -204

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: SQL Code -204
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: 208
Location: Cochin/Kerala/India

PostPosted: Thu May 14, 2009 5:08 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts CA Workload Automation event code help vinu78 CA Products 10 Wed Mar 01, 2017 10:05 am
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 2 Tue Jan 24, 2017 1:23 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 2 Thu Jan 12, 2017 12:02 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us