DISCARD WEBSERVICE

Remove a WEBSERVICE definition.

DISCARD WEBSERVICE

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

Conditions: INVREQ, NOTAUTH, NOTFND

This command is threadsafe.

Description

Use the DISCARD WEBSERVICE command to remove a WEBSERVICE resource from your CICS region.

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

See Discarding resource definitions for general information about discards.

Options

WEBSERVICE(data-value)
specifies the 8-character name of the WEBSERVICE resource whose definition is to be discarded.

Conditions

INVREQ
RESP2 values:
6
Delete is in progress for this WEBSERVICE.
200
The command was executed in a program defined with an EXECUTIONSET value of DPLSUBSET or a program invoked from a remote system by a distributed program link without the SYNCONRETURN option.
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 WEBSERVICE cannot be found.