DISCARD ATOMSERVICE

Remove an ATOMSERVICE resource definition from the system.

DISCARD ATOMSERVICE

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

Conditions: INVREQ, NOTAUTH, NOTFND

This command is threadsafe.

Description

The DISCARD ATOMSERVICE command removes a disabled ATOMSERVICE definition from the system. See Discarding resource definitions for general information about discards.

Options

ATOMSERVICE(data-value)
Specifies the 8-character name of the ATOMSERVICE definition that is to be removed.

Conditions

INVREQ
RESP2 values are:
4
The ATOMSERVICE is not disabled.
200
The command ran 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.
NOTAUTH
RESP2 values:
100
The user associated with the issuing task is not authorized to use this command.
101
The user associated with the issuing task is not authorized to access this particular resource in the way required by this command.
NOTFND
RESP2 values:
3
The ATOMSERVICE cannot be found.