The COMMIT_ONE_PHASE call
Performs a sync point on the unit of work of the current task, without referencing an external coordinator. You cannot use the COMMIT_ONE_PHASE call if you have used the SET_COORDINATOR call to add information about a coordinator to the unit of work of the current task.
COMMIT_ONE_PHASE
DFHOTTRX [CALL,]
[CLEAR,]
[IN,
FUNCTION(COMMIT_ONE_PHASE),]]
[OUT,
STATUS (name1 | *),
RESPONSE (name1 | *),
REASON (name1 | *)]This command is threadsafe.
- STATUS (name1 | *)
- The outcome of the CICS® unit of work.
RESPONSE and REASON values for COMMIT_ONE_PHASE
| RESPONSE | REASON |
|---|---|
| OK | None |
| EXCEPTION | None |
| DISASTER | None |
| INVALID | None |
| KERNERROR | None |
| PURGED | None |