  Process Accounting, Batch Auditing? 
 The Question is:
 
I need to keep track by having a listing of all jobs that run on my batch
 queues.  Is it someway I can get a listing of all batch jobs that run and what
 time they run on the batch queue?
 The Answer is :
 
    The DCL command:
 
    $ SHOW QUEUE/BATCH/ALL
 
    will show all jobs pending, executing or retained.
 
    Existing discussions of the f$getqui lexical include the following
    topics: (813), (1240), (2159), (3951), (4546), (4568), (4903), (5188)
    (5471), (5567), (5651), (5793), (5982), (6315), (6877), (9130), etc.
 
    If you have OpenVMS accounting enabled (as you typically should),
    you can use the accounting utility to get a listing of all jobs
    that have completed. ACCOUNTING can also summarise the results.
    For example:
 
    $ ACCOUNTING/SINCE=YESTERDAY/PROCESS=BATCH
                /SUMMARY=(DATE,JOB,QUEUE,USER) ACCOUNTNG
 
    Also please review the OpenVMS security alarms and security audits
    mechanisms, and consider enabling alarms and/or audits for SUBMIT
    commands, BATCH logins, and similar.  ANALYZE/AUDIT can be used
    to display the database, and SET AUDIT can be used to control the
    current settings.
 
    If specific queues are of interest, you can add security alarm or
    security audit Access Control List Entries (ACEs) onto the Access
    Control Lists (ACLs) that can be associated with the batch or print
    queue(s) of interest.
 
 Answer written or last revised on  14-JAN-2004 
