Workload Automation AE
If the agent is installed on the same server as the scheduler OR if there is a client installed with the agent, the JAVA_HOME gets set when the auto.profile gets sourced. In the auto.profile, we source the Autosys host environment script:
case $AUTOSERV in
ACE)
AUTOUSER=/opt/CA/WorkloadAutomationAE/autouser.ACE
test -f $AUTOUSER/autosys.sh.test-example.com &&
. $AUTOUSER/autosys.sh.test-example.com <<<<<<<
;;
esac