Previous Topic: KeywordsNext Topic: Syntax


PRINT

To perform print functions, which include report and record formatting options, use the PRINT command. Report capabilities include, but are not limited to, formatting printed records using copybooks, printing the total of specified fields, printing data in character or hex format, and printing only selected records or PDS members. The data sets can be sequential, partitioned, or VSAM.

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

This report is printed to the SYSLIST DD statement. If SYSLIST is not allocated, the output is directed to the SYSPRINT DD statement.

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