DISCARD TCPIPSERVICE
Remove a TCPIPSERVICE definition.
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.
You 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.
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.
- 300
- The resource cannot be discarded because it was installed by a BUNDLE resource.
- 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.