The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 01-24-2007
isingh786 isingh786 is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 75
trying to be more clear

Hi SB008,

I know, I wasn't sure in my first post. This is a oracle applications env and there are two env's.

$FND_TOP=/d02/app/applmgr/wdev/fnd/11.5.0
$CDCRM_top==/d02/app/applmgr/wdev/cdcrm/11.5.0

Now the above mentioned values are for wdev database.

let's say that for wbfix env the env's are going to be following:

$FND_TOP=/d02/app/apwbfix/wbfix/fnd/11.5.0
$CDCRM_top==/d02/app/apwbfix/wbfix/cdcrm/11.5.0

Now, I have to create a global script which can be run against any of the above env's for creating the soft links.

and the command I am using for soft links is :

ln -s /d02/app/applmgr/wdev/fnd/11.5.0/fndcpesr /d02/app/applmgr/wdev/cdcrm/11.5.0/app_soft_link1

and these paths are going to change with each env.

so I am kind of confused whether to use case, but than again you have to change the script everytime you add database and this script can't be used for different servers. So If somehow I can get these values from the env itself.

one more thing, If I have these variables set, is it possible to get those into the script.

TIA,
Inder