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.


Important

 Do not use the VPRINT parameter with the DUMP, LIST, PRINT, FPRINT, or VPRINT function.

The syntax of the VPRINT parameter is:

VPRINT={number} {FIELDS=(field-list)}
       {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:

$$DD01 COPY VPRINT=15,MAP=SMFA,FIELDS=(1,2,3)

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.

Important

  • Installations using alternate copy libraries, such as LIBRARIAN and PANVALET, and installations using Hiragana, Katakana, or Kanji character sets are supported only when the appropriate File-AID/Batch configuration parameters are set. For more information, see File-AID/MVS Product Configuration.

  • The VPRINT function does not list redefinitions.
  • File-AID only allows for one OCCURS DEPENDING ON (ODO) in the record layout and it must be the last item in the record layout. Otherwise, File-AID would not be able to produce column headings appropriate for every record.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*