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


Sending logical record data

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

Logical record data is usually of interest only to transaction programs. It could, for example, consist of a bank balance inquiry and reply.

Logical record data is sent with the following macroinstructions:
  • APPCCMD CONTROL=SEND, QUALIFY=DATA
  • APPCCMD CONTROL=SEND, QUALIFY=DATAFLU
  • APPCCMD CONTROL=DEALLOC, QUALIFY=DATAFLU
The send buffer is always flushed with the following macroinstructions:
  • APPCCMD CONTROL=SEND, QUALIFY=DATAFLU|FLUSH
  • APPCCMD CONTROL=DEALLOC, QUALIFY=DATAFLU
  • APPCCMD CONTROL=DEALLOC, QUALIFY=FLUSH

The APPCCMD CONTROL=SEND, QUALIFY=DATA macroinstruction provides new data. DATAFLU and FLUSH cause VTAM® to send buffered data to the partner LU.

When sending logical record data, the application program sets the AREA field of the RPL to point to the conversation information and the RECLEN field to the length of data being sent. See Buffer list requirements for details on using buffer lists to send data.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014