Search This Blog

Thursday, February 16, 2012

Environment Variables (Windows) for Oracle database and BR*Tools

Environment variables define parameter values used by the Oracle database and BR*Tools. This section describes the variables used when the operating system is Windows.


The database uses the parameter values for many different purposes. BR*Tools also uses the parameter values.


The following variables are required:

·        ORACLE_SID

System ID of the database instance

Example: C11

SAPSID or sapsid refers to the 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: <drive>:\orant\<database version>

Example: D:\orant\ora102

·        SAPDATA_HOME

Directory of the database files.

Standard: <drive>:\oracle\<DBSID>

Example: E:\oracle\C11


The variables ORACLE_SID 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 logs from BRBACKUP, BRRESTORE, and BRRECOVER.

Default value: %SAPDATA_HOME%\sapbackup

·        SAPCHECK

Directory for the BRCONNECT logs.

Default value: %SAPDATA_HOME%\sapcheck

·        SAPREORG

Directory for the BRSPACE logs. It is also the standard directory for export dump files, if the parameter exp_dump_dir in the profileinit<DBSID>.sap 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 database data files.

Default value: %SAPDATA_HOME%\sapdata1

(The same for SAPDATA<n>, n=1,...99).


You can distribute the SAPDATA directories across several different drives, without defining the environment variables SAPDATA<n>. The environment variables only have to be defined individually if directory names are used that deviate from the default.

For example: SAPDATA1= F:\data\prod\sapdata1.


Other environment variables that you can set for BR*Tools:

·        BR_LINES

Definition of the number of lines in list menus.

Recommended height: ³ 20 lines.

·        BR_LANG

Definition of the message language:

¡        E: English

¡        D: German

·        BR_TRACE

Setting the trace function for error analysis. For more information, see SAP Note 29321.

No comments:

Post a Comment