Enterprise Server supports basic checkpoint (CHKP) calls, and symbolic checkpoint and Extended Restart (XSRT) calls.
The basic CHKP call is available from message-driven transactions as well as BMPs and batch programs. Basic CHKP commits the changes your program has made to the database and establishes places in your program from which you can restart your program in the event that it terminates abnormally.
Symbolic CHKP and XSRT calls are only available to BMPs and batch programs.
The symbolic CHKP call commits the changes your program has made to the database and establishes places in your program from which you can restart your program in the event that it terminates abnormally. In addition, the CHKP call:
The checkpoint ID and save areas are stored in files named IMSLOGR.DAT and IMSLOGR.IDX.
If an XRST call indicates that a restart should take place, the save areas are restored into the program's Working-Storage section. The restart checkpoint ID can be specified in the XRST call itself or as part of the Batch Program Command used to start the batch program. All XSRT calls, successful or not, are logged in the IMS System Log.
If an XSRT call indicates that a restart should take place, the save areas are restored into the program's Working-Storage. The restart checkpoint ID can be specified in the XRST call itself or as part of the Batch Program Command used to start the batch program. All restart calls, successful or not, are logged in the IMS System Log.
When restarting a BMP using a symbolic checkpoint, the log file is searched to find a match not only on the provided checkpoint ID but also on the name of the application program being restarted. This is consistent with mainframe behavior; however, when restarting a program with a checkpoint ID of LAST, the mainframe enforces on JOB name, PSB name, and program name, Enterprise Server IMS only enforces a match on program name.[21]