Procedure division
QUICKSTART provides an application programming interface (API) Checkpoint Routine called “CKPT-RTN” which contains all the DBMS-specific code that QUICKSTART requires. The CKPT-RTN paragraph must be placed into the application program, where it can be “PERFORMed” as any other COBOL paragraph. The paragraph will either contain a CALL statement to a Checkpoint Routine module, or an INCLUDE statement of Checkpoint Routine source code.
An example of CKPT-RTN source code, as delivered with QUICKSTART, is shown in QSTART.SAMPLIB. Local customizations to this source may have occurred for your site’s specific needs. Consult the QSTART.SAMPLIB for example programs and INCLUDE/COPY files containing this routine.
The Checkpoint Routine is PERFORMed in three places in the application: at program initialization, at the end of a LUW, and at program termination. Coding requirements within the Procedure Division, including PERFORMing the Checkpoint Routine, are discussed below.
This section contains the following topics:
Related topic