设置R12.2环境变量后
$ vi .bash_profile
...
. /u01/db/VIS/EBSapps.env
[root@szxft101db06 ~]# su - applvis
E-Business Suite Environment Information
----------------------------------------
RUN File System : /u01/db/VIS/fs1/EBSapps/appl
PATCH File System : /u01/db/VIS/fs2/EBSapps/appl
Non-Editioned File System : /u01/db/VIS/fs_ne
DB Host: szxft101db06.huawei.com Service/SID: VIS
E-Business Suite Environment Setting
------------------------------------
- Enter [R/r] for sourcing Run File System Environment file, or
- Enter [P/p] for sourcing Patch File System Environment file, or
- Enter anything else to exit
Please choose the environment file you wish to source [R/P]: R
Sourcing the RUN File System ...
[applvis@szxft101db06 ~]$ echo $FILE_EDITION
run
[applvis@szxft101db06 ~]$
------------------------------
手工转化到patch file edition :
------------------------------
[applvis@szxft101db06 VIS]$ . EBSapps.env patch
E-Business Suite Environment Information
----------------------------------------
RUN File System : /u01/db/VIS/fs1/EBSapps/appl
PATCH File System : /u01/db/VIS/fs2/EBSapps/appl
Non-Editioned File System : /u01/db/VIS/fs_ne
DB Host: szxft101db06.huawei.com Service/SID: VIS
Sourcing the PATCH File System ...
[applvis@szxft101db06 VIS]$
[applvis@szxft101db06 VIS]$ echo $FILE_EDITION
patch
[applvis@szxft101db06 VIS]$
------------------------------
手工转化到 run file edition :
------------------------------
[applvis@szxft101db06 VIS]$ . EBSapps.env run
E-Business Suite Environment Information
----------------------------------------
RUN File System : /u01/db/VIS/fs1/EBSapps/appl
PATCH File System : /u01/db/VIS/fs2/EBSapps/appl
Non-Editioned File System : /u01/db/VIS/fs_ne
DB Host: szxft101db06.huawei.com Service/SID: VIS
Sourcing the RUN File System ...
[applvis@szxft101db06 VIS]$ echo $FILE_EDITION
run
[applvis@szxft101db06 VIS]$ pwd
/u01/db/VIS
[applvis@szxft101db06 VIS]$
...
. /u01/db/VIS/EBSapps.env
[root@szxft101db06 ~]# su - applvis
E-Business Suite Environment Information
----------------------------------------
RUN File System : /u01/db/VIS/fs1/EBSapps/appl
PATCH File System : /u01/db/VIS/fs2/EBSapps/appl
Non-Editioned File System : /u01/db/VIS/fs_ne
DB Host: szxft101db06.huawei.com Service/SID: VIS
E-Business Suite Environment Setting
------------------------------------
- Enter [R/r] for sourcing Run File System Environment file, or
- Enter [P/p] for sourcing Patch File System Environment file, or
- Enter anything else to exit
Please choose the environment file you wish to source [R/P]: R
Sourcing the RUN File System ...
[applvis@szxft101db06 ~]$ echo $FILE_EDITION
run
[applvis@szxft101db06 ~]$
------------------------------
手工转化到patch file edition :
------------------------------
[applvis@szxft101db06 VIS]$ . EBSapps.env patch
E-Business Suite Environment Information
----------------------------------------
RUN File System : /u01/db/VIS/fs1/EBSapps/appl
PATCH File System : /u01/db/VIS/fs2/EBSapps/appl
Non-Editioned File System : /u01/db/VIS/fs_ne
DB Host: szxft101db06.huawei.com Service/SID: VIS
Sourcing the PATCH File System ...
[applvis@szxft101db06 VIS]$
[applvis@szxft101db06 VIS]$ echo $FILE_EDITION
patch
[applvis@szxft101db06 VIS]$
------------------------------
手工转化到 run file edition :
------------------------------
[applvis@szxft101db06 VIS]$ . EBSapps.env run
E-Business Suite Environment Information
----------------------------------------
RUN File System : /u01/db/VIS/fs1/EBSapps/appl
PATCH File System : /u01/db/VIS/fs2/EBSapps/appl
Non-Editioned File System : /u01/db/VIS/fs_ne
DB Host: szxft101db06.huawei.com Service/SID: VIS
Sourcing the RUN File System ...
[applvis@szxft101db06 VIS]$ echo $FILE_EDITION
run
[applvis@szxft101db06 VIS]$ pwd
/u01/db/VIS
[applvis@szxft101db06 VIS]$
本文转自ITPUB博客tolywang的博客,原文链接:EBS R12.2 EBSapps.env 环境变量 及 run/patch 文件版本切换,如需转载请自行联系原博主。