I'm studying CA autosys and I met a condition formula like Condition: e(job1,06.00) = 0 & e(job2,03.00) = 0. I know the exit code 0 means success. Then what does "06.00" and "03.00" mean?
1 Answer
It is called as Look-Back Conditions
To specify a look-back dependency, enter the job name followed by a comma (,) then HH (hours), period (.) and MM (minutes).
Sample JIL:
insert_job: test_sample_04
machine: localhost
command: sleep 10
condition: success(test_sample_01,12.00) AND failure(test_sample_02,24.00) AND
success(test_sample_03)Explanation:
- The last run of
test_sample_01completed successfully during the last 12 hours. - The last run of
test_sample_02completed with a FAILURE status during the last 24 hours. - The last run of
test_sample_03completed successfully at any time.
For User case:
condition: e(job1,06.00) = 0 & e(job2,03.00) = 0The last run of
job1completed with exit code of 0 in the last 6 hoursThe last run of
job2completed with exit code of 0 in the last 3 hours
Reference:CA Workload Automation AE User Guide Release 11.3.6
0