Separating CICS BTS activities

This example describes how to use the Web User Interface (WUI) to separate a CICS® BTS-related workload.

In this example, BTS activity BTSACT1 has an affinity of LIFETIME and runs under transaction ID BTS1 and process type SALES. This example uses the configuration that has been used for the example in Routing CICS BTS activities. Similarly, the system initialization parameter DSRTPGM must be set to EYU9XLOP.

Note: You should check the system requirements before trying to dynamically route CICS BTS activities. See CICS release requirements for dynamic routing.
  1. Create a transaction group:
    • From the main menu, click Administration views > Workload manager administration views > Transaction groups definitions. This opens the Transaction group definitions tabular view.

      If the current context is not PLXPROD1, specify PLXPROD1 in the Context field and click Refresh.

    • Click the Create... and provide the following information:

      You can ignore any fields that have been left blank.

    • Click Yes to redisplay the Transaction group definitions tabular view, now showing the name of the transaction group TRGCBTS1.

      Notice that the Affinity relationship and Affinity lifetime fields must be completed. These values tell CICSPlex® SM that the transactions in this group constitute a BTS affinity, and that this affinity lasts while those transactions are coming from the same BTS application. If one of them is initiated from a different BTS application, CICSPlex SM can select a different target region. Of course, the same type of affinity will then come into play in that second target region.

  2. Identify the transactions in group TRGCBTS1:
    • From the Transaction group definitions view select the entry for TRGCBTS1 and click the Add transaction... to open the Add transaction tabular view.
    • In the Transaction name field, type BTS1 and click Yes to add the transaction to the Transaction group. The Transaction group definition view is redisplayed.
  3. Create a workload definition:
    • From the main menu, click Administration > Workload manager administration > Definitions. This opens the WLM definitions tabular view.
    • Click the Create... button and provide the following information:
    • Click Yes and the WLM definitions tabular view is redisplayed.

    These values tell CICSPlex SM that transactions in group TRGCBTS1, and of process type SALES, must go to a target region in group CSGTGTS1. CICSPlex SM can select the most appropriate target region at the time the transaction is initiated.

  4. Add the workload definition to the workload group:
    • In the WLM definition tabular view, click the Record check box beside the entry for the WLDCBTS1 and click the Add to WLM group... button. The Add to WLM group view is displayed.
    • In the Resource group name field, type WLGCBTS1 and click Yes. The WLM definitions tabular view is redisplayed.
  5. Add the workload group to a workload specification:
    • From the main menu, click Administration views > Workload manager administration views > Groups. This opens the WLM group tabular view.
    • In the WLM group view, click the Record check box beside the entry for the WLDCBTS1 and click the Add to WLM specification... button. The Add to WLM specification view is displayed.
    • In the Specification name field, type WLGCBTS1 and click Yes. The WLM groups tabular view is redisplayed.