1.2.5.2.2 Description
CHKP (Symbolic) can be used for recovery purposes. It commits all changes made by the program and, if your application program abends, establishes the point at which the program can be restarted. In addition, the symbolic CHKP call can:
- Work with the extended restart (
XRST) call to restart your program if your program ends. - Enables you to save as many as seven data areas in your program, which are restored when your program is restarted.
In Tuxedo ART for IMS, the simulated CHKP
(Symbolic) is used to:
- Commit the changes already made by using
tpcommit(), which is the same as basicCHKP. - Retrieve the next message which is the same as basic
CHKP. - Accept at most 7 data areas and save it with the check pint ID.
- Record current retrieval position of all related
GSAM DB.Note:
IfART BMPserver was restarted after user used symbolicCHKPto store data area, but before user usesXRSTto restart program, the stored data area by symbolicCHKPwill not be restored byXRST.CHKPrecord will be saved in record log file named “programname.psbname.log”. An environment variableART_IMSLOGDIRis used to specify the directory where the record log files are located. If environment variableART_IMSLOGDIRis not set, its default value is$APPDIR/IMSLOGDIR.For MP mode, if you want to share the record log file among machines, the
ART_IMSLOGDIRshould point to NFS directory which machines in the Tuxedo domain could access. TheCHKPrecord is always appended to the record log file by SymbolicCHKPand the saved record will not be deleted at any time except the user empty the record log file manually. DuplicateCHKPrecords are be appended to theCHKPrecord file.The status code of all related
GSAM/DB PCBis blank after theCHKP(symbolic) call.
Parent topic: CHKP (Symbolic)