- The affinity here is between the transaction that obtains storage
via GETMAIN SHARED and the transaction that frees the same piece of
storage via FREEMAIN. Both transactions must be seen for there to
be affinity. The match is made on storage address.
- However, the situation is complicated by the fact that the storage
address may be passed to other transactions; and if they access the
storage, they cannot be detected, because the storage access does
not take place through the CICS® API.
- The affinity relation may be GLOBAL, BAPPL,LUNAME, or USERID.
- Lifetime can be PCONV, LOGON, SIGNON, ACTIVITY, PROCESS, or SYSTEM.
However, the Detector always worsens LOGON and SIGNON to SYSTEM, because
of limitations in the way that this affinity is detected.
- Commands in error are ignored, as there is no address for matching
GETMAIN with FREEMAIN, no data is collected.
- A GETMAIN/FREEMAIN affinity is considered to be initiated from
a terminal if the GETMAIN is initiated from a terminal. Whether the
FREEMAIN was so initiated or not is irrelevant.
- Any unmatched GETMAIN SHAREDs are also reported if they have
never matched by the time a Detector stop occurs. They are output
in a separate report section. Note that on a start with restore data,
they are not restored and are deleted from the affinity file.
Scanner differences: Scanner finds all instances of GETMAIN
SHARED and all instances of FREEMAIN.