Sendevent command not found when running a job

book

Article ID: 141552

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) CA Workload Automation Agent CA Workload Automation AE

Issue/Introduction

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"`"

 

Environment

Release : 11.3.6

Component : CA Workload Automation AE (AutoSys)

Resolution

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