9. On-Line System Network Operators
Certain of the Network subprograms are intended for, although not restricted to, use with the On-Line System Network operators. The following is a general description of these operators.
Message Format
In all Network operations involving the On-Line System Network operators, there are certain conventions concerning the format of the data sent and received. The data is grouped in "messages" consisting of three fields: op code, length, and text, in that order. The op code is one byte in length and is a code which indicates how the text field is to be interpreted. The length field is two bytes long, and gives the length, in bits, of the text field, which contains the actual data. (The op code and length fields together are termed a header.)
The following op codes are presently defined:
| Op code | Meaning |
|---|---|
| 0 | The op code is a NOP. No text field exists, and the contents of the length field are unpredictable. (This op code is used mainly as a delimiter.) |
| 1 | The text field contains EBCDIC characters, one character per byte. The On-Line System Network operators consider the characters as intended for display as soon as the text field has been received. |
| 2 | The text contains codes for keypushes, one byte per key. The On-Line operators consider the text as intended for execution as soon as the text field has been received. |
| 3 | The same as for an op code of 2, except that the On-Line operators consider that the execution of the keys will be delayed until all data for that receive operation has been received. |
Trailers
The standard format of data sent or received by the On-Line System operators is a string of messages, with the last message indicated by a header with a NOP op code, called a trailer. These conventions are the default situation; any of them may be overridden by appropriate programming.
Following are descriptions of those subprograms intended for use with the On-Line System operators.