Previous Topic: Account Codes in VSE

Next Topic: EXTDATA SMF Job Accounting

SMF Job Accounting

This section applies only to JARS Account record processing, not to EXTDATA processing. The following SMF record types, if present, are processed to generate user-defined job accounting reports:

Type

Description

6

Output Writer

26

Job Purge

30

All subtypes

33

APPC

47/52

RJE Session Log-On

48/53

RJE Session Log-Off

49/54

RJE Session Invalid Log-On attempt

The basic unit of work for batch jobs and TSO sessions is the step, represented by the Step Termination or TSO-Step Termination SMF record.

If at least one of these types of records or at least one type 6 record (Output Writer) is present, a job or one-step job account record is created. Utilization data is not taken from a type 30-5 record (Job Termination) in the absence of type 30-4 record.

The job termination record and logoff (30-5) records are written by SMF at job termination and logoff times, respectively. Information taken from these records includes the Programmer Name and Job Accounting fields (CA JARS accumulates most other job-level data from the step level).

For various reasons, including machine failure while a job is processing, the 30-5 record for a job may be missing. In the absence of a 30-5 record, the Programmer Name and Job Accounting fields are taken from the Job Commencement (30-1) record, if one is available.

Step account records are constructed from the accumulation of data in subtype 2 and 3 records. The SMF interval start date and time from these records is used as the step Start Time, allowing jobs that continue to execute past an accounting period to be reported on properly within each period.

The Job Commencement (30-1) record is only used to supply the Programmer Name and Job Accounting fields for jobs that lack 30-5 records.

Output Writer (type 6) SMF records are written at the completion of each Unit of SYSOUT processing (printing or punching) for a job. Information from these records is used to build SYSOUT Table entries which are appended to the job account record.

Note that if at least one type 6 SMF record is present for a job, then a job account record is produced. If no step-level records are present, the job has zero steps and zeros for all utilization statistics. If no type 30-5, 30-1, or 26 is present, then the accounting information fields are blank.

The Job Purge (type 26) record provides the following information: the Job Class, Priority, Job Number, Input Device Name, Account Code at appropriate JES release, the Input Route code (for RJE users--JES2 only), and the number of statements read by the job.

In the absence of a type 26 record, the Job Class and Priority are taken from the type 30-5 record, if one is available. The number of statements read is accumulated from the type 30 records for the job (in which case JCL statements are not included in the total).

Other SMF records processed by CA JARS for the purpose of gathering system-wide utilization statistics are as follows:

Type

Description

Use

0

IPL

IPL Idle Time

7

Data Lost

SMF Data Lost Time

70

CPU Activity (z/OS only)

Wait Time