Program code to execute at restart
When the application program issues the restart call, AR/CTL repositions the data sets that are using AR/CTL data services. However, if a COBOL program accesses a KSDS through an alternate index (AIX), the program must reestablish its position to the appropriate key in the AIX by using the key information in a data area saved during checkpoint processing.
If the application program is using DB2, the application program must reposition the DB2 tables by using the key information in a data area saved during checkpoint processing. If the application program already contains restart logic for IMS restart, no change is necessary.
The application program must issue an OPEN request after the restart ( ARCXRST
or XRST
) call for any file that AR/CTL accesses through dynamic call interception (sequential file interception, local VSAM access, and remote VSAM access services).
Comments
Log in or register to comment.