The VMRGRW command processes the VMRGRW control files. By default, the report file is written on your A-disk and the diagnostics are displayed on your screen. The command options govern the treatment of the reports and diagnostics.

If the input file defined in the FILE control file statement is being used by the product, VMRGRW will not complete processing. You must either suspend product processing or rerun the report when the product is inactive.

VMRGRW filename [filetype [filemode]] [( "Options" ]

Options:

Linecnt nn
[Diagnose {Disk | Dummy | Printer | Terminal}]
[Report   {DIsk | Dummy | Printer | Terminal}]
  • filename
    Defines the filename of the control file. This parameter is required.
  • filetype
    Defines the filetype of the control file. The default is VMRGRW.
  • filemode
    Defines the filemode of the control file. The default is “*”.
  • Linecnt nn
    Sets the number of lines per page for the report. The default is 56.
  • Diagnose DIsk
    Sends the diagnostic output to your A-disk in a file named fn DIAG, where fn is the same as the filename of the control file.
  • Diagnose DUmmy
    Specifies that no diagnostic output is produced.
  • Diagnose Printer
    Sends the diagnostic output to your virtual printer.
  • Diagnose Terminal
    Displays the diagnostic output on your console. This is the default.
  • Report DIsk
    Writes the report to your A-disk in a file named fn LISTING, where fn is same as the filename of the control file. This is the default. The output file contains ASA carriage control characters.
  • Report DUmmy
    specifies that no report is generated. Use REPORT DUMMY to verify the control file’s syntax.
  • Report Printer
    sends the report to your virtual printer.
  • Report Terminal
    displays the report on your console.

Examples

  • This command line runs a report using a control file named TMCRPT1 VMRGRW. The report is sent to the printer, and no diagnostic output is produced:

    VMRGRW TMCRPT1 ( DIAGNOSE DUMMY REPORT PRINTER
    
  • This command line runs a report using a control file named AUDRPT1 VMRGRW. The report displays on the terminal, and the diagnostic output is sent to the printer:

    VMRGRW AUDRPT1 ( DIAGNOSE PRINTER REPORT TERMINAL