Stream Organization
Streams are sequences of records passed from using programs to the datacomputer or vice versa. The format of the records is defined as in the file description. Thus streams have the same organization as files, except they cannot be indexed. The operations defined on streams are more limited than those defined on files, since the records must be accessed in sequence.
There is no concept of permanent storage for streams. The records move past the datacomputer one at a time, as though they were on a conveyor belt.
One record, the current record, is available to the datacomputer in each stream. To begin formatting the subsequent record in an output stream, the datacomputer transmits the current record. To access the next record in an input stream, the datacomputer relinquishes access to the current one.