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 DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


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