# Operations Cookbook

This section describes the operations that you might perform and the related procedures.

As a refresher, the related terms are listed as follows:

- AOR: Application-Owning CICS Region.
- SOR: the CICS region to which Substation ES connects.
- SXEX: the standard mirror transaction ID under which Substation ES executes programs.

## Run a CICS transaction ID with other than SXEX.

Use the method MOI 2 (DPL) and program yyyyyyyy with transaction ID xxxx.

1. In the recipe, set Mirror Tran to xxxx, Program to yyyyyyyy, MOI to 2, and User Tran to Y.
2. Define ProgramName yyyyyyyy in the SOR region.

Program yyyyyyyy then runs in the SOR with transaction ID xxxx.

## Run a CICS program with SXEX on a different CICS region from the one to which Substation ES connects.

Use the method MOI 2 (DPL) and program yyyyyyyy with transaction ID `SXEX`.

1. In the recipe, set Trans to blank, Program to yyyyyyyy, MOI to `2`, and User Tran to `N`.
2. Define ProgramName yyyyyyyy in the AOR.
3. Define the transaction `SXEX` in the AOR with the program `DFHMIR`.
4. Define ProgramName yyyyyyyy in the SOR with RemoteSystem zzzz and RemoteName yyyyyyyy.

   `TRANSID` is ignored in this situation.

Program yyyyyyyy then runs in the AOR with transaction ID `SXEX`.

## Run a CICS program with a transaction ID other than SXEX on a different CICS region from the one to which Substation ES connects.

Use the method MOI 9 (DPL MRO) and Program yyyyyyyy with transaction ID xxxx.

1. In the recipe, set Trans to xxxx, Program to yyyyyyyy, MOI to 9, and User Tran to Y.
2. Define ProgramName yyyyyyyy in the AOR.
3. Define ProgramName yyyyyyyy in the SOR with RemoteSystem zzzz and RemoteName yyyyyyyy.

   `TRANSID` is ignored in this situation.

Program yyyyyyyy then runs in the AOR with transaction ID xxxx.

## Run a CICS program with Containers and a transaction ID other than SXEX on a different CICS region from the one to which Substation ES connects.

Use the method MOI 10 (DPL Container) and program yyyyyyyy with transaction ID xxxx.

1. In the recipe, set Trans to xxxx, Program to yyyyyyyy, MOI to 10, and User Tran to Y.
2. Define ProgramName yyyyyyyy in the AOR.
3. Define ProgramName yyyyyyyy in the SOR with RemoteSystem zzzz and RemoteName yyyyyyyy.

   `TRANSID` is ignored in this situation.

Program yyyyyyyy then runs in the AOR with transaction ID xxxx.

## Run a CICS program with Containers and transaction ID SXEX on a different CICS region from the one to which Substation ES connects.

Use the method MOI 10 (DPL Container) and program yyyyyyyy with transaction ID `SXEX`.

1. In the recipe, set Mirror Tran to blank, Program to yyyyyyyy, MOI to 10, and User Tran to N.
2. Define ProgramName yyyyyyyy in the AOR.
3. Define ProgramName yyyyyyyy in the SOR with RemoteSystem zzzz and RemoteName yyyyyyyy.

   `TRANSID` is ignored in this situation.

Program yyyyyyyy then runs in the AOR with transaction ID `SXEX`.

## Run a CICS program with a Storage Pointer and a transaction ID other than SXEX on a different CICS region from the one to which Substation ES connects.

Substation ES does not support this configuration because a storage pointer is passed. Consider wrapping the business application program with a new application program that receives and sends data with Containers.

## Run a CICS program with a Storage Pointer and transaction ID SXEX on a different CICS region from the one to which Substation ES connects.

Substation ES does not support this configuration because a storage pointer is passed. Consider wrapping the business application program with a new application program that receives and sends data with Containers.

## Run a CICS program with TSQ and a transaction ID other than SXEX on a different CICS region from the one to which Substation ES connects.

Use the method MOI 12 (DPL TSQ) and program yyyyyyyy with transaction ID xxxx.

1. In the recipe, set Trans to xxxx, Program to yyyyyyyy, MOI to 12, and User Tran to Y.
2. Define ProgramName yyyyyyyy in the AOR.
3. Define ProgramName yyyyyyyy in the SOR with RemoteSystem zzzz and RemoteName yyyyyyyy.

   `TRANSID` is ignored in this situation.

4. In the AOR, define `TSQMODEL` for `SXCW+`, sending the request to the SOR.

Program yyyyyyyy then runs in the AOR with transaction ID xxxx.

## Run a CICS program with TSQ and transaction ID SXEX on a different CICS region from the one to which Substation ES connects.

Use the method MOI 12 (DPL TSQ) and program yyyyyyyy with transaction ID xxxx.

1. In the recipe, set Trans to blank, Program to yyyyyyyy, MOI to 12, and User Tran to N.
2. Define ProgramName yyyyyyyy in the AOR.
3. Define ProgramName yyyyyyyy in the SOR with Remote System zzzz and RemoteName yyyyyyyy.

   `TRANSID` is ignored in this situation.

4. In the AOR, define `TSQMODEL` for `SXCW+`, sending the request to the SOR.

Program yyyyyyyy then runs in the AOR with transaction ID `SXEX`.

Copyright © TIBCO Software Inc. All rights reserved.