Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

Defining and using consecutive data sets

Using stream-oriented data transmission
Defining files using stream I/O
Specifying ENVIRONMENT options
CONSECUTIVE
Record format options
RECSIZE
Defaults for record format, BLKSIZE, and RECSIZE
GRAPHIC option
Creating a data set with stream I/O
Essential information
Examples
Accessing a data set with stream I/O
Essential information
Record format
Example
Using PRINT files with stream I/O
Controlling printed line length
Overriding the tab control table
Using SYSIN and SYSPRINT files
Controlling input from the terminal
Format of data
Stream and record files
Capital and lowercase letters
End-of-file
COPY option of GET statement
Controlling output to the terminal
Format of PRINT files
Stream and record files
Capital and lowercase characters
Output from the PUT EDIT command
Using record-oriented data transmission
Specifying record format
Defining files using record I/O
Specifying ENVIRONMENT options
CONSECUTIVE
ORGANIZATION(CONSECUTIVE)
CTLASA|CTL360
LEAVE|REREAD
Creating a data set with record I/O
Essential information
Accessing and updating a data set with record I/O
Essential information
Example of consecutive data sets

This chapter covers consecutive data set organization and the ENVIRONMENT options that define consecutive data sets for stream and record-oriented data transmission. It then covers how to create, access, and update consecutive data sets for each type of transmission.

In a data set with consecutive organization, records are organized solely on the basis of their successive physical positions; when the data set is created, records are written consecutively in the order in which they are presented. You can retrieve the records only in the order in which they were written. See Table 13 for valid file attributes and ENVIRONMENT options for consecutive data sets.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)