FPRINT (FP) parameter
The FPRINT parameter prints records in formatted mode, presenting the data according to a COBOL or PL/I record layout, like the formatted display of File-AID. Meanwhile, the primary function continues to process the data set. You must supply a //DDxxRL DD in the JCL, and the LAYOUT or MAP parameter in the control cards, to identify the layout member name to use for the formatted print.
Layout appearance can be controlled with the optional SHOW parameter. SHOW=FORMAT, SHOW=NUMBER, SHOW=OFFSET, and SHOW=PICTURE are valid options for the SHOW parameter.
The syntax of the FPRINT parameter is:
FPRINT={number}
number
Number from 0 (zero) to 999999999 specifying the number of records to print. Printing of records can be based on one or more data selection parameters. Use FPRINT=0 to print all selected records in formatted mode.
Example FPRINT output is shown in FPRINT Request.
Example:
This example copies the input dataset while printing the first 15 records, formatted according to the record layout in the SMFA member in the DD01RL DD.