VMS Help  —  SET  ACCOUNTING  Examples
    1.$ SET ACCOUNTING /DISABLE /ENABLE=(PROCESS,BATCH,INTERACTIVE)
      $ SET ACCOUNTING /ENABLE=IMAGE

      This example tells the system to track the resources used only
      by batch and interactive processes, and by images running
      in batch and interactive processes. It illustrates the
      cumulative effect of /ENABLE and /DISABLE qualifiers, and of
      SET ACCOUNTING commands.

      The /DISABLE qualifier prevents the tracking of all resources.
      The /ENABLE qualifier then tells the system to track the
      resources used by batch and interactive processes. The second
      SET ACCOUNTING command tells the system to track the resources
      used by images.

    2.$ SET ACCOUNTING /NEW_FILE
      $ RENAME SYS$MANAGER:ACCOUNTNG.DAT;-1 WEEK_24_RESOURCES.DAT

      This example closes the current accounting file, opens a
      new version of it, and changes the name of the old file to
      WEEK_24_RESOURCES.DAT.
Close Help