VMS Help  —  ACCOUNTING  /REJECTED
    Copies the rejected records to a new file.

    Requires read and write access to the directory in which the
    specified file is created.

    Format

      /REJECTED=filespec

1  –  Description

    The /REJECTED qualifier creates the specified file, then copies
    the records that do not match your selection criteria to this
    file in binary format. Use the Accounting utility to process this
    file later.

    If the file specification does not include the device or
    directory name, your current default device or directory is used.
    If you omit the file name, the file name of the first input file
    is used (the first file listed in the parameter to the ACCOUNTING
    command). If you omit the file type, .REJ is used.

2  –  Example

  $ ACCOUNTING /TYPE=PRINT /BINARY /OUTPUT=PRINT_INFO.DAT -
  _$ /REJECTED=NOT_PRINT_INFO.DAT

      This example processes the file SYS$MANAGER:ACCOUNTNG.DAT. It
      creates two files, PRINT_INFO.DAT and NOT_PRINT_INFO.DAT, in
      the default directory. It copies print job records to PRINT_
      INFO.DAT and all other records to NOT_PRINT_INFO.DAT.
Close Help