Previous Topic: CICSCMD SET FILE—Set File Status

Next Topic: CICSCMD SET TASK—Terminate Task

CICSCMD SET IRC—Set IRC Status

The CICSCMD SET IRC command controls the status of IRC. The RCIW06 or RCIW20 message indicates the success or failure of the operation. The function is similar to that provided by the CICS CEMT SET IRC transaction.

This command has the following format:

CICSCMD cics_region_name SET IRC {OPEN | CLOSED | IMMCLOSE}
cics_region_name

Defines the CICS region for which you want to affect the IRC status.

OPEN | CLOSED | IMMCLOSE

Specifies whether to initialize or terminate IRC.

OPEN

Initializes IRC for connections to be established.

CLOSED

Terminates IRC after all the tasks that use IRC sessions have ended.

IMMCLOSE

Terminates IRC after all the tasks that use IRC sessions have ended or abended. The IMMCLOSE request causes an existing task to abend when it tries to use an IRC session.

Example:

CICSCMD CICSA SET IRC CLOSED
CICSCMD CICSA SET IRC OPEN