DISCARD DB2CONN

Remove a DB2CONN definition.

DISCARD DB2CONN

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

Conditions: INVREQ, NOTAUTH, NOTFND

This command is threadsafe.

Description

The DISCARD DB2CONN command removes the definition of a DB2CONN from the local CICS system; that is, it revokes the earlier installation of a DB2CONN resource definition.

A DB2CONN can only be discarded when the CICS DB2 interface is not active.

Remember: A discard of a DB2CONN also implicitly discards all DB2ENTRYs and DB2TRANs currently installed.

Options

None

Conditions

INVREQ
RESP2 values:
2
The CICS DB2 interface is active.
NOTAUTH
RESP2 values:
100
The user associated with the issuing task is not authorized to use this command.
NOTFND
RESP2 values:
1
A DB2CONN cannot be found.