You define files for stream-oriented data transmission by a file declaration with the following attributes:
declare
Filename file stream
input | {output [print]}
environment(options);
The FILE attribute is described in the PL/I Language Reference. The PRINT attribute is described further in Using PRINT files.