#-------------------------------------------------------------------#
#Display the path as part of the command prompt                     #
#-------------------------------------------------------------------#
export PS1='$PWD''>'

#-------------------------------------------------------------------#
#Set vi as command line editor                                      #
#-------------------------------------------------------------------#
export VISUAL=vi

PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.

export PATH

if [ -s "$MAIL" ]           # This is at Shell startup.  In normal
then echo "$MAILMSG"        # operation, the Shell checks
fi                          # periodically.

#####################################################################
#####################################################################
##-----------------------------------------------------------------##
##  CHANGE THE BELOW LINE TO POINT TO A DIFFERENT VERSION OF OLAP  ##
##  Use the following format:  olap71fp5  olap81ga  etc            ##               
##-----------------------------------------------------------------##

export ARBORPATH=/home/arbor/olap71fp9

##-----------------------------------------------------------------##
##  CHANGE THE ABOVE LINE TO POINT TO A DIFFERENT VERSION OF OLAP  ##
##  Use the following format:  olap71fp5  olap81ga  etc            ##
##-----------------------------------------------------------------##
#####################################################################
#####################################################################

echo " "
echo " "
echo " "
echo " "
echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
echo " "
echo "  The current version of OLAP is under the following directory:"
echo " "
echo "  $ARBORPATH"
echo " "
echo " "
echo "  To change the OLAP version, modify the .profile to point to a"
echo "  different directory.  The .profile is clearly commented."
echo " "
echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
echo " "
echo " "
echo " "
echo " "
echo "  Welcome to Morpheus!     Red pill? Blue pill? The choice is yours!"
echo " "
echo " "
echo " "

#-------------------------------------------------------------------#
# Set OLAP Environment                                              #
#-------------------------------------------------------------------#
export LIBPATH=$LIBPATH:$ARBORPATH/bin:$ARBORPATH/dlls
export PATH=$PATH:$ARBORPATH/bin:$ARBORPATH/dlls


#-------------------------------------------------------------------#
# Set OIS Environment                                               #
#-------------------------------------------------------------------#

#export ISHOME=$ARBORPATH/is
#export LIBPATH=$LIBPATH:$ISHOME/bin:$ISHOME/odbclib:$ISHOME/islib
#export ISLOADINFO=$ISHOME/loadinfo
#export ODBCINI=$ISHOME/odbclib/odbc.ini
#export PATH=$PATH:$ISHOME/bin:$ISHOME/odbclib

#-------------------------------------------------------------------#
# These Korn shell can be used to setup the environment instead of  #
# manually set up the environment for essbase                       #
# The db2profile is used to setup db2 environment. If a user upgrade#
# from previous version of essbase, then chance is are they should  #
# execute db2profile before essbaseenv.sh and essjava.sh            #
#-------------------------------------------------------------------#
# . /olaptest/db2inst2/sqllib/db2profile  ----Needs modification!
#. /olaptest/olap/essbaseenv.sh  ----Needs modification!
#. /olaptest/olap/essjava.sh  ----Needs modification!




