WAIT Put CFS into a Wait condition

WAIT CFS is placed in a Wait condition. This Wait condition can be interrupted at any time by pressing K2 or any other data transfer key.

The Wait state of CFS is interruptable by asynchronous events. These may be the termination of an Enter job started by an E command (Job Report), or by messages destined for a subtask (connection) running in the background that need to be buffered by CFS.

Notes:

The WAIT command can be useful if subtasks (connections) running in the background produce sporadic output. If the user makes no input for a long time in either the basic task or in a subtask, the connection can be lost, since the messages cannot be processed by CFS in time. To preempt this situation, it is recommended that CFS be placed in the Wait state before any lengthy gap in input activity: enter WAIT in the command field of the basic task, or enter ^WAIT from any of the connections.

The Wait command is also useful if one or more connections are functioning in asynchronous mode (command ACn); for example, subconsoles (OCn $CONSOLE). Whilst in the Wait state, the messages from all asynchronous subtasks are displayed on the screen at the time at which they are received.