Dynamic routing of a peer-to-peer DPL request
This example describes how to use the Web User Interface (WUI) to set up dynamic routing for a peer-to-peer DPL request, and to use the GOAL algorithm to select the target region.
In this example, transaction PAY1 runs program PAYPROG1, which issues an EXEC CICS LINK command to program PAYPROG2. You require transaction PAY1 to have a response time of 4 seconds.
This example uses the environment that was used for Dynamic routing with EXEC CICS START TERMID. However, because this is a peer-to-peer dynamic linking request, only the AORs are involved and each AOR may act as a requesting, routing, or target region.
- A Service Class of Medium with an average response time of 4 seconds.
- A classification rule associating Classification Subsystem CICS with transaction ID PAY1 and Service Class Medium.
For more information about Service Classes, see the information about the goal algorithm in Management of the work in a workload.
- The first step is to set the dynamic routing status value for
program PAYPROG1. To do this:
- From the main menu, click . This opens the Program definitions tabular view.
If the current context is not PLXPROD1, specify PLXPROD1 in the Context field and click Refresh.
- Click the Record check box beside the entry for PAYPROG1 and click the Update... button.
- Set the Dynamic routing status field to NO from the drop-down box.
- Click Yes to confirm.
- From the main menu, click . This opens the Program definitions tabular view.
- Install program definitions:
- From the Program definitions tabular view, click the Record check box beside the entry for PAYPROG1 and click the Install... button.
- Type CICSPA01 in the Target scope value field.
- Click Yes to confirm.
Repeat this step to install PAYPROG1 in target scopes CICSPA02 and CICSPA03.
For details of defining and installing program definitions, see Creating resources with BAS: PROGRAM resource definitions.
You don't need to install program definition PAYPROG2 in the regions, but if you do, PAYPROG2 should be defined as dynamic.
- Install the transaction definition:
- From the main menu, click . This opens the Transaction definitions tabular view.
If the current context is not PLXPROD1, specify PLXPROD1 in the Context field and click Refresh.
- From the Transaction definitions tabular view, Click the Record check box beside the entry for PAY2 and click the Install... button.
- Type CICSPA01 in the Target scope value field.
- Click Yes to confirm.
The transaction definition should point to the mirror program DFHMIRS.
Repeat this step to install PAY2 in target scopes CICSPA02 and CICSPA03.
- From the main menu, click . This opens the Transaction definitions tabular view.