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:
- STRCMTCTL - establishes a commitment definition.
- Call PGMA - calls a program whose files are under commitment control. PGMA performs these steps:
- Opens files under commitment control.
- Process an LUW (transaction).
- Commits or rolls back the LUW (transaction).
- Closes the files under commitment control.
- Processes additional LUWs (transactions) or returns.
- ENDCMTCTL - notifies the system to end the commitment definition.