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

Document ID : KB000055295
Last Modified Date : 14/02/2018
Show Technical Document Details

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)