Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Virtual route selection function (function code X'0B') z/OS Communications Server: SNA Customization SC27-3666-00 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This function enables you to use a session management exit routine to modify the virtual routes (VRs) and the associated transmission priorities (TPs) that are to be used in session establishment. A valid change can be made at the interchange node, gateway SSCP, or the PLU's SSCP. Possible valid changes are reordering the VR/TP list, adding VR/TP pairs to the list, or deleting VR/TP pairs from the list. When adding pairs to the list, you cannot exceed the SNA-defined maximum number of 24. When the exit returns the modified VR/TP list, VTAM® verifies the list. However, VTAM does not remove duplicate entries from the list. VTAM verifies that all VR and TP numbers in the list fall within the valid ranges of SNA values for VRs (0 – 7) and TPs (0 – 2). If VTAM encounters a value that is not valid, or if the list exceeds the allowable maximum, VTAM restores the list to its original state and uses the original list to determine routing. If the values in the modified list are valid and there are no errors in the list, VTAM uses the modified list to determine routing. If an entry for a VR/TP pair is valid but not active, VTAM selects the next pair in the list to use when attempting session establishment. The session management exit is called for virtual route selection (function code X'0B') in two cases: in the gateway SSCP and in the PLU's SSCP. Gateway SSCP processing of the exit occurs when a gateway SSCP is preparing to send the VR list for the session to a gateway NCP. This call to the VR selection function allows you to change VRs and TPs from the gateway NCP to the next node on the route to the SLU. When control of a gateway NCP is shared between two gateway SSCPs, only the gateway SSCP on the destination LU side of the gateway calls the function. (Shared gateway NCPs have GWCTL=SHR coded on the PCCU definition statement for both gateway SSCPs.) PLU host processing of the exit occurs when the PLU's SSCP is preparing to send the VR list to the PLU. This is done when the PLU is an application residing in this SSCP, a CDRSC representing an independent LU, or a CDRSC representing an APPN LU. If the PLU is either an APPN LU or an independent LU, VR selection is done only when the path between the PLU boundary function and the SLU is on a virtual route. (To differentiate between a CDRSC representing a cross-domain resource and an APPN LU or an independent LU, look at the hierarchy control vector. An APPN or an independent LU has an entry for the PU representing the adjacent link station. Cross-domain resources do not have a PU.) This call to the VR selection function allows you to change VRs and TPs from the subarea of the PLU to the subarea of the next gateway NCP or boundary function on the route to the SLU. The VR selection function might be called multiple times in the same host because the function can modify the routes between a gateway NCP and the SLU host, a gateway NCP and the PLU host, and between two gateway NCPs. The session flow shown in Figure 1 indicates when the VR selection function is invoked and for what reason. You can use the virtual route selection exit, ISTEXCVR, for same-network
sessions. ISTEXCVR has access to session count data which the VR
selection function does not, so you might have a need to use both
exits. If you use both the VR selection function and ISTEXCVR, consider
the following:
Table 1 shows the parameter list pointed
to by register 1.
|
Copyright IBM Corporation 1990, 2014
|