Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

AUTO_ENTER fields are not correctly handled by the 5250 Client in Host Integration Server 2000


View products that this article applies to.

Symptoms

If an application that is running on an AS/400 computer is configured to use AUTO_ENTER fields, the 5250 Client (Win5250.exe) may stop responding.

↑ Back to the top


Cause

This problem occurs the 5250 Client only sends the ENTER keystroke without checking the internal CMDKeyEvent structure when AUTO_ENTER fields are used.

↑ Back to the top


Resolution

Service pack information

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

Hotfix information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version      Size    File name
   --------------------------------------------------------
   05-Jan-2004  18:48  5.0.0.961   258,320  Win5250.exe 

				
Note Because of file dependencies, the most recent fix that contains these files may also contain additional files.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

This problem was corrected in Microsoft Host Integration Server 2000 Service Pack 2.

↑ Back to the top


More information

In an AS/400 environment, there are two methods to send a keystroke to the server. In the first method, the user can send only a cursor address and the Attention Identification (AID) value to the server. In the second method, the 5250 Client must send all modified data tag (MDT) fields and the AID value. For cursor movements or for the ENTER keystroke, the 5250 Client must always send MDT fields. When the user presses a functional key, including F1 through F24, the 5250 Client must evaluate bytes 5 through 7 of the Start of Header (SOH) order. This SOH order specifies what to send for a specific functional key: only the AID value or both the MDT field and the AID value. The 5250 Client processes a keystroke and sets the CMDKeyEvent global variable according to the key that is pressed. When the keystroke is processed, the subfield of the CMDKeyEvent structure is checked to see if the MDT fields must be sent to the server. For the AUTO_ENTER fields, the ENTER keystroke is sent without setting the CMDKeyEvent variable. Therefore, the old value of the CMDKeyEvent variable is used and causes the unpredictable results.

↑ Back to the top


Keywords: KB834300, kbhotfixserver, kbqfe, kbfix, kbbug

↑ Back to the top

Article Info
Article ID : 834300
Revision : 3
Created on : 10/26/2005
Published on : 10/26/2005
Exists online : False
Views : 380