Microsoft Knowledge Base Email Alertz

(153457) - When you use TPX version 4.0.03 on an IBM MVS system (MVS v5.1 and VTAM v4r2), you will get the following Windows NT application event log entry indicating a 3270 emulation error using SNA Server and Wall Data Rumba. Event 21 Negative response sent on...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 153457 - Last Review: March 17, 2005 - Revision: 3.1

Host TPX Application Problem Leads to 3270 Emulator 2004 Error

This article was previously published under Q153457

SYMPTOMS

When you use TPX version 4.0.03 on an IBM MVS system (MVS v5.1 and VTAM v4r2), you will get the following Windows NT application event log entry indicating a 3270 emulation error using SNA Server and Wall Data Rumba.
Event 21
Negative response sent on connection <value> (SENSE = 2004)
Where 2004 indicates a DIRECTION ERROR. See the "IBM SNA Formats Guide" (IBM part number GA27-3136) for a description of SNA sense code errors.

NOTE: If this specific problem occurs, it would occur with any 3270 emulator. To confirm this is the problem, SNA Server DLC and 3270 message traces should be captured.

CAUSE

The TPX host application sends a message to the 3270 emulator when it did not have the direction flag. An SNA Server DLC message trace shows the following message sequence:
SNA Server     Host (TPX)
--------------------------------------------------------
         <- BIND (appname = "TPX")
BIND +RSP ->
         <- SDT
SDT +RSP ->

RQE FMD BC EC DR1 BB CD ->
(User Request)

         <- RQE FMD BC EC DR1 CD
            (TPX response)

RQE FMD BC EC DR1 CD BBIU ->
(Security system screen)

(second part) EBIU ->

         <- RQE FMD BC EC DR1 CD
            (TPX response)

         <- RQE FMD BC EC DR1 EB
            (NCCF NETVIEW screen data)

-RSP FMD SD BC EC DR1 ->
(sense code 20040000)
				
In the above flow diagram, the TPX application sends an FMD message (the NCCF Netview screen) after it is already sent the Change Direction flag on the previous message. This is an SNA protocol violation that causes SNA Server to send a 2004 error (direction error).

APPLIES TO
  • Microsoft SNA Server 2.0, when used with:
    • Microsoft Windows NT 4.0
  • Microsoft SNA Server 2.1, when used with:
    • Microsoft Windows NT 4.0
  • Microsoft SNA Server 2.11 Service Pack 1, when used with:
    • Microsoft Windows NT 4.0
  • Microsoft SNA Server 2.11 Service Pack 2, when used with:
    • Microsoft Windows NT 4.0
  • Microsoft SNA Server 4.0, when used with:
    • Microsoft Windows NT 4.0
  • Microsoft SNA Server 3.0 Service Pack 2, when used with:
    • Microsoft Windows NT 4.0
  • Microsoft SNA Server 3.0 Service Pack 3, when used with:
    • Microsoft Windows NT 4.0
  • Microsoft SNA Server 3.0 Service Pack 4, when used with:
    • Microsoft Windows NT 4.0
  • Microsoft SNA Server 4.0, when used with:
    • Microsoft Windows NT 4.0
  • Microsoft SNA Server 4.0 Service Pack 1, when used with:
    • Microsoft Windows NT 4.0
  • Microsoft SNA Server 4.0 Service Pack 2, when used with:
    • Microsoft Windows NT 4.0
  • Microsoft SNA Server 4.0 Service Pack 3, when used with:
    • Microsoft Windows NT 4.0
Keywords: 
KB153457
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate