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 

-904 Xped

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


Joined: 02 Sep 2003
Posts: 101
Topics: 55
Location: India

PostPosted: Fri Oct 08, 2004 10:22 am    Post subject: -904 Xped Reply with quote

Hi,

I have an open cursor statement which is getting an SQLCODE of -904. But that is not really my problem. I want to execute the rest of the code by forcing the SQLCODE to zero for this step in XPEDITOR. There are a number of SQL STATE calls after an DB2 statement. I have pur a Break Point before and after the DB2 calls and have done a KEEP on SQLCODE so that when I go to the end of the SQL CALLS, I will force the SQLCODE to 0 instead of -904. However, when I reach the Break point before the DB2 calls and then do a F12 to reach the end of the DB2-SQL calls, the program procssing terminates with -904. It is not going to the 2nd breakpoint at the end of the DB2-SQL calls.
I am probably doing something wrong. Can anyone please help?
_________________
Cheers!
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Fri Oct 08, 2004 11:35 am    Post subject: Reply with quote

If you are checking SQLSTATE then altering SQLCODE will have no effect. You can bypass the calls by using the S (Skip) command.
Back to top
View user's profile Send private message
abracadabra
Beginner


Joined: 02 Sep 2003
Posts: 101
Topics: 55
Location: India

PostPosted: Fri Oct 08, 2004 12:11 pm    Post subject: Reply with quote

Not really. I am checking SQLCODE. Let me try SKIP and see. I thought having two breakpoints would solve the problem.
_________________
Cheers!
Back to top
View user's profile Send private message
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