View previous topic :: View next topic |
Author |
Message |
raveendra_ibm Beginner
Joined: 02 Apr 2006 Posts: 32 Topics: 10
|
Posted: Tue Apr 04, 2006 11:43 am Post subject: Checkpoint / Restart option in COBOL/JCL |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12380 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
raveendra_ibm Beginner
Joined: 02 Apr 2006 Posts: 32 Topics: 10
|
Posted: Tue Apr 04, 2006 2:41 pm Post subject: |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12380 Topics: 75 Location: San Jose
|
Posted: Wed Apr 05, 2006 4:34 am Post subject: |
|
|
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 |
|
 |
|
|