Setting up job accounting
To set up job accounting, use the character based interface.
- Create a journal receiver. The journal receiver can be created with any name and library you choose. IBM recommends to give it a name with a naming convention such as ACGJRN1 so that additional receivers (such as ACGJRN2, ACGJRN3) can be created with the Change Journal CHGJRN JRNRCV(*GEN) command.
- Create the job accounting journal. The journal name must be QSYS/QACGJRN, and you need authority to add objects to the QSYS library.
- Change the journal accounting information (QACGLVL) system value. The system value can be set to journal job accounting information, or printer information, or both. *JOB produces job (JB) journal entries, while *PRINT produces direct print (DP) or spooled print (SP) journal entries. A value of *NONE means no journaling is done for journal QACGJRN. Job accounting data will only be journaled for jobs that are started after the system value has been set to a value other than *NONE.
- Set the accounting code parameter ACGCDE for each user profile. The accounting code can be set to any alphanumeric string up to 15 characters in length. If determining the current user is important to your analysis of a job accounting journal entry, it is recommended that you set the ACGCDE parameter to the user profile's name.
Parent topic:
Managing job accountingRelated concepts
About the accounting code