Chase command error - CAUAJM_E_10051 The environmental variable AUTOUSER is not set.
search cancel

Chase command error - CAUAJM_E_10051 The environmental variable AUTOUSER is not set.

book

Article ID: 256963

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

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

Environment

Release : 12.0

Resolution

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