You define files for stream-oriented data transmission by a file declaration with the following attributes:
DCL filename FILE STREAM
INPUT | {OUTPUT [PRINT]}
ENVIRONMENT(options);
Default file attributes are shown in Table 13; the FILE attribute is described in the PL/I Language Reference. The PRINT attribute is described further in Using PRINT files with stream I/O. Options of the ENVIRONMENT attribute are discussed below.