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


Flushing the buffer

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

Requesting VTAM® to transmit buffered data is called flushing the SEND buffer. Many of the APPCCMD macroinstructions instruct VTAM to flush the SEND buffer. All macroinstructions with a QUALIFY value of FLUSH or DATAFLU flush the buffer.

The APPCCMD CONTROL=SEND, QUALIFY=ERROR macroinstruction and the abnormal termination DEALLOC and DEALLOCQ APPCCMD macroinstructions also flush the buffer. The APPCCMD CONTROL=SEND, QUALIFY=ERROR macroinstruction flushes the buffer and sends the FMH-7 on full-duplex conversations.

The only macroinstruction that sends normal information but does not flush the SEND buffer is the APPCCMD CONTROL=SEND, QUALIFY=DATA macroinstruction.

The buffering of data allows the application program to issue a macroinstruction or several macroinstructions before its partner receives anything. Consequently, the conversation partner frequently is unable to detect errors or give other feedback immediately after an APPCCMD macroinstruction is used to send information. The application program can flush the buffer to ensure that the partner receives the information in a timely manner.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014