SET UOW

Commit, back out, or force a shunted unit of work.

SET UOW

Read syntax diagramSkip visual syntax diagramSET UOW(data-value )UOWSTATE(cvda)COMMITBACKOUTFORCE

Conditions: INVREQ, NOTAUTH, UOWNOTFOUND

Description

The SET UOW command enables you to commit, back out, or force a unit of work that has been shunted during the indoubt period of the transaction.

Options

UOW(data-value)
Specifies the 16-byte identifier of the UOW to be committed, backed out, or forced.
UOWSTATE(cvda)
Specifies the action to be attempted for this UOW. CVDA values are as follows:
BACKOUT
Attempt to force syncpoint backout processing, as specified for this UOW.
COMMIT
Attempt to force syncpoint commit processing, as specified for this UOW.
FORCE
Attempt to force the UOW to back out or commit, as specified on the ACTION option of the TRANSACTION resource definition.
Note: All these values are valid only for UOWs that are shunted indoubt. For information about the INDOUBT attributes of TRANSACTION definitions, see TRANSACTION definition attributes.

Conditions

INVREQ
RESP2 values:
3
UOWSTATE has an invalid CVDA value.
4
CICS is not in a valid state to COMMIT, BACKOUT, or FORCE this UOW.
NOTAUTH
RESP2 values:
100
The use of this command is not authorized.
UOWNOTFOUND
RESP2 values:
1
The UOW cannot be found.