gbw Beginner
Joined: 02 Dec 2002 Posts: 8 Topics: 7 Location: New Jersey
|
Posted: Thu Feb 27, 2003 7:59 pm Post subject: Checkpoint/Restart...... |
|
|
While doing the Checkpoint and Restart one can make use of Checkpoint-Id.
Is there any special dataset name we need to define inside the JCL? If yes, can you elaborate some more?
Or just make use of Checkpoint-Id details, put them in Parm card and restart the program is enough?
Thanks. |
|
hari_uss Beginner
Joined: 19 Dec 2002 Posts: 78 Topics: 6 Location: Trivandrum, India
|
Posted: Wed Mar 05, 2003 3:08 am Post subject: |
|
|
You don't need any 'special' datasets to use checkpoint-id.
If you are using basic checkpointing, your program should issue a CHKP call after every, say 50 or 100 transactions (depends on standards followed at your shop). At this point, the program should place the checkpoint id to the third parameter of the call (this will be written in DL/I log).
Your program should be able to accept the checkpoint id, on restart. Then it may need to skip through the input transaction file till the record at which last checkpoint was issued. You may want to reset the affected working storage variables also, if any.
Thanks, |
|