ORACLE_HOME
. Set the variable to the Oracle client installation directory. For example, if the client is installed in the /HOME2/oracle directory. set the variable as follows:
$ ORACLE_HOME=/HOME2/oracle; export ORACLE_HOME
$ setenv ORACLE_HOME /HOME2/oracle
NLS_LANG
. Set the variable to the locale (language, territory, and character set) you want the database client and server to use with the login. The value of this variable depends on the configuration. For example, if the value is american_america.UTF8, set the variable as follows:
$ NLS_LANG=american_america.UTF8; export NLS_LANG
$ NLS_LANG american_america.UTF8
To determine the value of this variable, contact the administrator.
ORA_SDTZ
. To set the default session time zone when the Data Integration Service reads or writes the Timestamp with Local Time Zone data, specify the ORA_SDTZ environment variable.
You can set the ORA_SDTZ environment variable to any of the following values:
Operating system local time zone ('OS_TZ')
Database time zone ('DB_TZ')
Absolute offset from UTC (for example, '-05:00')
Time zone region name (for example, 'America/Los_Angeles')
You can set the environment variable at the machine where Informatica server runs.
TNS_ADMIN
. If the tnsnames.ora file is not in the same location as the Oracle client installation location, set the TNS_ADMIN environment variable to the directory where the tnsnames.ora file resides. For example, if the file is in the /HOME2/oracle/files directory, set the variable as follows:
$ TNS_ADMIN=$HOME2/oracle/files; export TNS_ADMIN
$ setenv TNS_ADMIN=$HOME2/oracle/files
By default, the
tnsnames.ora
file is stored in the following directory:
$ORACLE_HOME/network/admin
.
PATH
. To run the Oracle command line programs, set the variable to include the Oracle bin directory.
$ PATH=${PATH}:$ORACLE_HOME/bin; export PATH
$ setenv PATH ${PATH}:ORACLE_HOME/bin