z/OS Communications Server: SNA Programmer's LU 6.2 Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Background of the SEND buffer

z/OS Communications Server: SNA Programmer's LU 6.2 Guide
SC27-3669-00

Systems Network Architecture transmits normal data through the network in a chain of request units. Before these units are transmitted, the partners agree to the maximum size of each of the elements. Because there is some fixed amount of work to handle each unit, regardless of its size, network efficiency can be improved if each unit contains the maximum amount of data.

The LU 6.2 architecture provides for a component in each implementation that:
  • Accumulates data from the application
  • Places the data in a SEND buffer behind any unsent data that remains from a previous operation
  • Removes and prepares for transmission a full request unit size worth of data from the SEND buffer if the amount of data in the SEND buffer exceeds 1 the maximum request unit size
  • Passes this request unit to another component for actual transmission

When a SEND macroinstruction completes, the amount of data that remains in the SEND buffer is less than or equal to a maximum unit size. A subsequent SEND macroinstruction from the local application will repeat this operation.

Certain macroinstructions cause all of the data in the SEND buffer to be transmitted. This can be either under the explicit control of the application by the use of a flush type of SEND macroinstruction or it may be implicit in that the flush is automatically performed by VTAM®. For example, VTAM automatically flushes the SEND buffer, for half-duplex conversations, as part of the operation for the transition of the local transaction program from SEND to RECEIVE state. This automatic flushing ensures that it is in SEND state; it also has all the data that was transmitted by the local transaction program.

1 The reason the amount of data must exceed the maximum unit size is also for efficiency. If the next macroinstruction causes the flow of normal control information, then that information may be included in the header of the maximum sized unit that was held in reserve. This design precludes the flow of a unit that contains only control information.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014