View previous topic :: View next topic |
Author |
Message |
chittu Beginner
Joined: 27 Dec 2002 Posts: 4 Topics: 2 Location: India
|
Posted: Fri Dec 27, 2002 1:18 am Post subject: How do you issue a Check point ID for restart in IMS? |
|
|
I woull appreciate if somebody lets me know how to determine the CKPTID for a restart in IMS.
Thanks
Chittu |
|
Back to top |
|
|
Maneesh Chawla Beginner
Joined: 13 Dec 2002 Posts: 8 Topics: 2
|
Posted: Fri Dec 27, 2002 4:03 am Post subject: |
|
|
The checkpoint Id's can be traced in the job log. Take the latest entry for the checkpoint in job log and restart your job. _________________ Maneesh Chawla
***If at first you don't succeed, destroy all evidence that you tried*** |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Fri Dec 27, 2002 4:30 am Post subject: |
|
|
Chittu,
You can restart the program from a symbolic checkpoint taken during a previous execution of the program. The checkpoint used to perform the restart can be identified by entering the checkpoint ID either in the I/O area pointed to by the XRST call (left-most justified, with the rest of the area containing blanks) or by specifying the ID in the CKPTID= field of the PARM= parameter on the EXEC statement in your program's JCL. (If you supply both, IMS uses the CKPTID= value specified in the parm field of the EXEC statement.)
The ID specified can be:
- A 1 to 8-character extended checkpoint ID
- A 14-character "time stamp" ID from message DFS0540I, where:
- IIII is the region ID
- DDD is the day of the year
- HHMMSST is the time in hours, minutes, seconds, and tenth of a second
- The 4-character constant "LAST". (BMPs only: this indicates to IMS that the last completed checkpoint issued by the BMP will be used for restarting the program)
The system message DFS0540I supplies the checkpoint ID and the time stamp.The system message DFS682I supplies the checkpoint ID of the last completed checkpoint which can be used to restart a batch program or batch message processing program (BMP) that was abnormally terminated.
If the program being restarted is in either a batch region or a BMP region, and the checkpoint log records no longer reside on the Online Log Data Set (OLDS) or System Log Data Set (SLDS), the //IMSLOGR DD defining the log data set must be supplied in the JCL for the BATCH or BMP region. IMS reads these data sets and searches for the checkpoint records with the ID that was specified.
At completion of the XRST call the I/O area always contains the 8-character checkpoint ID used for the restart. An exception exists when the checkpoint ID is equal to 8 blank characters; the I/O area then contains a 14-character time stamp (IIIIDDDHHMMSST).
Also check the status code in the I/O PCB. The only successful status code for an XRST call are blanks.
Hope this helps...
cheers
kolusu |
|
Back to top |
|
|
|
|