chase command gives error below.
CAUAJM_E_10051 The environmental variable AUTOUSER is not set.
CAUAJM_E_50032 Environment/Configuration setup failed!
insert_job: Test-Chase-Command job_type: cmd
machine: host1234
owner: autosys
group: TestB
alarm_if_fail: y
alarm_if_terminated: y
send_notification: n
std_out_file: /opt/CA/joblogs/chase.out
std_err_file: /opt/CA/joblogs/chase.err
command: /opt/CA/WorkloadAutomationAE/autosys/bin/chase -A -E
Release : 12.0
You need to source the $AUTOUSER/autosys.sh.<hostname> file to set the needed environment variables for any autosys commands.
Include the autosys.sh.<hostname> file as the profile for the job definition.
Example:
insert_job: Test-Chase-Command job_type: cmd
machine: host1234
owner: autosys
group: TestB
alarm_if_fail: y
alarm_if_terminated: y
send_notification: n
std_out_file: /opt/CA/joblogs/chase.out
std_err_file: /opt/CA/joblogs/chase.err
command: /opt/CA/WorkloadAutomationAE/autosys/bin/chase -A -E
profile: /opt/CA/WorkloadAutomationAE/autouser.ACE/autosys.sh.host1234