DISCARD WEBSERVICE

Remove a WEBSERVICE definition.

Read syntax diagramSkip visual syntax diagram
DISCARD WEBSERVICE

>>-DISCARD 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.

You 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.

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.
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 WEBSERVICE cannot be found.


dfha8_discardwebservice.html | Timestamp icon Last updated: Monday, 5 June 2017