Interactive processing and job accounting
If an interactive job has a fixed set of options for a user and each option has an assigned accounting code, it might be desirable to automatically assign a new code when the user requests to work on a new function.
A typical approach is for a menu option to request a new functional area. The Change Accounting Code (CHGACGCDE) command is then issued within a CL program and the job values used for the previous accounting code are summarized in the JB accounting journal entry.
If a user has several assignments for which only the user knows the accounting codes to be used you can:
- Give authority to the user to enter the CHGACGCDE command.
- Write a program to prompt the user for the accounting code.
For source pass-through jobs, the job accounting information does not include the target pass-through job. For target pass-through jobs, the job accounting information does not include the associated communications batch job.
Parent topic:
Job accountingRelated concepts
How job accounting works When to use job accounting Security and job accounting About the accounting code Resource accounting Resource accounting data Prestart communications jobs and job accounting System job processing for job accounting Batch processing and job accounting Printer file accounting Journal entries for job accountingRelated information
Job Notification Exit Point