Home Page
   
 
Home
Features
Screen Shots
Requirements
Download
Ordering
Support
Notes
Online Help
About Me
 
Other Items
Session Disconnects Back

General Notes

A TN3270 session connects from the PC to the host mainframe, and it needs to maintain that connection for the life of the terminal session (unlike other protocols such as HTTP which constantly connect and disconnect). With TN3270 protocol, If there is a problem you may see a connection error and you'll need to reconnect and hopefully be able to continue where you left off.

Some Disconnection Types

Host Disconnect

Sometimes Vista will be informed of a session due to the host closing the TN3270 connection. In this case you should see a black screen with the Disconnect status at the bottom, such as:

This could be because of a host shutdown, reset of an OSA card, or other things typically related to the host hardware and software side.

Network Disconnect

Sometimes you may press Enter on a screen that looks fine, and get an X SYSTEM response on the status bar that never goes away, and comes back even after a Reset key is pressed.

This can happen when, say, you disconnect an ethernet cable between you and the host, or lose a wifi connection. The only way to recover is to reconnect.

Network Timeout

Sometimes Vista will NOT be informed of the disconnect, and the last screen will stay visible, and you can even type in the fields on that screen. But, when you press Enter (or another action key such as PF3, etc.) Vista will try to talk to the host and at that time, find out there is no connection. That typically results in this message window:

This can be caused by any network disconnect, typically unrelated to the PC or host and more likely a timeout on a router or switch. Users typically seem to see this message after a terminal session has been left for a number of minutes with no network activity.

This one may be possible to fix by telling Vista to send a NOP (no operation) byte across the network every few minutes, fooling the routers and switches into thinking you're still typing. This is done with the KeepAliveTime setting in the vista.ini file.

The default KeepAliveTime may be set to zero in some versions, or to a default number of seconds. Before changing it, you may want to see what the current value is. To do that,

Click Options/Options and the General tab. Add the &keepalivetime variable to the left side of the Status Line text, such as this example:

That should then show the current KeepAliveTime setting on the status bar, such as this example showing 300 seconds:

In that case, that means a NOP byte is sent every 300 seconds, hopefully waking up the network to prevent a network disconnect. If you see zero but would like the NOP's to be sent to fix a timeout issue, you'll need to add a line to the vista.ini file:

1) Find your vista.ini file, which should be in Documents\TomBrennanSoftware\Vista3270 for your userid on your PC.

2) Edit that file with notepad or whatever, and add the following line to the bottom of the [Vista] section:

KeepAliveTime=300

3) Then save that change and restart Vista. This ini option is only read at Vista window startup.

That should hopefully solve a network disconnect issue, if that's what you've been having and your KeepAliveTime was defaulting to zero. You can also try a different number of seconds than 300 depending on your situation.

   
  Home | Features | Screen Samples | Download | Requirements
Ordering | Tech Support | Notes | Online Help | About Me | Other Items

Page Last Updated 12/04/2025
Contact support@tombrennansoftware.com