Enable or disable
an ATOMSERVICE resource definition.
In the CICS Explorer, the Atom services operations view provides
a functional equivalent to this command.
If the optional attributes are omitted, the command has
no effect.
If you disable an ATOMSERVICE resource definition, CICS® returns an HTTP response to
the Web client with a 503 (Service Unavailable) status code.
Syntax
Press the Clear key to clear the screen.
You can start this transaction in two ways:
- Type CEMT SET ATOMSERVICE (or suitable abbreviations
for the keywords), followed by one or more ATOMSERVICE identifiers,
or ALL. The resulting display lists the current status, similar to
that obtained by using the CEMT INQUIRE ATOMSERVICE command.
You can tab to the highlighted or blank fields and overtype them with
the required values.
- Type CEMT SET ATOMSERVICE (or suitable abbreviations
for the keywords), followed by one or more ATOMSERVICE identifiers
or ALL, then followed by the attribute setting that you want to change.
For example, cemt s ato al e resets the values for
all ATOMSERVICE resource definitions to make them available for use
(enabled).
Typing ? at the beginning of either the
first or second line gives a syntax prompt. Resetting the values takes
effect immediately.
SET ATOMSERVICE
.-ALL-----.
>>-CEMT SET ATOMSERVICE--+---------+--+----------+-------------><
'-(value)-' +-ENABLED--+
'-DISABLED-'
Conditions: NOTAUTH, NOTFND
Options
- ALL
- Any
changes you request are made to all resources of the specified type
that you are authorized to access.
- (value)
- Specifies
the 1- to 8-character name of the ATOMSERVICE resource definition.
- ENABLESTATUS
- Sets
the status of the ATOMSERVICE resource definition:
- ENABLED
- The ATOMSERVICE resource definition is ready for use.
- DISABLED
- The ATOMSERVICE resource definition is disabled. An ATOMSERVICE
resource definition in this state can be discarded.