z/OS Communications Server: SNA Programming
|
Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Queuing a request for a session with an SLU z/OS Communications Server: SNA Programming SC27-3674-00 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
When a session is requested with a particular SLU, that LU might not be available to act as the SLU in the requested session. This might be because the LU is either at its session limit, or is not currently enabled to act as an SLU. Table 1 shows how an SLU application program can change from the disabled state to the enabled state by using SETLOGON OPTCD=START. Some terminals also have the ability to switch back and forth between enabled and disabled states. For example, for certain IBM® 3274 control units, if a printer or display is powered off, the control unit notifies the SSCP that the terminal is disabled for sessions. If the terminal is then powered on, the control unit notifies the SSCP that the terminal is enabled for sessions. Thus, the SSCP is able to keep track of the session capability of these LUs. If an application program requests a session with such an LU by using SIMLOGON OPTCD=Q and the LU is available, the session is established at that time. However, if the LU is currently disabled for sessions as an SLU, or if the LU is at its session limit, then SIMLOGON is posted complete, but the session is not established until sometime after the LU becomes available (for example, by powering on). The LU can change from an enabled to a disabled state (for example, by powering off) just before the BIND reaches the LU. In this case, VTAM® rejects the BIND request. The SNA sense code in the response can be used to determine the appropriate recovery procedure. This sense code is made available in the SSENSEI and SSENSMI fields of the RPL that issued OPNDST OPTCD=ACCEPT. Sense code X'08450000' indicates that the LU notifies the SSCP when it is again enabled. For this sense code, SIMLOGON OPTCD=Q can be reissued immediately and the SSCP queues the request for the session until the LU becomes available. Sense code X'080A0000' indicates that the LU does not notify the SSCP when it becomes available for a session. This code is used if either the LU or its SSCP does not support the required notification facility. In this case, the application program should not immediately reissue SIMLOGON OPTCD=Q because another BIND rejection results. Manual intervention is required. For example, when the terminal operator powers on the terminal, the operator can notify the host operator, who in turn can send a message to the program to issue SIMLOGON at that time.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright IBM Corporation 1990, 2014 |