ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

AUTO_JOB_NAME variable not being set


Article ID: 228271


Updated On:


CA Workload Automation AE


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?


Release : 11.4.1

Component :


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



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.