Previous Topic: 6.5 Batch Turnaround/Response Time

Next Topic: 6.5.2 Batch Response Considerations

6.5.1 Batch Job Events and Measured Intervals


There are a number of events recorded as time stamps in the
SMF records generated during the life of a batch job.
CA MICS data elements for a job or job step are duration
oriented; that is, they represent the duration or response
time between significant events.  The first event in a job's
life, the reader time stamp, is carried as a CA MICS data
element so that the time and date of the other events can be
determined by adding the appropriate duration data elements
to it.  The diagram below shows the significant events in the
life of a simple batch job and is used in later discussions.

                > > > T I M E > > >
_______________________________________________________
*     *     *     *     *     *     *     *     *     *
*     *     *     *     *     *     *     *     *     *
*  A  *  B  *  C  *  D  *  E  *  F  *  G  *  H  *  I  *
*     *     *     *     *     *     *     *     *     *
*     *     *     *     *     *     *     *     *     *
1     2     3     4     5     6     7     8     9    10

Events are numbered              Durations are lettered

Events, Sources, and CA MICS Data Element Name

1 - Job Submission -  The reader start time stamp is found in
    all SMF records produced for the job.  The CA MICS data
    element is RDRTS in all Batch Information Area files.

2 - Converter/Interpreter start time stamp   -  SMF type 26,
    field SMF26CST.

3 - Converter/Interpreter stop time stamp   -  SMF type 26,
    field SMF26CPT.

**  Events 4 through 7 are repeated for each step  **

4 - Step initiation start time stamp  -  SMF type 30, field
    SMF30SIT.  The CA MICS data element is STARTTS in the
    BATPGM, BAT_ST, BAT_TS, BATJOB, and BAT_JS files.

5 - Device allocation start time - SMF type 30, field
    SMF30AST.

6 - Problem program loaded time - SMF type 30, field
    SMF30PPS.

7 - Problem program end time -  SMF type 30, field SMF30TME.
    The CA MICS data element is ENDTS in the BATPGM, BAT_ST,
    BAT_TS, BATJOB, BAT_TP, and BAT_JS files.

**  Events 8 and 9 are repeated for each type 6 record  **

8 - Output writer start time -    SMF type 6, field SMF6WST.
    The CA MICS data element is STARTTS in the BATSPL file.

9 - Output writer end time - SMF type 6, field SMF6TME.  The
    CA MICS data element is ENDTS in the BATSPL file.

10 - Purge time - SMF type 26, field SMF26TME.  The CA MICS
     data element is JOBPURTS in the BATJOB and BAT_JS files.

Measured Intervals and CA MICS Data Element

A - Reader active time - CA MICS data element JOBRDRTM in the
    BATJOB and BAT_JS files.  This is the duration between
    reader start time and converter/interpreter start time.

B - Converter active time - CA MICS data element JOBCVTTM in
    the BATJOB and BAT_JS files.  This is the duration
    between converter/interpreter start time and
    converter/interpreter end time.

C - Input queue time - CA MICS data element JOBINQTM in the
    BATJOB and BAT_JS files.  This is the duration between
    converter/interpreter stop time and initiation start
    time.  It may be the result of higher priority jobs in
    the queue, no available initiators, or a job in HOLD
    status.

D - Job data set enqueue time - CA MICS data element JOBENQTM
    in the BATJOB and BAT_JS files.  CA MICS data element
    PGMENQTM in the BATPGM, BAT_ST, and BAT_TS files.  This
    is the duration between step initiation start time and
    device allocation start time.  It may be the result of
    data set enqueue time for the first step of a job or
    waiting for real memory allocation (V=R) for any step of
    the job.

E - Device allocation time - CA MICS data element JOBALCTM in
    the BATJOB and BAT_JS files.  CA MICS data element
    PGMALCTM in the BATPGM, BAT_ST, and BAT_TS files.  This
    is the duration between device allocation start time and
    problem program loaded time waiting for devices and/or
    mounts.

F - Program execution time - CA MICS data element JOBEXCTM in
    the BATJOB and BAT_JS files.  CA MICS data element
    PGMEXCTM in the BATPGM, BAT_ST, and BAT_TS files.  This
    is the duration between problem program loaded time and
    program end time stamp.

G - Output queue time - CA MICS data element JOBPRQTM in the
    BATJOB and BAT_JS files.  This is the duration between
    problem program end time and the start of output printing
    due to printer delay or because the SYSOUT is in HOLD
    status.

H - Printer time - CA MICS data element JOBPRNTM in the
    BATJOB and BAT_JS files.  This is the duration between
    the start of output printing and the time of job purging
    from the spool.

I - Wait to purge time - No CA MICS data element. This is the
    duration between the end of the last printout and the
    time the SMF type 26 purge record is produced.  In the
    absence of any printing, it is the duration between
    problem program end time and the time the SMF type 26
    record is produced.  This duration is usually the result
    of output being held on the spool and then purged without
    printing.

The sum of the durations A+B+C is the total time spent
waiting for execution.

The sum of the durations D+E+F is the residency time.