If your system uses job accounting, the prestart job program should run the Change Prestart Job (CHGPJ) command with the program start request value for the accounting code parameter (CHGPJ ACGCDE(*PGMSTRRQS)) immediately after the program start request attaches to the prestart job.
This action changes the accounting code to the value specified in the user profile associated with the program start request. Immediately before the program finishes handling the program start request, the program should run the Change Prestart Job command (CHGPJ) with the Prestart Job Entry value for the accounting code parameter (CHGPJ ACGCDE(*PJE)). This changes the accounting code back to the value specified in the job description of the prestart job entry.