Defining intertransaction affinities
If there is a requirement for multiple transactions in the workload to be processed by the same target region, then do the following:
- Create a transaction group, using the Transaction groups view (TRANGRP object), for each set of transactions within the workload that share an affinity. For example, if transactions MNO1, MNO2, and MNO3 must be processed by the same target region (perhaps because they run in sequence and leave data for the next transaction), define a transaction group to include those three transactions specifying the affinity type and its duration.
- If you want to implement workload separation, create a workload definition for each transaction
group and user or terminal pattern, using the Workload definitions view (WLMDEF object). For
example, if the intertransaction affinity described in item 1 (above)
applies to any user from terminals NYORK*, the workload definition must include that information. In
addition, the workload definition identifies the set of target regions from which CICSPlex® SM can select one. This could be every
target region in the CICSplex, or some subset of target regions.
Note that you can define an intertransaction affinity to CICSPlex SM without also implementing workload separation. In this case, no workload definition is required and CICSPlex SM routes the first transaction in the group to a suitable target region from the set identified in the workload specification. Subsequent transactions in the transaction group are routed to the same target region while the affinity is active.
- If the workload definitions are to be installed automatically when the
first routing region in the workload starts, you should use the Workload
groups view (WLMGROUP object) to:
- Create a workload group.
- Add the workload definitions to the workload group.
- Associate the workload group with the workload specification.
Note: It's important that you define routing regions and target regions in groups, to ensure that
changes to the composition of those groups are automatically reflected in CICSPlex SM workload management.