AUTO_JOB_NAME variable not being set
search cancel

AUTO_JOB_NAME variable not being set

book

Article ID: 228271

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

Customer has an AIX agent against which they have jobs defined with std_out_file and std_out_error using  

std_out_file: "/log/$AUTO_JOB_NAME.out.`date +"%Y%m%d.%H%M%S"`" 

 

The expectation is to see a file name like this in the job std_out_file:

-rw-r--r--    1 user1 grp1 12680 Nov  5 11:29  test_job_123.out.20211105.112901

 

Instead the file that gets created is

-rw-r--r--    1 user1 grp1 12680 Nov  5 11:29 $AUTO_JOB_NAME.out.`date +\"%Y%m%d.%H%M%S\"`

 

How can this be fixed?

Environment

Release : 11.4.1

Component :

Resolution

agentparm.txt, ensure below parameter is set and is not commented (# sign in front of the line indicates that it is a commented line)

oscomponent.cmdprefix.force=true

 

Once the parameter is set to the above value, restart the agent and retest

 

If the parameter is commented out or missing, the behavior in the above article surfaces.