If you code your own USERVAR exit, there is a range of
acceptable return codes. These ranges are discussed in Final register contents If you use the sample USERVAR exit, there
are specific return codes that the exit might return to VTAM® on output. Those return codes are:
- X'00'
- Processing completed successfully
- X'20'
- Failure to obtain storage (local storage, exit control block,
or the exit parameter list)
- X'25'
- USERVAR type is not volatile (The logon manager sets this return
code. The USERVAR exit only returns it to VTAM.)
- X'26'
- Logon manager is not available (The logon manager sets this return
code. The USERVAR exit only returns it to VTAM.)
This return code indicates that the
error occurred during logon manager initialization. You should check
the console for error messages resulting from starting the logon manager.
- X'27'
- CLU was not found (The logon manager sets this return code. The
USERVAR exit returns it only to VTAM.)
This return code can indicate that no CLU was found that meets
the minimum requirements, as shown in Criteria for contending CLUs.
Activate
or reactivate a CLU that meets the minimum requirements. This return
code can also indicate that there is an error in the REQTAIL macro
parameter list, which is described in Table 1. Review your parameter
list to ensure that it is coded correctly.
- X'30'
- Cross-memory initialization failed (The logon manager sets this
return code. The USERVAR exit only returns it to VTAM.)
This return code indicates that VTAM has been denied access to
logon manager address space. See z/OS Communications Server: SNA Network Implementation
Guide for information about errors in your logon
manager definition.
- X'34'
- APLB not found (The logon manager sets this return code. The USERVAR
exit only returns it to VTAM.)
This return code indicates that the application program is not
known to the logon manager or is not currently active. You should
activate or reactivate the application program for the logon manager.
- X'38'
- Subarea address not found (The logon manager sets this return
code. The USERVAR exit only returns it to VTAM.)
- X'3A'
- Unrecognized invoke flag
- X'3B'
- OLU status is not valid
- X'3C'
- Entry code is not valid or the IEFUFELD address is 0.
- X'46'
- Logon manager exit not initialized (The logon manager sets this
return code. The USERVAR exit only returns it to VTAM.)
If the return code is greater than X'00', the session
request will fail. If the return code is greater than X'80', the session
request will fail, the USERVAR is deleted, and the USERVAR exit is
deactivated.