All pastes #639427 Raw Edit

Mine

public text v1 · immutable
#639427 ·published 2007-07-30 15:44 UTC
rendered paste body
root@mtlcsa01(/home/db2inst1) # more .profile
# Get our root profile
#
#if [ -f /opt/IBM/profile-cm.sh ]; then
#        . /opt/IBM/profile-cm.sh
#fi

export DSMI_DIR=/usr/tivoli/tsm/client/api/bin
export DSMI_CONFIG=/home/db2inst1/tsm/dsm.opt
export DSM_CONFIG=/home/db2inst1/tsm/dsm.opt
export DSMI_LOG=/home/db2inst1/tsm/
export PATH=$PATH:$DSMI_DIR

# The following three lines have been added by UDB DB2.
if [ -f /home/db2inst1/sqllib/db2profile ]; then
    . /home/db2inst1/sqllib/db2profile
else
    echo "db2 profile not found!"
fi

# CM Env
if [ -f /opt/IBM/db2cmv8/bin/cmbenv81.sh ]; then
    . /opt/IBM/db2cmv8/bin/cmbenv81.sh
else
    echo "cm profile not found!"
fi

# CSTextSearch
export LIBPATH=/opt/CSTextSearch/lib:$LIBPATH
if [ -f /opt/CSTextSearch/cfg/cstsenv.ksh ]; then
    . /opt/CSTextSearch/cfg/cstsenv.ksh
else
    echo "CST profile not found!"
fi


root@mtlcsa01(/home/db2fenc1) # more .profile
# Get our root profile
#
#if [ -f /opt/IBM/profile-cm.sh ]; then
#        . /opt/IBM/profile-cm.sh
#fi
# The following three lines have been added by UDB DB2.
if [ -f /home/db2inst1/sqllib/db2profile ]; then
    . /home/db2inst1/sqllib/db2profile
else
    echo "db2 profile not found!"
fi

# CM Env
if [ -f /opt/IBM/db2cmv8/bin/cmbenv81.sh ]; then
    . /opt/IBM/db2cmv8/bin/cmbenv81.sh
else
    echo "cm profile not found!"
fi

# CSTextSearch
export LIBPATH=/opt/CSTextSearch/lib:$LIBPATH
if [ -f /opt/CSTextSearch/cfg/cstsenv.ksh ]; then
    . /opt/CSTextSearch/cfg/cstsenv.ksh
else
    echo "CST profile not found!"
fi