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 

Maintain cursor position in IMS BMP after checkpoint

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


Joined: 26 Feb 2003
Posts: 1
Topics: 1

PostPosted: Wed Feb 26, 2003 4:56 pm    Post subject: Maintain cursor position in IMS BMP after checkpoint Reply with quote

I've got an IMS BMP transaction that accesses DB2. There are a number of DB2 cursors declared 'with hold' in the program. I've added IMS checkpoint-restart logic to the program and the program doesn't seem to be holding the position on the cursors after the commits.

I've seen examples of DLI batch programs that do this correctly. Should I be able to do the same thing in a BMP transaction?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu Feb 27, 2003 12:02 am    Post subject: Reply with quote

sierra,

you should able to hold the position of the cursor after taking the checkpoint in a BMP program.Put display statements in the program before and after taking a checkpoint and check with the subsequent fetch.

Hope this helps...

cheers

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS 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