DISCARD DB2TRAN

Remove a DB2TRAN definition.

DISCARD DB2TRAN

Read syntax diagramSkip visual syntax diagramDISCARD DB2TRAN( data-value)

Conditions: NOTFND, NOTAUTH

This command is threadsafe.

Description

The DISCARD DB2TRAN command removes the definition of a DB2TRAN from the local CICS system, so that the transaction id specified in the DB2TRAN no longer uses the named DB2ENTRY; that is, it revokes the earlier installation of a DB2TRAN resource definition of the same name.

A DB2TRAN can be discarded at any time.

Options

DB2TRAN(data-value)
specifies the 8-character name of the DB2TRAN that is to be removed.

Conditions

NOTFND
RESP2 values:
1
The DB2TRAN cannot be found.
NOTAUTH
RESP2 values:
100
The user associated with the issuing task is not authorized to use this command.
101
The user associated with the issuing task is not authorized to access the DB2ENTRY referenced by this DB2TRAN in the way required by this command.