AUTOSYS Execute Job Based Another Server Success
Sometime during AUTOSYS job creation you will need to execute job based on another server instance success. Let’s say you have two instance (UC1 and DC1) where AUTOSYS runs and if want on success of job on UC1 instance execute job in DC1 instance you should include below condition:
Condition: success(JOB_NAME^UC1)
- Complete job details:
insert_job: Notifier_c job_type: c owner: JAVA@win machine: javahonk.com command: C\:\scripts\run-UAT-script.bat permission: gx,ge,mx,me description: "Load data" condition: s(JavaHonk_c^UC1) term_run_time: 60 alarm_if_fail: 1 std_out_file: >>C\:\logs\Notifier_c.log std_err_file: >>C\:\logs\Notifier_c_err.log application: JavaHonk
- OR if you just want to put condition on same box job success you could do below:
insert_job: Notifier_c job_type: c owner: JAVA@win machine: javahonk.com command: C\:\scripts\run-UAT-script.bat permission: gx,ge,mx,me description: "Load data" condition: s(JavaHonk_c) term_run_time: 60 alarm_if_fail: 1 std_out_file: >>C\:\logs\Notifier_c.log std_err_file: >>C\:\logs\Notifier_c_err.log application: JavaHonk
- Reference: Workload Control Center User Guide