VPRINT (VP) parameter
The VPRINT parameter prints records in vertical 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.
Column heading 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 VPRINT parameter is:
{ALL}
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. (VPRINT=0 prints all selected records in vertical formatted mode.)
ALL
Specifies to print all selected records in vertical formatted mode
FIELDS
Specify the field numbers you want to include in the vertical formatted mode print. See FIELDS.
Example VPRINT output is shown in VPRINT Request.
Example:
This example copies the input data set while printing the first three fields of the first 15 records, formatted according to the record layout in the SMFA member in DD01RL DD.