简体   繁体   中英

Autosys: environment variables are not detected

jil file contains below profile location:

profile: /apps/properties/autosys_env.rc

Following environment variables are set in autosys_env.rc file:

JAVA_HOME=/apps/java/jdk1.7.0_51
export JAVA_HOME
ENV_MODE=DEV
export ENV_MODE
PATH=$JAVA_HOME/bin:$PATH
export PATH

But, environment variables are not detected on executing jil.

It was not working because I was creating autosys_env.rc file in windows and then copy it into unix machine using Winscp and Putty.

It seems windows has some characters that are not supported in unix.

So, it works after creating autosys_env.rc file in vi editor.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM