CLP to track how long users has been signed on to a system
Last Post 09 Aug 2006 04:25 PM by Jeffrey Herman. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
Gilbert Tiscareno
New Member
New Member
Posts:1

--
09 Aug 2006 03:31 PM
Does any one know of a CL program or a package out there that can track down the time that a user has been signed on to an iSeries system? We have over 60 iSeries partitions and I'm trying to track down the usage on all systems.
Jeffrey Herman
Veteran Member
Veteran Member
Posts:3514

--
09 Aug 2006 04:25 PM Accepted Answer
You can use Job Accounting, a free feature of the Operating System. To activate it, you must create the accounting journal (QACGJRN) and change a system value (QACGLVL). Each time a job ends, an entry is written to the journal receiver, containing job accounting data : entry date and time, jobname, user, jobnbr, date and time job started, CPU time used, number of transactions, completion code, number of output pages generated, number of database reads, writes, updates/deletes, ... How to setup Job Accounting ?
DSPJRN     JRN(QACGJRN) RCVRNG(JRNRCVLIB/ACGRCV0001 +
                          JRNRCVLIB/ACGRCV0001) JRNCDE((A)) +
                          ENTTYP(JB) OUTPUT(*OUTFILE) +
                          OUTFILE(MYLIB/JOBACG)
The DSPJRN command can filter entries based on date, job, receiver range, ... Now you can use QUERY or Download to Excel to print nice formatted reports.
You are not authorized to post a reply.

Acceptable Use Policy