DISCARD DOCTEMPLATE

Remove a document template.

DISCARD DOCTEMPLATE

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

Conditions: NOTAUTH, NOTFND

This command is threadsafe.

Description

The DISCARD DOCTEMPLATE command removes a document template definition from the local CICS system, so that the system no longer has access to the resource (that is, it revokes the earlier installation of an DOCTEMPLATE definition of the same name).

See Discarding resource definitions for general information about discards.

Options

DOCTEMPLATE(data-value)
specifies the 8-character name of the DOCTEMPLATE definition that you want to remove.

Conditions

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 this DOCTEMPLATE resource definition in the way required by this command.
NOTFND
RESP2 values:
1
The specified DOCTEMPLATE resource definition is not installed on this system.