Command reference / db
COMMIT
Commit
Completes the current transaction for the applicable commitment definition and sets a new commit boundary. Start commitment control with STRCMTCTL first.
Allowed environments: *ALL.
Positional parameters: 1.
Parameters
CMTID
Commit identification
Sets the text used to identify a group of changes committed with the commitment boundary. This text is placed in the object specified on the NFYOBJ parameter of the STRCMTCTL command during IPL processing if an abnormal system failure occurs, or if a job ends with uncommitted changes or with a nonzero completion code.
Suggested / special values:
*NONE, *LUWID
*NONE- No text is used to identify the transaction committed with this commitment boundary.
*LUWID- The logical unit of work identifier and the default journal name for this logical unit of work are used to identify the group of changes being committed with this commitment boundary.
'description'- Enter a maximum of 3000 characters, enclosed in apostrophes, to identify the group of changes being committed with this commitment boundary.
Examples
COMMIT CMTID('Account #123456 changes end')
Specifies that all changes made to this point for the commitment definition associated with the program issuing the command are committed.
Generated from os/cl/catalog/COMMIT.json and os/cl/help/COMMIT.json.