Thanx Dawn ....
I took a much closer look at the Job Accounting Journal entries and discovered this.
It looks like when job accounting JB entries are deposited in the journal for the QZDASOINIT job that has already been "swapped" to a different user (MMSPRD) more than one JB journal entry is generated.
I looked at the JB entries for job QZDASOINIT/QUSER/669447.
When the job is "swapped" from QUSER to MMSPRD an account code of *NONE is placed in the Accounting Journal.
Then a PAIR of entries are deposited. One as *SYS and one with the accounting code as entered in the user profile MMSPRD. In this case, CISWWW.
Acct Job Job CPU Aux
Code Job Curr User Nbr End date End time Typ Sec I/O
*NONE QZDASOINIT MMSPRD 669447 2/01/18 8:02:50 B .07 111
*SYS QZDASOINIT MMSPRD 669447 2/01/18 8:12:09 B .01 52
CISWWW QZDASOINIT MMSPRD 669447 2/01/18 8:12:09 B 3.41 1735
*SYS QZDASOINIT MMSPRD 669447 2/01/18 8:22:04 B .02 66
CISWWW QZDASOINIT MMSPRD 669447 2/01/18 8:22:04 B 2.31 3191
This is why I thought things weren't working correctly. I was seeing all these *NONE and *SYS accounting codes! The *NONE and the *SYS are indicating system resources were being used too (CPU and I/O).
Dawn, maybe you can explain why *SYS and *NONE JB entries are being deposited in the Job Accounting Journal when an accounting code is present in the User Profile being swapped to (?????) Shouldn't all these JB entries have the same accounting code? The one specified on the swapped to user profile (MMSPRD)?
-Kenneth
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dawn May
Sent: Wednesday, March 07, 2018 4:48 PM
To: Midrange Systems Technical Discussion
Subject: [External]Re: Setting Accounting Codes for QZDASOINIT jobs
http://ibmsystemsmag.com/blogs/i-can/december-2015/ibm-i-job-accounting-and-prestart-server-jobs/
Dawn
From: "Graap, Kenneth" <Kenneth.Graap@xxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion
(midrange-l@xxxxxxxxxxxx)" <midrange-l@xxxxxxxxxxxx>
Date: 03/07/2018 05:52 PM
Subject: Setting Accounting Codes for QZDASOINIT jobs
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Does anyone know how to change accounting codes for QZDASOINIT jobs based on the user profile that is swapped to when they execute?
Kenneth Graap
NW Natural
keg@xxxxxxxxxxxxx
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_midrange-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=WPXn3xLhtgUIAgwXe1_2bw&m=yDzZxldKhbZwRzuvetODUzKwfUaLKb3B9l_YbPJc_Z4&s=aqkLOUvigBpZ3MNL-Z_Op6z3Q7BZ9OWutTtGk6zuVdU&e=
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_midrange-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=WPXn3xLhtgUIAgwXe1_2bw&m=yDzZxldKhbZwRzuvetODUzKwfUaLKb3B9l_YbPJc_Z4&s=F1caOOaecPrbWqN1CW_bYfHfwNqL2BdK76uNg3Ecjd8&e=
.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=http-3A__amzn.to_2dEadiD&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=WPXn3xLhtgUIAgwXe1_2bw&m=yDzZxldKhbZwRzuvetODUzKwfUaLKb3B9l_YbPJc_Z4&s=ONMgh3fsZNmBYeqTsOzHAJfGzyMDYp6XWR4y4KZ55k8&e=
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.