Balancing CICS BTS activities

Start of changeThis example describes how to use the end user interface (EUI) to balance a CICS BTS-related workload.End of change

This example uses the configuration that has been used for earlier examples. You are working in CICSplex PLXPROD1, which comprises AORs CICSPA01, CICSPA02, and CICSPA03 in CICS® system group CSGTGTS1. These three systems may act as routing and target regions. In addition, it is assumed that the RLS file for the BTS process type is accessible to all CICS system in CICS system group CSGTGTS1, and that all the systems in CICS system group CSGTGTS1 are interconnected.

Note:
You should check the system requirements before trying to dynamically route CICS BTS activities. See Separating CICS BTS activities and CICS release requirements for dynamic routing.
  1. If the current context isn’t PLXPROD1, issue the command CON PLXPROD1 from the current view.
  2. Activate workload balancing for the systems in CSGTGTS1.

    In the CICSSYS view, tab to the line for the CICSPA01 entry and issue the UPD command. Page forward until you see the Update System - Workload Attributes panel. In the Target routing at startup field, enter YES. In the Routing support active field, enter YES. These changes takes effect when the target region CICSPA01 is next started.

    Repeat this step for target regions CICSPA02 and CICSPA03.

  3. Create a workload specification.

    Issue the command WLMSPEC from the current view. From the WLMSPEC view, issue the command CRE. Complete the Create WLM Specification panel as shown here, and press Enter.

     -------------------- Create WLM Specification for PLXPROD1 --------------------
     COMMAND  ===>
     
      WLM Spec Name       ===> WLSCBTS
      Description         ===> Routing CICS BTS activity
     
      Affinity Relation   ===>              Default Affinity Relation
                                     (USERID, LUNAME, GLOBAL, BAPPL)
      Affinity Lifetime   ===>              Default Affinity Lifetime
                                     (SIGNON, LOGON, SYSTEM, PERMANENT, PCONV, DELIM
                                      ACTIVITY, PROCESS)
      Match Key           ===> USERID       Default Primary search criterion
                                     (USERID,LUNAME)
      Create Affinity     ===>              Create Auto Affinity (YES, NO, N/A)
      Target Scope        ===> CSGTGTS1     Default CICS System, Group or Generic
     
      Event Name          ===>              RTADEF, STATDEF, or Generic
     
      Abend Health        ===> 0            Target ABEND Health Factor (0 - 99)
      Abend Load          ===> 0            Target ABEND Load Factor (0 - 99)
     
      Algorithm Type      ===> QUEUE        Algorithm Type (GOAL, QUEUE)
     
     
    Press Enter to create WLM Specification.
    Type END or CANCEL to cancel without creating.

    You must supply :

  4. Associate the workload specification with routing region scope CSGTGTS1.
  5. Specify DSRTPGM=EYU9XLOP.

    You can do this either in the SIT of each region in the CICS system group, or using the CICSRGN view.

  6. Activate workload management.
    1. From the MAS view, type the UPDate command by CICSPA01.
    2. On the general MAS attributes view, type YES in the WLM active field to start managing workloads for this CICS system.
    3. Press Enter.

    Repeat for CICSPA02 and CICSPA03.

  7. Program your BTS activities to run asynchronously.

When the routing and target regions in CSGTGS1 are next started, BTS activities are balanced among the target regions.

Related concepts
Workload management and dynamic routing
Workload requirements
Establishing a workload
Balancing the work in a workload
Separating the work in a workload
Taking affinity relations into consideration
Related tasks
Separating CICS BTS activities
Related reference
CICS release requirements for dynamic routing
CICS Business Transaction Services
[[ Contents Previous Page | Next Page Index ]]