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 :
The command could not be executed. Command processing exception encountered.
Command not allowed due to filter file.
WA AE release 11.3 on Linux
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 :
Then you have to restart iGateway by the following commands:
To stop iGateway, run $IGW_LOC/S99igateway stop
To start iGateway, run $IGW_LOC/S99igateway start