Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
TCLEARQ - Clear Buffers z/OS TSO/E Programming Services SA32-0973-00 |
|||||||||||||||||||||||||||||||
TCLEARQ enables your program to throw away "typed ahead" input or unsent output. This clearing of the buffers lets the Command Processor resynchronize with the terminal user. For example, when a Command Processor analyzes the specified operands in a line of input and discovers missing or incorrect parameters, it issues a TCLEARQ INPUT before sending a prompting message to the user. This ensures that the Command Processor will receive a line of input entered after the terminal user has seen the prompting message. When the TCLEARQ macro instruction is issued to clear the input buffers, all the input that has been entered at the terminal, but has not yet been processed by the program, is purged. When the TCLEARQ macro instruction is issued to clear the output buffers, all the output that has been processed by the program but not yet displayed at the terminal is purged. The TCLEARQ macro instruction can be used only in a time sharing environment. It is ignored if TSO/E is not active when the macro instruction is issued. Figure 1 shows the format of the TCLEARQ macro instruction; each of the operands is described following the figure. Figure 1. The TCLEARQ macro instruction
When control is returned to the user, register 15 contains one of the following return codes:
The following terminal control macro instructions are intended for system use, and are not suggested for use in user-written Command Processors. Inappropriate use of these macro instructions can cause terminal errors.
|
Copyright IBM Corporation 1990, 2014
|