SET ATOMSERVICE

Enables or disables an ATOMSERVICE definition.

SET ATOMSERVICE

Read syntax diagramSkip visual syntax diagramSET ATOMSERVICE( data-value)ENABLESTATUS(cvda)DISABLEDENABLED

Conditions: INVREQ, NOTAUTH, NOTFND

This command is threadsafe.

Options

ENABLESTATUS(cvda)
Sets the ATOMSERVICE definition to enabled or disabled status. CVDA values are:
DISABLED
The ATOMSERVICE definition cannot be accessed by applications. An ATOMSERVICE definition has to be disabled before it can be reinstalled or discarded. If you disable an ATOMSERVICE resource definition, CICS® returns an HTTP response to the Web client with a 503 (Service Unavailable) status code.
ENABLED
The ATOMSERVICE definition can be accessed by applications.

Conditions

INVREQ
RESP2 values:
9
Invalid ENABLESTATUS value.
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.