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:
- Specify the AutoSys account in the runid field of message action and
- 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. - In summary, the parameters to pass to the initautosys.exe are:
-i (instance name ) -r (command that you want to execute)