Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 213
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: 6968
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
This topic is locked: you cannot edit posts or make replies. how to code for GDG in Rexx cvnlynn CLIST & REXX 13 Wed Aug 09, 2017 9:13 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts I want to retire TRX and use only Rex... Abhinav Sharma CLIST & REXX 6 Sat Jul 29, 2017 2:53 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us