RTSETENV Shell Script
This file is the script designed to be included in a user “.profile” or “.login” script to define the operating environment for the Server. The RTSETENV script sets up the Server daemon or command line environment on login. A sample is in the PSTHOME directory.
The UNIX® operating environment requires certain environment variables to create default settings, as applicable:
PSTHOME=directory
[ PSTINFO=[ directory ] ]
[ ORACLE_HOME=[ directory ] ]
[ TNS_ADMIN=[ directory ] ]
[ RTORACLELIB=[ directory ] ]
[ DB2CODEPAGE=n ]
[ RTDB2PROFILE=[ directory ] ]
[ SYBASE=[ directory ] ]
[ RTSYBASELIB=[ directory ] ]
[ INFORMIXDIR=[ directory ] ]
[ INFORMIXSERVER=server ]
[ INFORMIXSQLHOSTS=[ directory ] ]
Environment Variables
- PSTHOME
- The location of Optim™.
PSTHOME=/opt/IBM/Optim - PSTINFO
- The location of process information files for Optim (all installations). If this
environment variable is not set, it defaults to the following:
PSTINFO=/var/tmp/rt4sSet this variable if you do not have access to /var/tmp, or if you want to direct process information to another location.
Note: All installations of Optim must point to the same location. - ORACLE_HOME
- The location of Oracle.
ORACLE_HOME=/opt/oracle - TNS_ADMIN
- The location of file tnsnames.ora.
TNS_ADMIN=/opt/oracle - RTORACLELIB
- The location of the Oracle API shared objects.
RTORACLELIB=${ORACLE_HOME}/lib - DB2CODEPAGE
- The code page for DB2®.
DB2CODEPAGE=1252 - RTDB2PROFILE
- The location of the DB2 environment
script, db2profile.
RTDB2PROFILE=/opt/db2ad81/sqllib - SYBASE
- The location of Sybase ASE.
SYBASE=/opt/sybase - RTSYBASELIB
- The location of the Sybase ASE API shared objects.
SYBASE=/opt/sybase/syb12/OCS-12_0/lib - INFORMIXDIR
- The location of Informix®.
INFORMIXDIR=/opt/informix - INFORMIXSERVER
- The name of the Informix server when the product was configured.
- INFORMIXSQLHOSTS
- The location of Informix SQLHOSTS.
INFORMIXSQLHOSTS=${INFORMIXDIR} /sqlhosts