Job fails with "HOME not set" error

book

Article ID: 107126

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

After a Job fails, the output file reports a "Home not set" or "<Variable> not set" error. Below is an example error:
   
Standard error ===========================
$AW_HOME/bin/sqloper.ini: line 13: cd: HOME not set

 

Environment

Release:
Component: APPMGR

Resolution

Applications Manager does not set a HOME variable. This is set on the OS level. If a custom script calls for a HOME variable, a HOME variable must be defined and set in the environment. This applies to all OS level or customer environment variables.

Applications Manager specific environment variables are set via the $AW_HOME/site/sosite or %AW_HOME%\site\sosite.bat files.