|You can use Job Accounting, a free feature of the Operating
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 ?
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.
DSPJRN JRN(QACGJRN) RCVRNG(JRNRCVLIB/ACGRCV0001 +
JRNRCVLIB/ACGRCV0001) JRNCDE((A)) +
ENTTYP(JB) OUTPUT(*OUTFILE) +