When running a job that performs a 'sendevent' command, following error is found back :
/opt/CA/WAAE_11.3.6/SystemAgent/WA_AGENT/spool/ACE_SCH/MAIN/WAAE_WF0.1/113.25_1.8CA26E853423B55E91CDB16D0380E7E8DB8C8829.sh: line 2: sendevent: command not found
We are trying to set 'sendevent' before we run our daily jobs. Below is the 'sendevent' command we are trying to run.
#!/bin/sh
sendevent -E SET_GLOBAL -G "GDPDATE=`date "+%y%m%d"`"
Workload Automation AE (AutoSys)
Check out if you have following lines in your agentparm.txt file, if not, please add
#
# Added by WAAE Add Instance
#
oscomponent.environment.variable_manager_ACE_SCH=/opt/CA/WAAE_11.3.6/SystemAgent/WA_AGENT/profiles/ACE.txt
The file "/opt/CA/WAAE_11.3.6/SystemAgent/WA_AGENT/profiles//ACE.txt should contain following line:
EWAGLOBALPROFILE=/etc/auto.profile