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 BMP
server was restarted after user used symbolicCHKP
to store data area, but before user usesXRST
to restart program, the stored data area by symbolicCHKP
will not be restored byXRST
.CHKP
record will be saved in record log file named “programname.psbname.log”. An environment variableART_IMSLOGDIR
is used to specify the directory where the record log files are located. If environment variableART_IMSLOGDIR
is not set, its default value is$APPDIR/IMSLOGDIR
.For MP mode, if you want to share the record log file among machines, the
ART_IMSLOGDIR
should point to NFS directory which machines in the Tuxedo domain could access. TheCHKP
record is always appended to the record log file by SymbolicCHKP
and the saved record will not be deleted at any time except the user empty the record log file manually. DuplicateCHKP
records are be appended to theCHKP
record file.The status code of all related
GSAM/DB PCB
is blank after theCHKP
(symbolic) call.
Parent topic: CHKP (Symbolic)