Specifying checkpoint frequency in IMS programs

A checkpoint indicates a commit point in IMS programs. You should specify checkpoint frequency in your program in a way that allows it to easily be changed, in case the frequency that you initially specify is not appropriate.

Procedure

To specify checkpoint frequency in IMS programs:

  1. Use a counter in your program to keep track of one of the following items:
    • Elapsed time
    • The number of root segments that your program accesses
    • The number of updates that your program performs
  2. Issue a checkpoint call after a certain time interval, number of root segments, or number of updates.