MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sql codes -805 & -818

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
jajularamesh
Beginner


Joined: 14 Apr 2006
Posts: 87
Topics: 33

PostPosted: Tue Feb 20, 2007 2:57 am    Post subject: sql codes -805 & -818 Reply with quote

can anyone please let me know the actual difference between sqlcode -805 and -818

i have binded a cobol db2 program with a wrong DBRM lib and expecting sqlcode -818 as there will be a Timestamp mis match but i am actually getting -805.

can anyone explain me the reason for this....
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue Feb 20, 2007 4:09 am    Post subject: Reply with quote

According to Quickref a -805 is plan/package not found a -818 is a timestamp problem. You may get the -818 if you resolve the -805 so that it can look at your plan/package!
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
blitz2
Beginner


Joined: 23 Jan 2007
Posts: 84
Topics: 14

PostPosted: Wed Feb 21, 2007 8:50 am    Post subject: Reply with quote

Did you modify any sql statements in the program?
________
Yamaha SW396


Last edited by blitz2 on Wed Feb 02, 2011 3:12 am; edited 1 time in total
Back to top
View user's profile Send private message
Nithisha
Beginner


Joined: 27 May 2006
Posts: 23
Topics: 13
Location: Pune

PostPosted: Wed Feb 21, 2007 11:59 am    Post subject: difference -805 and -818 Reply with quote

The -805 occurs when you have not specified the plan name during the precompilation.
where as -818 occurs when there is mis match in sql and no sql process while creating the load module during the precompile process.

Thanks
nithisha

.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group