would like to standardize how we set envs on our unix box, so I thought a menu would be a great way to accomplish this.
The problem I'm experiencing, is the value is set...but ONLY during the time the menu is initiated.
please see below:
> /home/is/bin/r12MENU.sh
**================================================================**
** to Set your environment, select one of the following: **
** 1.) DEVSID - Development Environments **
** 2.) UATSID - CRP2/UAT Environments **
** 3.) GLDSID - GOLD Environments **
** 4.) APPSSID - PROD Environments **
** e.) EXIT this menu **
**================================================================**
** Enter your response (1, 2, 3, 4 or [e]): 1
**=========================================================**
** You have chosen DEVSID - Development Environments **
** **
** your environment will now be set... **
**=========================================================**
devsid
the devsid you see above is an ECHO within the menu script on oracle_sid.
so I know it's setting the correct env, but only durring the running of the script.
If I perform an echo from command line...it's set to whatever was defined before running the menu.
If I run the individual scripts from CL, it sets my env correctly...so it's not the individual env scripts.
any assistance would be appreciated,
manny