Microsoft KB Archive/293780

= Type-Ahead Disabled After Upgrade to SNA Server 4.0 SP3, SP4, or HIS 2000 =

Article ID: 293780

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition
 * Microsoft SNA Server 4.0 Service Pack 3
 * Microsoft SNA Server 4.0 Service Pack 4

-



This article was previously published under Q293780



SYMPTOMS
When utilizing the SNA Server 3270 Applet, the user's keystrokes are ignored when the keyboard is in an inhibited state (also known as an &quot;X clock&quot;). Users are unable to type keystrokes until the keyboard-inhibited state has been cleared.



CAUSE
During an upgrade of SNA Server to either SNA version 4.0 Service Pack (SP) 3, version 4.0 SP4, or Host Integration Server (HIS) 2000, the 3270 Applet creates a Win3270.ini. file from the [SnaServerWin3270] section of the Win.ini file. The problem occurs if type-ahead is not explicitly defined in the Win.ini file. The 3270 Applet adds a &quot;typeahead=&quot; setting to the Win3270.ini file, which disables the type-ahead feature.

Sample Win3270.ini File
[SnaServerWin3270]

AutoConnect=

LUHostCountry=United States (037)

LinkType=MS SNA Server

LUOrPoolName=DEMOPOOL

TNHostAddr=TESTSNASERVER

TNHostPort=23

TNModel=IBM-3278-2-E

TNDevice=

FTSHostProgram=

FTSParams=

XFRParams=

WindowLeft=167

WindowTop=118

WindowRight=935

WindowBottom=655

ShowWindow=1

WindowMaxX=-1

WindowMaxY=-1

ScriptName=Logon.lsc

AutoLogonScript=

Typeahead=

ConfigBufferSize=3643



RESOLUTION
To resolve this problem, obtain the latest service pack for Host Integration Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

328152 How to Obtain the Latest Host Integration Server 2000 Service Pack



WORKAROUND
To work around the problem, edit the Win3270.ini file. Change the blank value of the &quot;typeahead=&quot; line to &quot;typeahead=1&quot; or remove the entire &quot;typeahead=&quot; line.

The default locations for the Win3270.ini file are:

SNA Server 4.0, SNA Server 4.0 Service Pack 1, and SNA Server 4.0 Service Pack 2

Only the settings in the WIN.ini file (which is located in the Windows directory) are used.

SNA Server 4.0 Service Pack 3

Windows 95/Windows 98 = C:\Windows\Application Data\Microsoft\SNA Server

Windows NT = C:\WINNT\Profiles\user name\Application Data\Microsoft\SNA Server

Windows 2000 C:\Documents and Setting\user name\Application Data\Microsoft\SNA Server

Host Integration Server 2000

Windows 95/Windows 98 = C:\Windows\Application Data\Microsoft\Host Integration Server

Windows NT = C:\Profiles\ \Application Data\Microsoft\Host Integration Server

Windows 2000 C:\Documents and Setting\ \Application Data\Microsoft\Host Integration Server



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Host Integration Server 2000 Service Pack 1.



MORE INFORMATION
In SNA Server 4.0 SP3 and later, the Applet settings were moved from the Win.ini file to the Win3270.ini file (for the 3270 Applet) and Win5250.ini (for the 5250 Applet) into the user's profile directory. NOTE: By default, type-ahead is internally set to &quot;enabled&quot; and is not defined in the Win.ini file.

If Win3270.ini does not exist when the Applet is started, the Applet will read any existing settings from Win.ini to create a new Win3270.ini file. If the type-ahead setting is not defined in the Win.ini file, the Applet will write a &quot;typeahead=&quot; blank parameter into the Win3270.ini file.

If the type-ahead parameter is explicitly defined in Win.ini, this same value is correctly added to Win3270.ini.

If the Win.ini file does not have the [SnaServerwin3270] section, the 3270 Applet correctly writes a default Win3270.ini file that does not have &quot;typeahead&quot; explicitly defined. In this case, type-ahead is enabled and will work correctly.

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

165851 Support SNA Server 3270 Applet Keyboard Type-Ahead

Additional query words: typeahead, type ahead, type-ahead

Additional query words: HIS 2000

Keywords: kbbug kbfix kbhostintegserv2000presp1fix kbhostintegserv2000sp1fix KB293780

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.