DISCARD ENQMODEL

Remove an ENQMODEL resource definition.

DISCARD ENQMODEL

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

Conditions: NOTAUTH, NOTFND

Description

The DISCARD ENQMODEL command removes the definition of an ENQ model from the local CICS system. When discard is issued, the ENQMODEL is put into the WAITING state until there are no enqueues in the local system which match the ENQNAME pattern. It is then removed from the local system, so that the system no longer has access to the ENQMODEL; that is, it revokes the earlier installation of an ENQMODEL resource definition of the same name.

Adding or removing a definition does not affect enqueues already held, only ENQ commands issued after the definition is added or removed are affected.

See Discarding resource definitions for general information about discards.

Options

ENQMODEL(data-value)
specifies the 8-character identifier of the ENQ model that is to be discarded.

Conditions

NOTAUTH
RESP2 values:
100
The user associated with the issuing task is not authorized to use this command.
NOTFND
RESP2 values:
1
The specified ENQMODEL is not installed on this system.