The affinity lifetime determines when the affinity is ended.
An affinity lifetime can be classified as one of:
- System
- The affinity lasts for as long as the target region exists and
ends whenever the target region terminates, at a normal, immediate,
or abnormal termination. The resource shared by transactions that
take part in the affinity is not recoverable across CICS® restarts.
- Permanent
- The affinity extends across all CICS restarts.
The resource shared by transactions that take part in the affinity
is recoverable across CICS restarts.
This affinity is the most restrictive of all the inter-transaction
affinities.
- Process
- The affinity exists until the BTS process completes.
- Activity
- The affinity exists until the BTS activity completes.
- Facility
- The affinity exists until the Link3270 bridge is deleted.
- Pseudoconversation
- The LUname or user ID affinity lasts for the whole pseudoconversation
and ends when the pseudoconversation ends at the terminal.
- Logon
- The LUname affinity lasts for as long as the terminal remains
logged on to CICS and ends
when the terminal logs off.
- Signon
- The user ID affinity lasts for as long as the user is signed on,
and ends when the user signs off.
Note: - For user ID affinities, the "pseudoconversation" and "sign-on" lifetimes
are possible only in those situations in which one user per user ID
is permitted. Such lifetimes are meaningless if multiple users are
permitted to be signed on with the same user ID at the same time even
at different terminals.
- If an affinity is both "userid" and "LUname" that is,
all instances of all transactions in the group were initiated from
the same terminal and by the same user ID, "LUname" takes precedence.