How does the JIL need to be modified when adding a JIL file to the Simulation feature in AAI?
Release : 6.0.2
Component : AUTOMIC AUTOMATION INTELLIGENCE ENGINE
You must add a line within your JIL with the Average Duration in a comment within the job definition of the job you want to simulate.
The format should be like, /*AVG_DURATION: 00:01:30*/ and it should be whatever average duration you want to specify for the job as an estimate of how long you think it will run like below:
/* ----------------- JOB1_NAME ----------------- */
update_job: BOX_JOB1 job_type: BOX
owner: autosys
permission:
date_conditions: 1
days_of_week: all
start_times: "19:00"
description: "AutoSys Box Job"
job_terminator: 1
alarm_if_fail: 0
alarm_if_terminated: 1
application: autosys
send_notification: 0
notification_id: "EMAIL"
/* ----------------- JOB2_NAME ----------------- */
insert_job: SIMULATION_JOB job_type: CMD
box_name: BOX_JOB1
command: cmd
machine: localhost
owner: autosys
permission:
date_conditions: 0
description: "simulation job"
n_retrys: 5
job_terminator: 1
max_run_alarm: 180
alarm_if_fail: 1
alarm_if_terminated: 1
application: autosys
send_notification: 0
notification_id: "EMAIL"
/*AVG_DURATION: 00:01:30*/
If there are any errors in your JIL the AAI Simulation page will warn you about what may be wrong.