How does the JIL need to be modified when adding a JIL file to the Simulation feature in AAI?

book

Article ID: 205976

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

How does the JIL need to be modified when adding a JIL file to the Simulation feature in AAI?

Environment

Release : 6.0.2

Component : AUTOMIC AUTOMATION INTELLIGENCE ENGINE

Resolution

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:

 

/* ----------------- ATSYS.LS3_DBMaint_000.B ----------------- */ 

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"


 /* ----------------- ATSYS.LS3_DBMaint_010_arch_events.C ----------------- */ 

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.