home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / enolapdb.zip / profile < prev   
Text File  |  2003-01-10  |  4KB  |  90 lines

  1. #-------------------------------------------------------------------#
  2. #Display the path as part of the command prompt                     #
  3. #-------------------------------------------------------------------#
  4. export PS1='$PWD''>'
  5.  
  6. #-------------------------------------------------------------------#
  7. #Set vi as command line editor                                      #
  8. #-------------------------------------------------------------------#
  9. export VISUAL=vi
  10.  
  11. PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.
  12.  
  13. export PATH
  14.  
  15. if [ -s "$MAIL" ]           # This is at Shell startup.  In normal
  16. then echo "$MAILMSG"        # operation, the Shell checks
  17. fi                          # periodically.
  18.  
  19. #####################################################################
  20. #####################################################################
  21. ##-----------------------------------------------------------------##
  22. ##  CHANGE THE BELOW LINE TO POINT TO A DIFFERENT VERSION OF OLAP  ##
  23. ##  Use the following format:  olap71fp5  olap81ga  etc            ##               
  24. ##-----------------------------------------------------------------##
  25.  
  26. export ARBORPATH=/home/arbor/olap71fp9
  27.  
  28. ##-----------------------------------------------------------------##
  29. ##  CHANGE THE ABOVE LINE TO POINT TO A DIFFERENT VERSION OF OLAP  ##
  30. ##  Use the following format:  olap71fp5  olap81ga  etc            ##
  31. ##-----------------------------------------------------------------##
  32. #####################################################################
  33. #####################################################################
  34.  
  35. echo " "
  36. echo " "
  37. echo " "
  38. echo " "
  39. echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
  40. echo " "
  41. echo "  The current version of OLAP is under the following directory:"
  42. echo " "
  43. echo "  $ARBORPATH"
  44. echo " "
  45. echo " "
  46. echo "  To change the OLAP version, modify the .profile to point to a"
  47. echo "  different directory.  The .profile is clearly commented."
  48. echo " "
  49. echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
  50. echo " "
  51. echo " "
  52. echo " "
  53. echo " "
  54. echo "  Welcome to Morpheus!     Red pill? Blue pill? The choice is yours!"
  55. echo " "
  56. echo " "
  57. echo " "
  58.  
  59. #-------------------------------------------------------------------#
  60. # Set OLAP Environment                                              #
  61. #-------------------------------------------------------------------#
  62. export LIBPATH=$LIBPATH:$ARBORPATH/bin:$ARBORPATH/dlls
  63. export PATH=$PATH:$ARBORPATH/bin:$ARBORPATH/dlls
  64.  
  65.  
  66. #-------------------------------------------------------------------#
  67. # Set OIS Environment                                               #
  68. #-------------------------------------------------------------------#
  69.  
  70. #export ISHOME=$ARBORPATH/is
  71. #export LIBPATH=$LIBPATH:$ISHOME/bin:$ISHOME/odbclib:$ISHOME/islib
  72. #export ISLOADINFO=$ISHOME/loadinfo
  73. #export ODBCINI=$ISHOME/odbclib/odbc.ini
  74. #export PATH=$PATH:$ISHOME/bin:$ISHOME/odbclib
  75.  
  76. #-------------------------------------------------------------------#
  77. # These Korn shell can be used to setup the environment instead of  #
  78. # manually set up the environment for essbase                       #
  79. # The db2profile is used to setup db2 environment. If a user upgrade#
  80. # from previous version of essbase, then chance is are they should  #
  81. # execute db2profile before essbaseenv.sh and essjava.sh            #
  82. #-------------------------------------------------------------------#
  83. # . /olaptest/db2inst2/sqllib/db2profile  ----Needs modification!
  84. #. /olaptest/olap/essbaseenv.sh  ----Needs modification!
  85. #. /olaptest/olap/essjava.sh  ----Needs modification!
  86.  
  87.  
  88.  
  89.  
  90.