MSG07 and LUSESSIONPEND
MSG07 and LUSESSIONPEND are Telnet parameter statements that define what Telnet should do in case of a session setup error and after normal logoff when the client is emulating a terminal. These parameters do not affect a printer connection.
- Connection negotiation error - If any problems occur during negotiation nothing can be done to keep the connection. If appropriate, Telnet will send the client an error code to help inform the client why the connection was dropped and issue a CONN DROP DEBUG message at the console.
- Session setup error - If a problem occurs during session setup such as an application name that is not valid, session request failure, or a BIND error, Telnet will drop the connection and issue a CONN DROP DEBUG message. The user cannot get to any application other than the default. No error messages are sent to the user and auto-reconnect loops are possible. For these reasons it is recommended that MSG07 always be used. If the MSG07 parameter is coded, the connection will not be dropped and an error message will be sent to the user. MSG07 function applies to any connection mode whether or not USS tables are mapped to the client. If a USS table is used, the user can press the CLEAR key to return to the USSMSG10 screen. If the LUMAP-DEFAPPL or PRTMAP-DEFAPPL statement is coded and the default application is not available, an error screen will be sent to the client whether or not MSG07 is coded.
- Normal Session Logoff - When the user logs off a session using a normal logoff, Telnet drops the connection. If the user typically logs on to another application after logging off the first application, it might be more efficient to present the user with another solicitor (or USSMSG10) screen or for Telnet to initiate a new session with the default application after logoff. This can be accomplished by coding the LUSESSIONPEND parameter. Code LUSESSIONPEND to go through the initial database lookup again after session logoff. Later results will be identical to the first lookup. If a default application for the client exists, Telnet will immediately initiate another session request; otherwise, a USSMSG10 screen or solicitor screen is sent to the user. When LUSESSIONPEND is coded, the connection remains active but terminal LU ACBs are closed.
- SYSREQ LOGOFF - When the user logs off of a session using a SYSREQ LOGOFF sequence (TN3270E connection supported) and LUSESSIONPEND is coded, Telnet does not drop the connection. Instead, the user is presented with a solicitor (or USSMSG10) screen. If DEFAULTAPPL is in effect, Telnet again requests a session with the default application.
- USS LOGOFF - When the user issues a LOGOFF command from the USSMSG10 screen, the connection is dropped whether or not the LUSESSIONPEND parameter is coded.