The following are two possible scenarios that can occur when a user issues a logoff command to exit a mainframe application:
Scenario 1
After a user logs off from a host application, the TN3270 server receives the USS MSG10 screen from the host, and then the server returns to the IBM mainframe a negative response that includes the IBM Sense Code X'2004'.
From the user's perspective, the symptoms generally appear as a blank screen on the TN3270E emulator after the successful host application logoff. You expect the USS MSG10 screen to appear so that the user can log on to another host application.
Scenario 2
After a user logs off from a host application, the TN3270E emulator displays the following error message:
TN3270E Service Error 520
Internal LU session state error in
FirstInboundByteProcess.
State error id - 3 (expected CONT,RCV).
Current state - SSCP-LU, SNDNXMT
The following event is also logged in the application event log on the Host Integration Server 2000 server where the TN3270 server is running:
Event ID: 603
Source: TN3270 Server
Description:
TN3270(E) session with client at TCP/IP Address (port port number) using LU LU Name terminated abnormally because:
TN3270E Service Error 520
Internal LU session state error in FirstInboundByteProcess.
State error id - 3 (expected CONT,RCV).
Current state - SSCP-LU, SNDNXMT