Previous Topic: KeywordsNext Topic: Syntax


READ

To process records of the input file as directed by the keywords, use the READ command and its keywords. The READ command and its keywords combine to make a powerful tool for data generation. The READ command processes the records of the input file as directed by the keywords. Data sets can be read, the data reformatted and manipulated, then written out to a new data set. The data sets can be sequential, partitioned, or VSAM.

To specify the ddname of the file to be read, use the INFILE keyword. If INFILE is omitted, the default ddname of SYSUT1 is used. This default may have been changed by the &BAT_INFILE installation parameter.

For a list of all the keywords the READ command supports, see the topic Keywords in this section.