Action if ENDJOB

Indicates what this system does if the logical unit of work is in an undecided state and the job is ending abnormally. The value is set to WAIT when commitment control is started and can be changed using the Change Commitment Options (QTNCHGCO) API.

Possible values are:

Wait - The system waits to allow the normal processing of the logical unit of work to complete.
Rollback - The changes to local resources whose status is in doubt for this logical unit of work will be rolled back.
Commit - The changes to local resources whose status is in doubt for this logical unit of work will be committed.

The default is Wait.

Note: Setting this option to Rollback or Commit may lead to inconsistencies in the database if a job is ended during a commit operation while the status of resources is in doubt.