Skip Headers
Oracle® Database User's Guide
10g Release 2 (10.2) for Fujitsu Siemens BS2000/OSD

Part Number E10320-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

B ORAENV Variables

This appendix describes each variable that can be specified in the ORAENV file.

The variables fall into the following three classes:

Class Description
DBA These variables are for database administration purposes. Most DBA variables are evaluated only during database startup.
USER These variables can be specified by ordinary users as well as by the DBA. When these variables are specified in a particular user's ORAENV file, they modify that user's environment only.
NET These variables apply to Oracle Net Services components. These variables should be included in the ORAENV file of the DBA.

The class (or classes) to which a variable belongs is noted in the variable descriptions in this appendix.

Any DBA or NET variables specified in an ordinary user's ORAENV file are ignored.

B.1 ORAENV Rules

You should consider the following general rules when writing ORAENV files:

B.2 Built-in Variables

The following variables are always defined, and may be referenced in other variable assignments:

B.2.1 LOGNAME

The LOGNAME variable always contains the current BS2000 user ID. You cannot alter the value of this variable by assigning a different value to it in the ORAENV file.

B.2.2 ORAUID

This variable specifies the BS2000 user ID where the Oracle Database programs, installation and demonstration files are installed. The initial value is derived from the ORALOAD link name (the user ID part of the ORALOAD library name). This value is usually correct, but if necessary, you can override it by assigning a different value to it in the ORAENV file.

Format:

ORAUID=$userid or ORAUID=/BS2/$userid

B.2.3 PGM

The PGM variable always contains the last part of the current START_PROGRAM program name. You cannot alter the value of this variable by assigning a different value to it in the ORAENV file.

B.2.4 TERM

The TERM variable contains the terminal type, and defaults to 'SNI9750'. This default value is usually correct, but if necessary, you can override it by assigning a different value to it in the ORAENV file.

B.2.5 TSN

The TSN variable contains the task sequence number of the current task. You cannot alter the value of this variable by assigning a different value to it in the ORAENV file.

B.3 General Variables

The variables described in the following sections are for general, day-to-day use by Oracle database administrators and users.

B.3.1 CLN_BASE

This variable specifies the address of the shared code pool of customer written database applications for CORE, NLS, and NET.

Format:

CLN_BASE=address

Classification:

USER

Default:

CLN_BASE=37M

B.3.2 CLN_MPID

This variable specifies the identification of the shared code pool of customer written database applications for CORE, NLS, and NET.

Format:

CLN_MPID=sid

Classification:

USER

Default:

CLN_MPID=&ORASID

B.3.3 DEFAULT_CONNECTION

This variable provides a default host string for connect requests where no host string is specified. If you always connect to the same database, then it may be convenient to specify this. This value should contain everything you would otherwise specify after the at character (@).

Format:

DEFAULT_CONNECTION=host-string

Classification:

USER

Example:

DEFAULT_CONNECTION=TNS: 
(DESCRIPTION= (ADDRESS= 
(PROTOCOL=TCP) 
(HOST=MADRID) 
(PORT=1521)) 
(CONNECT_DATA= 
(SERVICE_NAME=PROD)))

B.3.4 EXP_CLIB_FILE_IO

This variable should be set to FALSE when you use the Export utility to overcome a problem with the C library functions when an export file is written to tape.

Format:

EXP_CLIB_FILE_IO=FALSE

Classification:

USER

Default:

EXP_CLIB_FILE_IO=TRUE

B.3.5 IMP_CLIB_FILE_IO

This variable should be set to FALSE when you use the Import utility to overcome a problem with the C library functions when an import file is read from tape.

Format:

IMP_CLIB_FILE_IO=FALSE

Classification:

USER

Default:

IMP_CLIB_FILE_IO=TRUE

B.3.6 IMP_USERID_IGNORE

This variable is obsolete.

B.3.7 NLS_LANG

This variable specifies the default language and character set. For example:

NLS_LANG=GERMAN_GERMANY.D8BS2000

Format:

NLS_LANG=language_territory.character-set

Classification:

USER, DBA

Default:

NLS_LANG=AMERICAN_AMERICA.WE8BS2000

B.3.8 OPS_JID

This variable is used for concatenation with the OS_AUTHENT_PREFIX see initialization parameter. The default value concatenates the value of the parameter OS_AUTHENT_PREFIX with the BS2000 user ID. Using OPS_JID, you can specify that the BS2000 job name (/.jobname LOGON...) is used instead. This is useful when many users are sharing one BS2000 user ID.

Format:

OPS_JID=userid/jobname

Classification:

DBA

Default:

userid

B.3.9 ORADUMP

This variable specifies the dump file for the Oracle Database and user trace output.

Format:

ORADUMP=dump-file

Classification:

USER, DBA

Default:

ORADUMP=OTRC.?.&TSN..&PGM..TRC

Example:

ORADUMP=(SYSOUT)

This assignment redirects the trace output to SYSOUT.

B.3.10 ORASID

This variable defines the database that will be used if no database identification is given at connect time.

Format:

ORASID=sid (sid is a characterstring where 1 <= length <= 4)

Classification:

USER, DBA

Note:

This variable is mandatory for the Oracle Database tasks, the background tasks, and the network tasks - it defines the database on which they are operating. It is not essential that a user sets ORASID, because the required database can always be specified in the connect string.

B.3.11 PRINTPAR

This variable specifies optional variables for the /PRINT command issued for SPOOL OUT spool files. Using this variable, the user can modify the spooled job, and, for example, route the job to a remote printer, add print options for laser printers, and so on. The BS2000 /PRINT command for spool files is issued as follows:

/PRINT temp.spoolfile,&PRINTPAR

Format:

PRINTPAR=print-options

Classification:

USER

B.3.12 SQLPATH

This variable specifies a path where SQL*Plus will look for command files. Elements of the path are separated by semicolons (;).

For example,

SQLPATH=PRIVATE;$ORAC1020

This assignment will cause SQL*Plus to look for filename.SQL , then for PRIVATE.filename.SQL, and finally for $ORAC1020.filename.SQL.

Format:

SQLPATH=search-path

Classification:

USER, DBA

B.3.13 SSSIDPWF

This variable specifies the password file for remote instance start. For further information, refer to Chapter 5, "Administering the Oracle Database"in the Oracle Database Installation and Administration Guide for Fujitsu Siemens BS2000/OSD .

Format:

SSSIDPWF=password-file

Classification:

DBA

B.4 DBA Startup Variables

The following variables are used during database and network startup. They supplement (and in some cases provide defaults for) variables contained in the initialization file.

It is recommend that database startup and shutdown, background jobs, and network jobs should all refer to the same ORAENV file to ensure that the variables are consistent.

Note that the default values listed in the following sections are built-in defaults; most of them are over-ridden by settings in the shipped DEMO.P.ORAENV.

B.4.1 Address and Size Specification

Several of the variables described in this section define memory addresses and sizes. The notation used to specify these items is as follows:

  • a number with no modifiers is interpreted as a decimal number

  • a number followed by K or M is interpreted as a decimal number multiplied by 1024 or 1048576 (1024*1024) respectively

  • a number enclosed in single quotation marks and preceded by the letter X is interpreted as a hexadecimal number

For example, the following all set the KNL_BASE variable to 8M:

KNL_BASE=8M KNL_BASE=8388608 KNL_BASE=X'800000'

B.4.2 ALARM_TIMER_LIMIT

This variable is obsolete.

B.4.3 BGJPAR

This variable specifies the parameters for the ENTER-PROCEDURE command used when starting background jobs. The ENTER-PROCEDURE command is used to submit jobs as follows:

.jobname ENTER-PROCEDURE jobfile, &BGJPAR

Format:

BGJPAR=parameters

Classification:

DBA

Note:

The BGJPAR variable is usually set up by the installation procedure.

B.4.4 BGJPRC_UID / BGJPRC_SID

These variables specify the user ID and orasid of the file for the background enter jobs. If the use of a special enter job file is desired, then the parameters must be set to the desired userid and orasid.

Format:

BGJPRC_UID=$userid BGJPRC_SID=sid

Classification:

DBA, NET

Default:

BGJPRC_UID=&ORAUID BGJPRC_SID=DEMO

B.4.5 BGJ_LOG_JOBSTART

This variable specifies whether the operating system message that a new job was accepted should be logged on SYSOUT or not.

Format:

BGJ_LOG_JOBSTART=Y/N

Classification:

DBA, USER, NET

Default:

BGJ_LOG_JOBSTART=N

B.4.6 sid _BGJPAR

This variable specifies the parameters, which will be used by the ENTER-PROCEDURE command to start a server process for the instance specified by sid.

Format:

sid _BGJPAR=parameters

Syntax:

sid, a string of at most 4 alphanumeric characters

parameters, parameters for the ENTER-PROCEDURE command as described in the BS2000/OSD commands

Classification:

DBA, USER, NET

B.4.7 sid _USER

This variable specifies the USER-ID where the instance assigned by sid resides.

Format:

sid _USER=userid

Syntax:

sid, a string of at most 4 alphanumeric characters

userid, a string of at most 8 alphanumeric characters which follows the rules of a BS2000/OSD USER-ID.

Classification:

DBA, USER, NET

B.4.8 user _ACCOUNT / user _PASSWORD

These parameters define credentials of a USER-ID, which will be used by the ENTER-PROCEDURE command to start a process.

Format:

user _ACCOUNT=account user _PASSWORD=password

Syntax:

user, a string of at most 8 alphanumeric characters which follows the rules of a BS2000/OSD USER-ID and must match a USER-ID defined by the parameter sid _USER.

account, a string of at most 8 alphanumeric characters which follows the rules for a BS2000/OSD account number.

password, a string of at most 8 alphanumeric characters which follows the rules for a BS2000/OSD password.

Classification:

DBA, NET

B.4.9 COM_MPID

This parameter specifies the identification of the shared code pool of the Oracle instance for CORE, NLS, NET.

Format:

COM_MPID=sid

Classification:

USER, DBA

Default:

COM_MPID=&ORASID

B.4.10 COM_BASE

This parameter specifies the address of the shared code pool of the Oracle instance for CORE and NLS

Format:

COM_BASE=address

Classification:

DBA

Default:

COM_BASE=37M

B.4.11 ENABLE_RAC

This variable specifies if the instance can run in RAC mode (Refer to Oracle Database Installation and Administration Guide for Fujitsu Siemens BS2000/OSD).

Format:

ENABLE_RAC=TRUE/FALSE

Classification:

DBA

Default:

ENABLE_RAC=FALSE

B.4.12 JOBID

This variable is used internally in identifying the background tasks and generating task-specific names. You will see it in some places, but you should never specify it yourself.

Classification:

DBA

B.4.13 KNL_BASE

This variable gives the base address where the shared memory pool is mapped in memory. This must be an integral number of megabytes.

Format:

KNL_BASE=address

Classification:

DBA

Default:

KNL_BASE=72M

B.4.14 ORACLE_HOME

This parameter specifies a directory in the POSIX file system which is used for installation and operation purposes of Java and Oracle Intelligent Agent (for more information refer to "Installation and Administration Guide".)

Format:

ORACLE_HOME=/path-name

Classification:

DBA

Default:

ORACLE_HOME=/orac1020

B.4.15 PGA_BASE

This variable specifies the base address of the fixed part of the PGA. The PGA is task-specific, but must be located at a fixed memory address so that the kernel can access it. The base address must lie on a 64Kb boundary.

Format:

PGA_BASE=address

Classification:

DBA

Default:

PGA_BASE=189M

Note:

The value of PGA_BASE is taken from the kernel if the shared kernel is already loaded.

B.4.16 PGA_SIZE

This variable specifies the size of the fixed part of the PGA. This variable should not be changed from its default value.

Format:

PGA_SIZE=size

Classification:

DBA

Default:

PGA_SIZE=64K

Note:

The value of PGA_SIZE is taken from the kernel if the shared kernel is already loaded.

B.4.17 SF_PBLKSIZE

This variable specifies the physical block size of redo log files.

Format:

SF_PBLKSIZE=2K|4K

Classification:

DBA

Default:

2K

Note:

This variable cannot be changed after database creation. Once you specify a value different from the default, you must specify it in all future calls.

B.4.18 SGA_BASE

This variable gives the address where the SGA is mapped into memory, and must represent a megabyte-boundary.

Format:

SGA_BASE=address

Classification:

DBA

Default:

SGA_BASE=190M

Note:

The value of SGA_BASE is read from the kernel if the shared kernel is already loaded. There is no corresponding SGA_SIZE variable; the size of the SGA memory pool is calculated when the database is started.

B.4.19 SGA_ROUND

This variable is obsolete.

B.5 Oracle Net Services Variables

The following are the Oracle Net Services variables:

B.5.1 BREAK_HANDLING

This variable deactivates the signal routine for user interrupts, which sends a break over the network. An interrupt can be released by pressing the [K2] key.

Format:

BREAK_HANDLING=ON|OFF

Classification:

DBA, USER, NET

Default:

BREAK_HANDLING=ON

B.5.2 TNS_ADMIN

This variable specifies the user ID of the Oracle Net Services configuration files. For example, LISTENER.ORA, TNSNAMES.ORA, and SQLNET.ORA. If TNS_ADMIN is not defined, then the configuration files are searched under the local user ID with the prefix NETWORK.ADMIN.

Format:

TNS_ADMIN=$userid.

Classification:

USER, DBA, NET

B.5.3 TNS_BEQ_TIMEOUT

This variable specifies the time after which a connection between a parent and a child process is closed if there is no communication between them.

Format:

TNS_BEQ_TIMEOUT=lifetime (in seconds)

Classification:

NET

Default:

TNS_BEQ_TIMEOUT=180

B.5.4 TNS_UPDATE_IPNODE

This variable forces the Oracle Net software to change always the server's IP-Node name to an IP-Node address.

Format:

TNS_UPDATE_IPNODE=TRUE/FALSE

Classification:

NET

Default:

TNS_UPDATE_IPNODE=FALSE