DISCARD TCPIPSERVICE

Remove a TCPIPSERVICE definition.

DISCARD TCPIPSERVICE

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

Conditions: INVREQ, NOTAUTH, NOTFND

Description

The DISCARD TCPIPSERVICE command removes a TCPIPSERVICE definition from the local CICS system.

You cannot discard a TCPIPSERVICE unless it is in CLOSED status, showing that is not in use.

Start of changeYou cannot discard a TCPIPSERVICE resource that is created by a BUNDLE resource. To discard the TCPIPSERVICE resource, you must disable and discard the BUNDLE resource.End of change

See Discarding resource definitions for general information about discards.

Options

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

Conditions

INVREQ
RESP2 values:
9
The TCPIPSERVICE is still open.
16
The TCPIPSERVICE cannot be discarded because it is referred to by an installed CORBASERVER definition.
Start of change300End of change
Start of changeThe resource cannot be discarded because it was installed by a BUNDLE resource.End of change
NOTAUTH
RESP2 values:
100
The user associated with the issuing task is not authorized to use this command.
NOTFND
RESP2 values:
3
The TCPIPSERVICE name was not found.