Should you use the job accounting function in QHST messages since
message numbers CPF1124 and CPF1164 are always available in the QHST log?
Or, should you use job accounting? Use the following information to help you
determine which method is best for your organization.
Additional information supplied by job accounting
Job accounting has all the information supplied by CPF1164 plus:
- Accounting code
- Number of print files, lines, and pages created by programs
- Number of database read, write, and update operations
- Number of communications read and write operations
- Actual lines and pages printed
- Time the job was active and suspended
- Actual number of bytes of control information and print data sent to the
printer
The job accounting function is more effective for gathering
job accounting statistics if:
- The resource information regarding database, printer, and communications
use is important.
- Accounting codes are assigned to users or jobs.
- The information for printed output is important.
- Job accounting must be done on an accounting segment basis in a job rather
than on a complete job basis.
- The active and suspended time information is needed.
The QHST messages are more effective for gathering job accounting
statistics if:
- You do not want to manage the additional objects included in journaling.
- You do not need any resource information other than that provided in the
CPF1124 and CPF1164 messages, which are sent automatically to the QHST log.
- You do not need print accounting information.
Note: Some statistics recorded in the CPF1164 message and the JB journal
entries will not match exactly. This is due mainly to two factors: (1) CPF1164
statistics are recorded slightly before the JB journal statistics and (2)
each time an accounting code is changed, rounding occurs for some fields,
while rounding occurs only once for CPF1164 messages.