Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide

Creating a data set with record I/O

When you create a consecutive data set, you must open the associated file for SEQUENTIAL OUTPUT. You can use either the WRITE or LOCATE statement to write records. Table 13 shows the statements and options for creating a consecutive data set.

To create a data set, you must give PL/I certain information either in the ENVIRONMENT attribute, in a DD:ddname environment variable, or in the TITLE option of the OPEN statement.

Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide