HCL Workload Automation, Version 9.4

every (used for job streams)

Defines the repetition rate for the job stream. The job stream is launched repeatedly at the specified rate. The keyword can be specified only within the definition of a run cycle for the job stream.

The use of this keyword results in the creation at plan-generation time of a number of instances of the job stream that depends on the repetition rate, on the start time (defined either with at or schedtime, or based on the start of day), and on the time defined for everyendtime.

Syntax

every rate {everyendtime time[+n day[s]]}

Arguments

rate
The repetition rate, expressed in hours and minutes (hhmm), at which the instances of the job stream are launched.
time
The end time, expressed in hours and minutes (hhmm) when the repetition interval stops. After this time no more instances of the job stream are run. Use of the everyendtime keyword is mandatory.
n
The number of days that the value of everyendtime can be extended. For example, if you specify:
everyendtime 1550 + 1
and the job stream is scheduled to start running today at 10:00, the end time that the job stream instances will stop being launched is tomorrow at 15:50.

Comments

Based on the values used, the job stream instances are created at the time that the plan is generated and run following the defined start dates for the job stream. They are not created dynamically during the execution of the plan.

Examples

  1. In the following example, an instance of job stream JS_151439298 is run every 2 hours until 6 PM starting from 2 PM of June 15, 2014.
    SCHEDULE MDM021#JS_151439298
    ON RUNCYCLE RC1 06/15/2014
    ( AT 1400 EVERY 0200 EVERYENDTIME 1800 )
    :
    MDM021#J_151439298
    END
  2. In the following example, an instance of job stream JS_0415 is run every 10 minutes until 3:15 PM starting from 2:45 PM of June 16, 2014.
    SCHEDULE MDM005#JS_0415
    ON RUNCYCLE ACCTRC 06/16/2014
    ( SCHEDTIME 1445 DEADLINE 1530 EVERY 0010 EVERYENDTIME 1515 )
    :
    MDM005#JS_0415
    END