Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
CLU comparison (function code X'04') z/OS Communications Server: SNA Customization SC27-3666-00 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The following parameters follow the CLU search exit parameter list header when the logon manager receives a session request and needs to compare contending CLUs to determine which CLU is best to service the session. See Criteria for contending CLUs for more information about the selection algorithm the sample exit uses to choose the best CLU. If there is only one contending CLU, the exit is called with information about only that CLU. If there is more than one contending CLU, the exit compares them a pair at a time. In each iteration, the exit selects the better of the two CLUs to be the current best CLU. In the first iteration, the current best CLU is the first contending CLU the logon manager encounters. In each subsequent iteration, the exit compares the current best CLU from the previous iteration to another contending CLU. The exit continues to compare pairs of CLUs until there are no more contending CLUs. At that point, the exit returns the name of the better CLU from the final iteration to the logon manager as the best CLU. If no best CLU is found after the list of possible CLUs is exhausted, the session request fails. Within the function code X'04' parameters, the description
of the contending CLU is always presented between hex 48 and hex 7F.
The description of the current best CLU is always presented between
hex 80 and hex B8. If the exit determines the contending CLU is the
better of two CLUs, the contender CLU's values are moved to hex 80
and it becomes the current best CLU. If only one CLU is presented
to the CLU search exit, the description of that CLU is presented between
hex 80 and hex B8. If two CLUs are equal in comparison, there is no
move and the CLU search exit chooses the CLU described between hex
80 and hex B8.
Note: If you create any of the user extension control blocks
(logon manager vector table user extension, CLU user extension, or
application program user extension), begin the control block with
a 4-byte reserved field followed by a 2-byte length field.
|
Copyright IBM Corporation 1990, 2014
|