Creating an unformatted print listing
If you want an unformatted print listing or if the from-file records should be formatted using first-character forms control (CTLCHAR(*FCFC), specify a program-described printer device file name. This file name can be QSYSPRT or user-defined (instead of *PRINT).
To format the from-file records using first-character forms control, specify CTLCHAR(*FCFC) on the Create Printer File (CRTPRTF), Change Printer File (CHGPRTF), or Override Printer File (OVRPRTF) command. For copy commands where TOFILE(*PRINT) is specified with a PRINT parameter value of *COPIED, *EXCLD, or *ERROR (or any combination), the following limits apply:
All records are copied to a single spooled file, and the data for each member or label identifier copied begins on a new print page.
- The QSYSPRT file must be spooled [SPOOL(*YES)]
- You must specify the QSYSPRT in the device file or on the OVRPRTF command, because separate print files open for each file requested.
Parent topic:
Printing records (PRINT, OUTFMT, and TOFILE(*PRINT) parameters)
Related concepts
Printing records (PRINT, OUTFMT, and TOFILE(*PRINT) parameters)