Issue :
In WCC, Enterprise Command Line Interface, when I run any operating system command like :
- Command: "echo `hostname;date;uptime` > /tmp/uptime.out"
The commands execution fails with the following result :
Output:
The command could not be executed. Command processing exception encountered.
Errors:
Command not allowed due to filter file.
Environment:
WA AE release 11.3 on Linux
Resolution :
The solution is to add the commands you need to run through WCC ECLI in the "AutoSysCommandISponsorFilters.txt' filter file.
This file is located on the “CA WAAE (Autosys) Server” node, under the $IGW_LOC directory.
Default location is: /opt/CA/SharedComponents/iTechnology
You can use the regular expression syntax for adding the required commands. Example :
^autorep(\s.+)?
^jil(\s.+)?
^sendevent(\s.+)?
^ls(\s.+)?
^echo(\s.+)?
^hostname(\s.+)?
^date(\s.+)?
^uptime(\s.+)?
Then you have to restart iGateway by the following commands:
Additional Information:
To stop iGateway, run $IGW_LOC/S99igateway stop
To start iGateway, run $IGW_LOC/S99igateway start