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:

Note: 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.
Related concepts
How job accounting works
When to use job accounting
Security and job accounting
Journal entries for job accounting
About the accounting code
Resource accounting
Resource accounting data
Prestart jobs and job accounting
System job processing for job accounting
Batch processing and job accounting
Printer file accounting
Related information
Job Notification Exit Point