Image description

The image shows the steps that occur for each routing step in which files are to be under commitment control.

The steps are as follows:
  1. STRCMTCTL - establishes a commitment definition.
  2. Call PGMA - calls a program whose files are under commitment control. PGMA performs these steps:
    1. Opens files under commitment control.
    2. Process an LUW (transaction).
    3. Commits or rolls back the LUW (transaction).
    4. Closes the files under commitment control.
    5. Processes additional LUWs (transactions) or returns.
  3. ENDCMTCTL - notifies the system to end the commitment definition.