The information in this article applies to:
SUMMARY
When using the SNA Server 3270 EIS interface, a 3270 application has the
option of choosing the Application Pacing option in the Connection
Information Control Block when sending its OPEN(PLU) response, as
documented in section 3.3.1 of the 3270 EIS online guide. This option can
be used by 3270 applications that have limited resources (for example, a
printer) to allow the application to affect SNA Server pacing responses on
outbound host data, preventing the host from sending more data than the
3270 application can handle.
MORE INFORMATIONThe SNA pacing responses that the SNA Server sends to the host are not like the credit (Status Resource) messages that the 3270 application sends to the SNA Server:
Here is a scenario that could cause a 3270 application to hang, by not providing sufficient credit responses to SNA Server: Assume that the host can send seven messages to SNA Server before needing a pacing response to send more. The SNA Server can send eight messages to the 3270 application before it needs a credit (Status Resource) message to send more. When the session is first started, SNA Server has "given" seven pacing credits to the host and "received" eight application credits from the 3270 application. At this point, SNA Server has one credit "in hand" for the host, but cannot send a pacing response until it has seven credits "in hand" from the 3270 application. Next, assume the host sends seven messages to SNA Server, which are passed to the 3270 application, and the application responds with a Status Resource message providing a further three credits. After this, the host has no (0) pacing credits, and the SNA Server has (8 - 7 + 3 =) 4 credits from the 3270 application, which are insufficient to grant the host another pacing window of seven. The SNA Server will not send the host a pacing response (that is, Isolated Pacing Response, or IPR) until it gets (at least) another three credits from the 3270 application. As a side note, it is possible to capture messages sent by the emulation product by enabling SNA Server 3270 message tracing on the SNA Server itself, or on the client. Here is an example of an Open PLU Response message, as traced in an SNA Server 3270 message trace:
In the above trace, the Application Pacing option is set, because byte 21
of the first element is set to 01.
Here is an example of a Status Resource message, as appearing in an SNA Server 3270 message trace:
In this message, the 3270 emulator is informing SNA Server that it can
accept three more messages on this session.
Additional query words:
Keywords : snaprog sna3270 snaeis |
Last Reviewed: December 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |