HELPLIB.HLB  —  ACCOUNTING  /SORT  Examples
    1.$ ACCOUNTING /TYPE=PRINT /SORT=USER

      This example processes the file SYS$MANAGER:ACCOUNTNG.DAT. It
      produces a brief report of all the records for print jobs and
      displays them in user name order.

      The following example shows the report that is produced:

 Date / Time           Type  Subtype Username     ID      Source  Status
 -------------------------------------------------------------------------
  4-JAN-2000 09:53:05  PRINT         BROWN        20A00193        00040001
 13-JAN-2000 13:36:04  PRINT         BROWN        20A00442        00000001
 13-JAN-2000 12:42:37  PRINT         BROWN        20A00442        00000001
 13-JAN-2000 14:43:56  PRINT         DECNET_MAIL  20A00456        00000001
 14-JAN-2000 19:39:01  PRINT         DECNET_MAIL  20A00265        00000001
 14-JAN-2000 20:09:03  PRINT         DECNET_MAIL  20A00127        00000001
 14-JAN-2000 20:34:45  PRINT         DECNET_MAIL  20A00127        00000001
 14-JAN-2000 11:23:34  PRINT         FISH         20A0032E        00040001
 14-JAN-2000 16:43:16  PRINT         JONES        20A00070        00040001
 14-JAN-2000 09:30:21  PRINT         SMITH        20A00530        00040001

    2.$ ACCOUNTING MYFILE1.DAT,MYFILE2.DAT /SORT=IMAGE -
      _$ /FULL /REJECTED=NON_IMAGE.DAT

      This example processes two files, MYFILE1.DAT and MYFILE2.DAT,
      to produce a full report of records of type IMAGE, sorted in
      image name order. It creates the file NON_IMAGE.DAT, and copies
      all records except those of type IMAGE to that file. Notice
      that no selection qualifiers are used, and so all records are
      selected for processing. When the records are sorted, records
      that do not contain an image name are rejected.
Close Help