Routing particular transactions from a given user to a specific target region

Start of change

This example task again describes how to use the Web User Interface in a refinement of the previous example (Routing a specific transaction to a specific target region). This time, the user ID value is to be an additional factor in determining where transactions are to be routed: transactions PAY6, PAY7, PAY8, and PAY9, when started from user ID USRPAY03, must be routed to target region CICSPA03 in CICSplex PLXPROD1.

  1. Create a transaction group.
    1. From the main menu, click Administration views-->Workload manager administration views-->Transaction groups. This opens the Transaction group definition view.

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

    2. Click the Create button and provide the following information:
      Transaction group name
      TRGPAY02
      Description
      Send USRPAY03's transactions to CICSPA03
      Affinity relation and lifetime checking status
      ACTIVE
      Primary search criterion
      USERID
      You can leave the remaining fields or accept the defaults.
    3. Click Yes to confirm. The Transaction group definition tabular view is redisplayed.
  2. Identify the transactions that belong to group TRGPAY02.

    1. In the Transaction group definition view select the entry for TRGPAY02, and click Add transaction.
    2. In the Transaction name field, type in the name of the first transaction PAY6, and click Yes to confirm.

      Repeat this step for three more transactions: PAY7, PAY8, and PAY9.

  3. Create a workload definition.
    1. From the main menu, click , Administration views-->Workload manager administration views-->Workload definitions. This opens the Workload management definition view, listing any workload definitions already created in PLXPROD1.
    2. Click the Create button and provide the following information:
      Workload management definition name
      WLDPAY02
      Description
      Separate TRGPAY02 to CICSPA03
      Transaction group name
      TRGPAY02
      User ID
      USRPAY03
      Scope name of set of target systems
      CICSPA03
    3. Click Yes to confirm.
  4. Add the workload definition to the existing workload group.
    1. From the main menu, click , Administration views-->Workload manager administration views-->Workload definitions to open the Workload management definition view.
    2. Select the entry for WLDPAY0 and click Add to WLM group
    3. In the Resource group name field, type WLGPAY01 (the name of the workload group you created in the previous example). Workload group WLGPAY01 is already associated with the active workload specification WLSPAY01.
    4. Click Yes to confirm.
  5. Install the new workload definition into the active workload.

    Because group WLGPAY01 is already associated with the active workload WLSPAY01, changes you make to that group will not take effect until the routing region CICSPT01,and the target regions in CICS system group CSGTGTS1, are next started. To make the new workload definition take effect immediately, you must install it explicitly in WLSPAY01:

    1. Open the Workload management definition view again, select the entry for WLDPAY02, and click Install.
    2. In the Workload name field, type in WLSPAY01 and in the Workload owner field, type in the SYSID of the system on which the workload specification WLSPAY01 was created.

Because you have explicitly installed the workload definition WLDPAY02 in the active workload WLSPAY01, the workload separation requirements you have defined in this example take immediate effect.

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
Balancing a workload
Adding a region to an existing target region scope
Removing a region from a target region scope
Adding a routing region to an active workload
Quiescing a target region in an active workload
Routing a specific transaction to a specific target region
Honoring a pseudoconversational transaction
Deactivating a workload definition
Updating an active workload definition
Discarding an active transaction from a workload
Updating a workload specification
Using real-time analysis to select a target region for workload balancing
Related reference
WLMDEF (Workload definitions)
TRANGRP (Transaction groups)
End of change [[ Contents Previous Page | Next Page Index ]]