
Environment Variables (UNIX)
ORACLE_SID
: System ID of the database instance
Example:
C11SAPSID
or
sapsid
refers to the name of the R/3 System (SAP System ID).
DBSID
or
dbsid
refers to the name of the database instance (database instance system ID). When a single instance is installed,
SAPSID
and
DBSID
are the same.
ORACLE_HOME
: HOME directory of the Oracle software.
Standard:
/oracle/<DBSID>
SAPDATA_HOME
: Directory of the database files.
Standard:
/oracle/<DBSID>

The variables
ORACLE_SID
,
ORACLE_HOME
and
SAPDATA_HOME
must always be set. There is no default.
The following environment variables must only be set if the corresponding paths deviate from the defaults specified here:
SAPARCH: Directory for the BRARCHIVE logs.
Default value: $SAPDATA_HOME/saparch
- SAPBACKUP
:
Directory for the BRBACKUP logs.
Default value: $SAPDATA_HOME/sapbackup
- SAPCHECK
: Directory for the sapdba -check/analyze logs.
Default value: $SAPDATA_HOME/sapcheck
- SAPREORG
: Directory for all other SAPDBA logs, as well as shell and SQL scripts. It is also the standard directory for export and unload dump files, if the parameter exireo_dumpdir in the profile init<DBSID>.dba is not set.
Default value: $SAPDATA_HOME/sapreorg
- SAPTRACE
: Directory for Oracle trace files and the alert file.
Default value: $SAPDATA_HOME/saptrace
- SAPDATA1
: Directory of the DB data files.
Default value: $SAPDATA_HOME/sapdata1
(Analog for
SAPDATA<n>, n=1,...99).The environment variables SAPDATA<n> must only be defined if directories are used that deviate from the default.
- TWO_TASK
: Identification of a remote database system.
This environment variable must be left unset.
Other environment variables that can be set:
- LINES
: Definition of the screen height.
Recommended height: ³ 24 lines.
- COLUMNS
: Definition of the screen width.
Recommended width: ³ 80 columns
- SAPDBA_DEBUG
: Setting the trace function for error analysis.
See Note 29324 for setting options.