Online System Operators
Certain of the Network subprograms are intended for, although not restricted to, use with the Online System Network operators. The following is a general description of these operators:
In all Network operations involving the Online 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 fields, 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 This 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 Online System 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 Online operators consider the keys 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 Online
operators consider that the execution of the keys will
be delayed until all data for that receive operations
has been received.
The standard format of data sent or received by the Online 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 the Online System operators.