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

Online program which is returning an SQl code of -501


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rinkubhat

New User


Joined: 13 Sep 2005
Posts: 35
Location: India

PostPosted: Tue Jun 19, 2007 2:22 pm
Reply with quote

I have an online program which is returning an SQl code of -501 in one of the regions.
But in other region program is working fine.
Is this something related to data problem or there is to something wrong with the logic.Please advise
Back to top
View user's profile Send private message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 177
Location: Seattle, WA

PostPosted: Wed Jun 20, 2007 1:52 am
Reply with quote

"The cursor identified in a FETCH or CLOSE statement isn't open."
Back to top
View user's profile Send private message
SHAILESH OZA

New User


Joined: 10 Jun 2005
Posts: 21
Location: Mumbai

PostPosted: Tue Jun 26, 2007 3:04 pm
Reply with quote

Can you please try to delete the record in the restart table and restart the job?
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts After newcopy the CICS program user f... CICS 7
No new posts Starting a CICS Transaction from a Th... CICS 0
No new posts Problem moving a cobol program into E... COBOL Programming 3
No new posts purge jobs with return code 0 and ret... JCL & VSAM 6
Search our Forums:


Back to Top