1.2.5.7.2 Description

XRST is used to restart your program. If you use the symbolic Checkpoint call in your program, you must use the XRST call.

In Tuxedo ART for IMS, the simulated XRST is used to recover the data that was saved in the related CHKP (symbolic) call. The GSAM is repositioned to the recorded position where the CHKP (symbolic) call occurs so that all subsequent “GN” calls continue with the recovered position. The status codes of all related GSAM/DB PCB are blank after the successful XRST call (with an existing CHKPID).

For specificCHKP ID: XRST searches the CHKP record use the following search key in record log file from the beginning to the end:
Job name + program name + psb name + CHKP ID.
If the first CHKP record matches the search key, XRST restores the data in this record and returns success. If no CHKP record matches the search key, XRST abends.
For CHKP ID ‘LAST’: XRST searches the CHKP record using the following search key in record log file from the end to the beginning:
Job name + program name + psb name
If the first CHKP record match the search key, XRST restores the data in this record and return success. If no CHKP record matches the search key, XRST abends.