If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > SQLCOD -501 The identified cursor is not open

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-11-05, 16:45
aesparzas aesparzas is offline
Registered User
 
Join Date: Nov 2005
Posts: 1
SQLCOD -501 The identified cursor is not open

Hello All,

I have some SQL RPG programs wich are runnig in bath mode and they are sending the (-501) sql cod (The identified cursor is not open).

This sqlcod is happening after I've upgraded the OS/400 to V5R3.

¿Has somebody experiencing something similar ?

Thanks for your help.
Reply With Quote
  #2 (permalink)  
Old 11-11-05, 16:59
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
I don't have much experience with iSeries but on other, less exotic platforms DB2 closes cursors when the application issues a COMMIT, unless WITH HOLD has been specified in the cursor declaration.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On