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 16 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.