2009-01-13 14:27:53 +01:00
|
|
|
# $RCSfile: ora10,v $
|
2009-01-13 17:59:17 +01:00
|
|
|
# $Revision: 1.2 $
|
2009-01-13 14:27:53 +01:00
|
|
|
# $Name: $
|
2009-01-13 17:59:17 +01:00
|
|
|
# $Date: 2009/01/13 16:59:17 $
|
2009-01-13 14:27:53 +01:00
|
|
|
# $Author: agibert $
|
|
|
|
|
|
|
|
# EnvMng Environment configuration
|
|
|
|
#
|
|
|
|
# description: Oracle 10
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
*profile)
|
2009-01-13 17:59:17 +01:00
|
|
|
export ORACLE_HOME=/home/logiciel/oracle/ora10204
|
2009-01-13 14:27:53 +01:00
|
|
|
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
|
2009-01-13 17:59:17 +01:00
|
|
|
export NLS_LANG=french_france.utf8
|
2009-01-13 14:27:53 +01:00
|
|
|
export NLS_SORT=BINARY
|
|
|
|
export ORACLE_TERM=vt100
|
|
|
|
# export ORACLE_RM=Oracle_XA_9
|
|
|
|
|
|
|
|
export FS01=$PROJECT_HOME/${PROJECT_ID}1
|
|
|
|
export FS02=$PROJECT_HOME/${PROJECT_ID}2
|
|
|
|
export FS03=$PROJECT_HOME/${PROJECT_ID}3
|
|
|
|
|
|
|
|
export ORACLE_SID=$(/usr/bin/awk "BEGIN {print toupper(\"$PROJECT_ID\")}")
|
|
|
|
export BASE=$ORACLE_HOME/dbs/sgadef${ORACLE_SID}.dbf
|
|
|
|
# export CONFIGORAIC=$PROJECT_HOME/appli/expl/oracle/ora_target/init
|
|
|
|
# export EXPLORAIC=$PROJECT_HOME/appli/expl/oracle/ora_target
|
|
|
|
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
# PATH definitions
|
|
|
|
#----------------------------------------------------------------------------
|
2009-01-13 17:59:17 +01:00
|
|
|
path=$ORACLE_HOME/bin
|
|
|
|
libpath=$ORACLE_HOME/lib32:$ORACLE_HOME/lib
|
2009-01-13 14:27:53 +01:00
|
|
|
|
2009-01-13 17:59:17 +01:00
|
|
|
export PATH=$(envmng_path_add "$PATH" "$path")
|
|
|
|
export LIBPATH=$(envmng_path_add "$LIBPATH" "$libpath")
|
2009-01-13 14:27:53 +01:00
|
|
|
;;
|
|
|
|
|
|
|
|
*rc)
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
echo "$0: Invalid command: [$1] !"
|
|
|
|
;;
|
|
|
|
esac
|