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.
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.