VMS Help  —  ACCOUNTING  /LOG
    Outputs informational messages.

    Format

      /LOG

1  –  Description

    The /LOG qualifier outputs these informational messages to the
    current SYS$OUTPUT device:

    o  For each file processed, the name of the file and the number
       of records selected and rejected from that file

    o  If you use the /SORT qualifier, the total number of records
       merged in the sort (this is the total number of records
       selected from all the files that were processed)

    o  If you process more than one file, the total number of files
       that were processed, and the total number of records selected
       and rejected

2  –  Example

 $ ACCOUNTING MYFILE1.DAT,MYFILE2.DAT /TYPE=PRINT /SORT=USER /OUTPUT=OUTFILE

 %ACC-I-INPUT, SYS$SYSROOT:[SYSMGR]MYFILE1.DAT;7, 297 selected,
               16460 rejected
 %ACC-I-INPUT, SYS$SYSROOT:[SYSMGR]MYFILE2.DAT;13,302 selected,
               16388 rejected
 %ACC-I-MERGE, 599 records to be merged
 %ACC-I-TOTAL, 599 selected, 32848 rejected, 2 input files

      This example processes two accounting files. It writes a brief
      report of all the records for print jobs, sorted in user name
      order, to an output file and displays informational messages
      that tell you which files were processed and how many records
      were selected and rejected.
Close Help