title: SAS Enviromental variable Issue
body: <p>Please help me to resolve the issue. issue with <code>SAS</code> deployment on <code>HP UNIX</code></p>
  
  <pre><code>        server :- Hp unix
          user= sas
  
      while executing schedule job in sas management console We found below error in
          /SASWORK/ediserver/Lev1/Logs/STG_CONTROL_STATS_PRE_PROD_TEST_SRC_XTC_LD_STG_CONTROL_STATISTICS_PRE_PROD_ 
  
     ******************************************************************************
  2           * Job:             SRC_XTC_LD_STG_CONTROL_STATISTICS       A5LO570L.BB000482 *
  3           * Description:                                                               *
  4           *                                                                            *
  5           * Metadata Server: 10.11.32.205                                              *
  6           * Port:            8561                                                      *
  7           * Location:        /Users/tcsdev/My Folder/UTI_PRE_PROD/UTI_STG              *
  8           *                                                                            *
  9           * Server:          SASApp                                  A5LO570L.AR000002 *
  10          *                                                                            *
  11          * Source Table:    ControlStatistics -                     A5LO570L.BP00003D *
  12          *                  /SASWORK/unnati/SASTCS_DAILY_LOAD/KAR                     *
  13          *                  VY/ControlStatistics                                      *
  14          * Target Table:    STG_CONTROL_STATISTICS -                A5LO570L.BJ0003WN *
  15          *                   prepdstg.STG_CONTROL_STATISTICS                          *
  16          *                                                                            *
  17          * Generated on:    Wednesday, January 13, 2016 3:44:37 PM IST                *
  18          * Generated by:    tcsdev                                                    *
  19          * Version:         SAS Data Integration Studio 4.21                          *
  20          ******************************************************************************/
  
  Error in file
  
  ERROR: Could not load /SASINST/SAS/SASFoundation/9.2/sasexe/sasora (54 images loaded)
  ERROR: Unable to find library 'libclntsh.so.10.1'.
  107        LIBNAME &amp;STG_LIB_STR;
  ERROR: The SAS/ACCESS Interface to ORACLE cannot be loaded. ERROR: Image SASORA   found but not loadable.
  ERROR: Error in the LIBNAME statement.
  </code></pre>
  
  <p>File content for reference </p>
  
  <pre><code>        #cat /SASINST/SAS/SASFoundation/9.2/bin/sasenv_local
  
          #!/bin/sh -p
          #
          # This file is used to define local environment variables that are used
          # with SAS.  These values will override the default values in sasenv.
          # User modifications made to this file will NOT be overwritten by the SAS
          # installation program as the system default values file are.
  
  
          ORA_HOME=/SASINST/OraHome_1
              export ORA_HOME
  
          ORACLE_HOME=/SASINST/ODBC/OraHome_1
          export ORACLE_HOME
  
  LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/SASINST/SAS/DataFluxIntegrationServer/8.1/etc:/SASINST/OraHome_1/lib:/SASINST/SAS/SASFoundation/9.2/sasexe
              export LD_LIBRARY_PATH
  </code></pre>
  
  <p>profile File content for reference</p>
  
  <pre><code> cat /home/sas/.profile
  
          LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/SASINST/SAS/DataFluxIntegrationServer/8.1/etc:/SASINST/OraHome_1/lib:/SASINST/SAS/SASFoundation/9.2/sasexe
          export LD_LIBRARY_PATH
  </code></pre>