Job fails with "HOME not set" error

Document ID : KB000107126
Last Modified Date : 19/07/2018
Show Technical Document Details
Issue:
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

 
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.