When a transaction is associated with an affinity, the
affinity relation determines how the dynamic routing program selects
a target region for an instance of the transaction.
An affinity relation can be classified as one of the following:
- Global
- A group of transactions, in which all instances of all transactions
in the group that are initiated from any terminal, or are BTS or Link3270
transactions, must execute in the same target region for the lifetime
of the affinity. The affinity lifetime for global relations can be "system" or "permanent".
- BAPPL
- All instances of all transactions in the group are associated
with the same CICS® Business
Transaction Services (BTS) process. Many different user IDs and terminals
associated with the transactions might be included in this affinity
group.
- LINK3270
- All instances of all transactions in the group are associated
with the same Link3270 bridge facility.
- LUname
- A group of transactions, in which all instances of all transactions
in the group that are initiated from the same terminal must execute
in the same target region for the lifetime of the affinity. The affinity
lifetime for LUname relations can be "pseudoconversation", "logon", "system",
or "permanent".
- User ID
- A group of transactions, in which all instances of the transactions
that are initiated from a terminal and executed on behalf of the same
user ID, must execute in the same target region for the lifetime of
the affinity. The affinity lifetime for user ID relations can be "pseudoconversation", "sign-on", "system",
or "permanent".