The routine must leave the register status as follows:
- Registers 0–14:
- Restored to entry contents.
- Register 15:
- Return Code:
- X'0'
- Processing successfully completed, proceed with session setup;
the gateway path list returned by the exit routine is used. Modification
of the gateway path list by the exit routine is optional.
- X'4'
- Proceed with session setup; the original gateway path list (determined
by the GWPATH definition statements) is used. The SSCP-SSCP GWPATH
is first in the list.
- X'8'
- Proceed with session setup:
- If OLU GWPATH selection is being performed, use the original list.
- If DLU GWPATH selection is being performed, defer selection to
the adjacent gateway SSCP in the DLU direction. The adjacent SSCP
must be capable of performing GWPATH selection for this LU-LU session.
- X'01'–X'7F'
- For other return code values, exit processing did not work. The
session management exit remains active.
In addition to these specific return codes, there
are other codes that control the exit's disablement. See Final register contents for more information about those
codes.
Note: If the exit returns a return code that is not valid
(that is, a return code not defined here), the original gateway path
list determined by the GWPATH statements is used for gateway path
selection. The original gateway path list is also used if the returned
list is empty or larger than the list passed to the routine. VTAM® issues message IST793E.