DISCARD PROCESSTYPE

Remove a PROCESSTYPE definition.

DISCARD PROCESSTYPE

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

Conditions: INVREQ, NOTAUTH, PROCESSERR

Description

The DISCARD PROCESSTYPE command removes a CICS® business transaction services (BTS) PROCESSTYPE definition from the local CICS region.
Note:
  1. Only disabled process-types can be discarded.
  2. If you are using BTS in a single CICS region, you can use the DISCARD PROCESSTYPE command to remove process-types. However, if you are using BTS in a sysplex, it is strongly recommended that you use CPSM to remove them. If you don’t use CPSM, problems could arise if Scheduler Services routes to this region work that requires a discarded definition.

See Discarding resource definitions for general information about discards.

Options

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

Conditions

INVREQ
RESP2 values:
2
The process-type named in the PROCESSTYPE option is not disabled.
NOTAUTH
RESP2 values:
100
The user associated with the issuing task is not authorized to use this command.
PROCESSERR
RESP2 values:
1
The process-type named in the PROCESSTYPE option is not defined in the process-type table (PTT).