Microsoft KB Archive/930357

= FIX: An RUI application or an SLI application on a Host Integration Server system closes its session when it tries to initiate an SNA bracket at the same time as the IBM mainframe application =

Article ID: 930357

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2006
 * Microsoft Host Integration Server 2004 Enterprise Edition
 * Microsoft Host Integration Server 2004 Standard Edition
 * Microsoft Host Integration Server 2000 Standard Edition
 * Microsoft Host Integration Server 2000 Service Pack 1
 * Microsoft Host Integration Server 2000 Standard Edition

-



SYMPTOMS
A Request Unit Interface (RUI) application on a Host Integration Server system closes its mainframe session when it communicates with an application that is running on an IBM mainframe. This problem occurs when the RUI application tries to initiate an SNA bracket at the same time as the IBM mainframe application. This problem occurs with RUI applications and with Session Level Interface (SLI) applications.



CAUSE
This problem occurs because the SNA Server service does not correctly handle SNA bracket race scenarios that may occur when you use Logical Unit Application (LUA) applications.



Microsoft Host Integration Server 2000
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Host Integration Server 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

File 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 item in Control Panel.

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

Microsoft Host Integration Server 2004
A hotfix is currently not available for Host Integration Server 2004.

Microsoft Host Integration Server 2006
A hotfix is currently not available for Host Integration Server 2006.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
When this problem occurs, the SNA Server service (Snaservr.exe) on the Host Integration Server system may return an error when the RUI application tries to send data to the application that is running on the IBM mainframe. The error resembles the following: FMI  0302E902->221D0001 FMIST NACK-2 FMI                     Msg key:1 Fail: NONCRIT  Err1:200D Err2:0000 FMI FMI   Header  at address 0173888C, 0 elements FMI  01040001 3000200D 00000100 01008809     <....0. .......h.> The RUI_WRITE verb that the RUI application issues returns the following error when this problem occurs: RUI  RUI_WRITE response RUI  UNSUCCESSFUL - RSP_BEFORE_SENDING_REQ RUI   Verb Parameter Block at address 00449E28 RUI  5200CC00 00140000 200D0000 04800000      RUI  00000000 00000000 00000000 00000000     <................> RUI  01000000 0000B200 788C4400 7C000000     <........x.D.|...> RUI  2C000000 00000130 20010041 00000000     <,......0 ..A....> RUI  00000000                                <.... > RUI   Data at address 00448C78  Additionally, the RUI_WRITE verb returns the following LUA codes:

Primary return code

0X0014 (LUA_UNSUCCESSFUL)

Secondary return code

0X200D0000 (LUA_RSP_BEFORE_SENDING_REQ)

After the RUI_WRITE verb returns the LUA_RSP_BEFORE_SENDING_REQ code, the RUI application may also send the following IBM sense code to the application on the IBM mainframe. The RUI application sends this sense code to reject the SNA bracket that the mainframe application is trying to initiate:

0x08140000 - Bracket Bid Reject – RTR Forthcoming

The RUI application may then send a Request Shutdown (RSHUTD) Request Unit (RU) to the IBM mainframe. The RUI application sends this RU to request that the mainframe session be deactivated. After the session is deactivated, the RUI application cannot communicate with the mainframe application.

SNA brackets define specific SNA transactions. An SNA application initiates a bracket by setting a Begin Bracket Indicator (BBI) flag in the SNA Request Header (RH). The SNA application terminates a bracket by setting the End Bracket Indicator (EBI). A bracket race condition occurs when SNA applications that are communicating with one another try to initiate an SNA bracket at the same time.

For more information about SNA brackets, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/aa754271.aspx

Keywords: kbbug kbfix kbqfe kbpubtypekc kbhotfixserver KB930357

-

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

© Microsoft Corporation. All rights reserved.