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 

Query regarding a IMS/DB-DB2-COBOL program.

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


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Mon Feb 20, 2006 4:22 am    Post subject: Query regarding a IMS/DB-DB2-COBOL program. Reply with quote

Hi,

I searched the forum before posting my doubt. I could not find a relavant answer to this query.

A batch program (IMS/DB-DB2-COBOL) uses cursor to get data from table, processes the same and finally writes every record in a GSAM file. This program is checkpoint restartable and checkpoint is taken for each 100 records. If such a program abends after processing certain no. of records then will the cursor be closed? If so, how to process the rest of the records? How to make use of the checkpoint id during the restart of such a program? Will the cursor need to be reopened again? How does it go?

Would you please explain it in detail? Thanks a ton.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


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

PostPosted: Mon Feb 20, 2006 6:06 am    Post subject: Reply with quote

mf_user,

Read the following sections carefully

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNAPH11/4.3.4.1?SHELF=&DT=20010710165542&CASE=


http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNAPH11/4.3.3.4?SHELF=&DT=20010710165542&CASE=

Also read this topic which explains in detail about checkpoint restart logic

http://mvsforums.com/helpboards/viewtopic.php?t=1318&highlight=checkpoint


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Mon Feb 20, 2006 11:40 pm    Post subject: Reply with quote

Thanks Kolusu. I'll go through the sections and revert back if I've more doubts. Wow.....topic 1318 is great for beginner like me.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
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