Where allowed to run: All environments (*ALL) Threadsafe: Yes |
Parameters Examples Error messages |
The End Commitment Control (ENDCMTCTL) command ends the commitment definition associated with the activation group for the program that issued the command. Changes to commitment resources associated with the commitment definition are no longer made after this command is processed.
This command either ends the activation group level or the job level commitment definition associated with the activation group for the program that issued the command. A commitment definition is first established by the Start Commitment Control (STRCMTCTL) command.
If there are uncommitted changes for an interactive job, a message is sent asking the user whether the changes should be committed or rolled back before a commitment definition is ended. For a batch job, the changes are rolled back.
More information on commitment control is in the "Commitment control" article is in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
There are no parameters for this command.
Top |
ENDCMTCTL
This command specifies that the commitment definition established with the STRCMTCTL command is to end. The system determines if any changes have been made to the commitment resources after the last commitment boundary (at the last completed Commit (COMMIT) command or Rollback (ROLLBACK) command). If changes have been made for an interactive job, a message is sent asking the user whether the changes should be made permanent (committed) or removed (rolled back). For batch jobs, any changes are rolled back.
Top |
*ESCAPE Messages
Top |