The Acct Journal attribute group contains attributes that you can use to monitor work management.
The attributes have these considerations.
The attributes can only be used if the accounting level system value (QACGLVL) is set to *JOB.
When you start monitoring for a situation using the attributes, the accounting journal receiver is locked. (While the journal receiver is locked, you cannot detach it from the journal, save it, or delete it.)
Coding specific compare values for Job Name, and User attributes reduces the amount of data IBM Tivoli Monitoring for i5/OS has to handle and improves performance. Under certain circumstances (especially on large systems), failing to specify one or more of these attributes may overload IBM Tivoli Monitoring for i5/OS and result in the situation not being evaluated.
In order to use the OS400 Acct Journal attributes, the i5/OS Accounting Journal, QACGJRN, must exist in library QSYS. In addition, you must have created some journal receivers and attached them to the Accounting journal. Refer to the IBM manual Work Management for information on Accounting journal management.
For example, if you change the system values to a future date or time, such as the year 2010, then any journal entries that occur are marked with this future date. When you change the system values back to the current date, any subsequent journal entries are correctly marked with the current date. Modifying the system value in this way results in having older journal entries marked with a more recent date.
If you start a journal situation, it returns all journal entries that have a date and time equal to or greater than the current date. If it finds an older entry that is predated with the year 2000 date, the situation returns all entries following the year 2000 entry. Some of these entries would have occurred before the situation was started. If a large number of these journal entries exist, they could cause the situation to time out. To avoid this problem, remove the current journal receiver or receivers from the JRN and create and attach a new one.
Acct Code The accounting code assigned to the job by the system. As the job is processed, the system uses the accounting code to collect statistics on the system resources used by the job. The valid value is an alphanumeric string with a maximum of 15 characters.
Completion Code The two digit code that indicates how the job ended. The attribute can be used with the *AVG, *MAX, *MIN, and *SUM functions. The valid values include:
00 |
Normal completion |
10 |
Normal completion during controlled end or controlled subsystem end |
20 |
Job exceeded end severity |
30 |
Job ended abnormally |
40 |
Job ended before becoming active |
50 |
Job ended while active |
60 |
Subsystem ended abnormally while job was active |
70 |
System ended abnormally while job was active |
80 |
Job completed in the time limit |
90 |
Job forced to complete after the time limit has ended |
99 |
Accounting entry caused by CHGACGCDE command |
CPU Time The processing time used by the job (in seconds). The valid value is a decimal number in the range 0.000 through 2147483647.000
Database I/O Operations The total number of database read, write, update, delete, FEOD, release, commit, and rollback operations. The valid value is an integer in the range 0 through 2147483647.
Date and Time The date and time when the job entered the system. For batch jobs, this is the date and time the job was placed in a job queue. The valid value is a date and time in the format CYYMMDDHHmmSSmmm (For example, 0961002103000000 indicates a century bit of 0, a date of October 2, 1996, and a time of 10:30:00:000.)
Job Name The name of the job. The valid value is an alphanumeric string with a maximum of 10 characters.
Job Number The number the system assigned to the job. The valid value is an alphanumeric string with a maximum of 6 characters.
Job Type Indicates the type of job. The valid values include:
A |
Autostart job |
B |
Batch job (includes communications and MRT) |
I |
Interactive job |
M |
Subsystem monitor |
R |
Spooling reader |
W |
Spooling writer |
ORIGINNODE The host name for the monitored system. The valid value is an alphanumeric string with a maximum of 64 characters.
Start Date and Time The date and time when the job started. For batch jobs, this is the date and time the job left a job queue and started running. The valid value is a date and time in the format CYYMMDDHHmmSSmmm. For example, 0961002103000000 indicates a century bit of 0, date of October 2, 1996, and time of 10:30:00:000.
Start Time The time when the job started. For batch jobs, this is the time the job left a job queue and started running. The valid value is a time in the format HHMMSS (For example, 103000 is a time of 10:30:00 a.m.)
Time The time when the job entered the system. For batch jobs, this is the time the job was placed on the job queue. The valid value is a time in the format HHMMSS (For example, 103000 indicates a time of 10:30:00 a.m.)
Transaction Number The number of transactions executed by the job. The valid value is an integer in the range 0 through 2147483647.
Transaction Time Total transaction time (in seconds). The valid value is an integer in the range 1 through 2147483647.
User The user of the job. The valid value is an alphanumeric string with a maximum of 10 characters.