How to execute AutoSys commands e.g. sendevent via a Unicenter Console message record and action
search cancel

How to execute AutoSys commands e.g. sendevent via a Unicenter Console message record and action

book

Article ID: 55295

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent CA Unicenter NSM

Issue/Introduction

Description

In a mixed environment with EM console and AutoSys, the customer may want to execute some AutoSys commands via message actions. To execute the AutoSys command, it is not enough to specify the AutoSys account in the action runid field of message action because these commands have to be run in the correct AutoSys environment.

Solution

To execute the AutoSys command, you must:

  1. Specify the AutoSys account in the runid field of message action and
  2. In the Text field of COMMAND action specify:
    "C\Program Files\CA\UnicenterAutoSysJM.ACE\autosys\bin\initautosys.exe" -i ACE -r C:\your_autosys.bat
    where ACE is your AutoSys instance ( replace ACE by the valid name) and your_autosys.bat is a bat file containing your AutoSys command.
  3. In summary, the parameters to pass to the initautosys.exe are:
    -i (instance name ) -r (command that you want to execute)

Environment

Release: TNGEXO05500-11.1-Management-for Microsoft Exchange
Component: