TMF Management Programming Manual (H06.05+)

Commands and Responses
HP NonStop TMF Management Programming Manual540140-002
5-6
ABORT TRANSACTION
Tokens in Command Buffer
ZTMF-TKN-TransID
specifies the transaction identifier of the transaction to be aborted.
ZTMF-MAP-Abort-Transaction
is an extensible structured token that contains fields for aborting a transaction.
Only one occurrence of this token is allowed. This token contains the following
fields:
ZIgnoreDataErrors
specifies whether or not data-related errors are to be ignored while the
specified transactions are being undone. This field is optional. If you do not
assign a value to this field, the default is ZSPI-VAL-False. The following values
are valid:
Normally, when the backout process encounters data errors while undoing a
transaction, it places the transaction in the hung state. When
ZIgnoreDataErrors is ZSPI-VAL-True, however, the backout process undoes as
much of the transaction as possible and, for those files yielding data errors,
ignores the errors as if the undo had been performed completely. If you omit
ZIgnoreDataErrors, the backout process reacts in the normal way,
acknowledging the errors and placing the transaction in the hung state.
ZAvoidHanging
specifies whether files that have data errors be noted and removed from
access while the specified transactions are being undone. The following
values are valid:
ZSPI-VAL-True
The backout process undoes as much of the transaction as possible. For
those files yielding data errors, the backout process writes an audit trail
record that preserves information about what parts of the transaction could
not be undone and marks the file “undo-needed,” so that it is no longer
accessible to applications. (To restore the file to the system, you must
typically use the file recovery process.) The backout process then aborts
the transaction.
ZSPI-VAL-True Data-related errors are ignored
ZSPI-VAL-False Data-related errors are not ignored
Caution. Contact the Global Customer Support Center (GCSC) or your service provider
before using this command with ZIgnoreDataErrors set to ZSPI-VAL-True.
This field can lead to database corruption and loss of data integrity. Include this field only if all
efforts to abort a transaction fail and data availability is more important than data integrity.