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 

Checkpoint / Restart option in COBOL/JCL

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


Joined: 02 Apr 2006
Posts: 32
Topics: 10

PostPosted: Tue Apr 04, 2006 11:43 am    Post subject: Checkpoint / Restart option in COBOL/JCL Reply with quote

Hi All,

Can anyone help me out by explaining how to use checkpoint/restart feature in cobol.
I have gone through the forums to find many posts on this but couldn't find appropriate
examples that could have been self explanatory. Could you please provide me with
a sample code to demonstrate the checkpoint feature in cobol (using RERUN clause
i suppose) and also the corresponding JCL.

Thanks and Regards,
Raveendra.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Apr 04, 2006 11:45 am    Post subject: Reply with quote

raveendra_ibm,

Please search before posting. The checkpoint restart logic is explained in detail here.

http://www.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
raveendra_ibm
Beginner


Joined: 02 Apr 2006
Posts: 32
Topics: 10

PostPosted: Tue Apr 04, 2006 2:41 pm    Post subject: Reply with quote

Hi Kolusu,

Thanks for your reply.

I came through this particular post that you referred to. But I was wondering if the Check point option that
I am talking about is anyway related to DB2 or IMS ?

I thought it was just a COBOL and JCL affair.

As I am new to mainframes my questions may sound weird. Please bear with me.

If a requirement is such that you need to write 4000 records into different files read from a single file,
and if the job abends after 2000 records(say), then how can we set a checkpoint in the cobol program
to ensure that we resume from 2001 record.

Could you please provide me with the corresponding JCL also.

Thanks and Regards,
Raveendra.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Wed Apr 05, 2006 4:34 am    Post subject: Reply with quote

raveendra_ibm,

Checkpoint is an IMS feature.

IMS automatically takes care of re-positioning the files after a restart. You really would not understand with just the JCL. I suggest that you read the IMS manuals and the best approach is to look in your shop for an existing example.

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
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming 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