Essential information
When your application accesses an existing STREAM file, PL/I
must obtain a record length value for that file. The value can come
from one of the following sources:
- The LINESIZE option of the OPEN statement
- The RECSIZE option of the ENVIRONMENT attribute
- The RECSIZE option of the DD:ddname environment variable
- The RECSIZE option of the TITLE option of the OPEN statement
- An extended attribute of the data set
- PL/I-supplied default value.
If you are using an existing OUTPUT file, or if you supply a
RECSIZE value, PL/I determines the record length value as described
in Creating a data set with stream I/O.
PL/I uses a default record length value for an INPUT file when:
- The file is SYSIN, value = 80
- The file is associated with the terminal (CON:, SCREEN$:, STDOUT:, or STDERR:), value
= 120.