DISCARD DB2CONN

Remove a DB2CONN definition.

Read syntax diagramSkip visual syntax diagram
DISCARD DB2CONN

>>-DISCARD 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.


dfha8_discarddb2conn.html | Timestamp icon Last updated: Monday, 5 June 2017