Using the Duration table


The Duration table contains duration records that specify how long a BMC AMI Utility Manager job is allowed to run. If the job duration exceeds the record value, BMC AMI Utility Manager does not start processing additional objects. Objects that are already in process are not canceled, but are allowed to complete.

BMC AMI Utility Manager reads the object history table to determine the object run time and use in duration calculation.

BMC AMI Utility Manager allows the object to be processed if one of the following conditions exists:

  • Object history is found for the object and partition combination and the object’s elapsed time is less than the current remaining duration time.
  • Object history is not found for the object and partition combination. However, object history for the object is found where the number of pages processed is within 10 percent of the number of pages for the partitions combined and the object’s elapsed time is less than the current remaining duration time.
  • Object history is not found for the object and the current duration time has not been exceeded.

If there is no entry for a job in the Duration table, the BMC AMI Utility Manager job runs without any time restrictions.

Example

In this example, each step of the RRGTEST job to start new work is limited to one hour.

JOBNAME RRGTEST
STEPNAME % (or NULL)
UTILITY_ID % (or NULL)
USERID % (or NULL)
ACTIVE Y
DURATION 60
RESTART_DURATION 60
REMARKS RRGTEST duration of 1 hour

Duration table

The Duration table establishes the run time for each new job generated by the BMC AMI Utility Manager job.

Column definitions in the Duration table

Column Name        Col No Col Type Length Scale  Null Default
------------------ ------ -------- ------ ------ ---- -------
JOBNAME            1 CHAR 8      0  N
STEPNAME    2 CHAR 8      0  Y
UTILITY_ID  3 CHAR        16      0  Y
USERID      4 CHAR 8      0  Y
ACTIVE      5 CHAR 1      0  N    Y
DURATION    6 SMALLINT 2      0  N    0
RESTART_DURATION 7 SMALLINT 2      0  N    0
REMARKS             8 VARCHAR     128      0  Y
LAST_UPD_USERID     9 CHAR          8      0  N   User
LAST_UPD_TIMESTAMP 10 TIMESTMP     10     0  N   Timestamp
VERSION            11 CHAR          8     0  N   12.1.00

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*