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
 

 

How to solve SQL Error -204: UNDEFINED NAME

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
mahesh.ajagtap

New User


Joined: 30 Sep 2006
Posts: 6

PostPosted: Tue Jan 23, 2007 11:11 am    Post subject: How to solve SQL Error -204: UNDEFINED NAME
Reply with quote

how to slove this error....
SQLCODE = -204, ERROR: IS AN UNDEFINED NAME
SQLSTATE = 42704 SQLSTATE RETURN CODE
SQLERRP = DSNXOTL SQL PROCEDURE DETECTING ERROR
SQLERRD = -500 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
Back to top
View user's profile Send private message

prav_06
Warnings : 1

Active User


Joined: 13 Dec 2005
Posts: 154
Location: The Netherlands

PostPosted: Tue Jan 23, 2007 11:49 am    Post subject: Re: error -204
Reply with quote

Check your table name inside your sql query , you might have mispelled it or prefix the table name by the owner name for eg..Ownername.tablename

select empno from user1.table1 where empsal > 5000;
Back to top
View user's profile Send private message
siva001

New User


Joined: 12 Jan 2007
Posts: 9
Location: chennai

PostPosted: Tue Jan 23, 2007 3:07 pm    Post subject: Re: How to solve SQL Error -204: UNDEFINED NAME
Reply with quote

qw shows this mesage i hope u didn't metioned exact table name

Programmer Response: Verify that the object name was correctly specified
in the SQL statement, including any required qualifiers. If it is correct,
ensure that the object exists in the system before resubmitting the
statement.
Back to top
View user's profile Send private message
mahesh.ajagtap

New User


Joined: 30 Sep 2006
Posts: 6

PostPosted: Tue Jan 23, 2007 7:52 pm    Post subject:
Reply with quote

thank....
now it work
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm


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