SET EPADAPTER

Set the status of a specified EP adapter to enabled or disabled.

Syntax

SET EPADAPTER

Read syntax diagramSkip visual syntax diagramSET EPADAPTER( data-value)ENABLESTATUS( cvda)ENABLEDDISABLED

Conditions: INVREQ, NOTAUTH, NOTFND

NOHANDLE, RESP, and RESP2 are common options that can be added to all EXEC CICS commands to process error conditions. They are not explicitly included in the command syntax diagram and option descriptions. For information about these common options and EXEC CICS command syntax, see EXEC CICS command format and programming considerations. For more information about the use of CVDAs, see CICS-value data areas (CVDAs).

This command is threadsafe.

Description

Use the SET EPADAPTER command to change the status of a particular EP adapter. Changing the status of an EPAPAPTER has no affect on the status of any related EVENTBINDINGs.

Options

EPADAPTER (data-value)
Specifies the 32-character name of an EP adapter.
ENABLESTATUS (cvda)
Specifies whether events are to be dispatched to this EP adapter. The CVDA values are as follows:
ENABLED
The event processing dispatcher can dispatch events to this EP adapter. The event processing dispatcher starts dispatching events to this EP adapter immediately.
DISABLED
The event processing dispatcher should stop dispatching events to this EP adapter. The event processing dispatcher stops dispatching events to this EP adapter immediately. Any events already dispatched to the EP adapter are emitted.

Conditions

INVREQ
RESP2 values are:
4
ENABLESTATUS has an invalid CVDA value.
NOTAUTH
RESP2 values are:
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 update the EP adapter.
NOTFND
RESP2 values are:
3
The specified EP adapter cannot be found.