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

How to solve SQL Error -204: UNDEFINED NAME


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top