Oracle Network Products Getting Started for Windows Platforms | ![]() Library |
![]() Product |
![]() Contents |
![]() Index |
This Oracle configuration file can be placed anywhere in your system and is located by the pointer set by ORA_CONFIG in the Oracle group, [ORACLE], in the WIN.INI file. These parameters for Windows cannot be reset at the command line.
Configuration parameters also determine the driver to use for network communications and the values for SQL*Net to use for its operating parameters.
Each line of a configuration file specifies one parameter value in the following format:
PARAMETER=VALUE
|
ORACLE_HOME=C:\ORAWINYou can modify the contents of a configuration file with any text editor or word processor. Remember that if you are using a word processor to edit Oracle files, you must save the file as an ASCII text file, not as a document file.
After installing an Oracle product, you can reset configuration file parameter values in two ways:
ORACLE_HOME=C:\ORAWIN
SQLPATH=C:\ORAWIN
SQLNET DBNAME FINANCE=T:MARKET
C:\> SET ORACLE_HOME=C:\ORAWIN2Setting a parameter in this manner is temporary. The parameter is only set for the current login session.
See the sections, "LOCAL" and "REMOTE" in "Understanding Configuration Parameters" for explanations of these parameters.
The default and legal values for LOCAL are:
Default | Legal Values |
2: Specifies a two-task driver to connect to a Personal Oracle7 database, which is available for 16-bit SQL*Net when running on Windows 95. | TNS prefix |
ORA-00342: Unable to connect to default Host |
The syntax for the LOCAL parameter is:
LOCAL=service_nameThe following example shows the usage of the LOCAL parameter:
LOCAL=GREENwhere GREEN is the service name located in the TNSNAMES.ORA file located at ORAWIN\NETWORK\ADMIN.
|
To use the server specified by LOCAL, enter:
SQLPLUS SCOTT/TIGERSQL*Net check for LOCAL=service_name in the ORACLE.INI file. If it exists, SQL*Net connects.
The default and legal values for NLS_LANG are:
Default | Legal Values |
AMERICAN_AMERICA.WE8ISO8859P1 | supported languages, territories, and character sets |
|
This directory is the top directory in the Oracle directory hierarchy. The default and legal values for ORACLE_HOME are:
Default | Legal Values |
ORAWIN | any Windows directory on any drive |
The default and legal values for REMOTE are:
Default | Legal Values |
None | any valid TNS parameters |
This parameter can include the default parameters (complete connect descriptors). For example:
REMOTE=PIPER_SERVERwhere PIPER_SERVER is the service name in the TNSNAMES.ORA file located at ORAWIN \NETWORK\ADMIN.
To use the server specified by REMOTE, enter:
C>SQLPLUS SCOTT/TIGER@REMOTEIf a user logs on and specifies a connection with an explicit driver prefix matching the one specified in REMOTE, but specifies no connect descriptor parameters, the parameters specified in REMOTE are used. This configuration parameter enables the DBA to define a "normal" network connection for which the SQL*Net user need not specify connection parameters.
The default and legal values for SQLPATH are:
Default | Legal Values |
None | any directory on any drive |
The default and legal values for TCP_VENDOR are:
Default | Legal Values |
None | any valid vendor key for a supported JSB transport |
|
The default and legal values for TNS_ADMIN are:
Default | Legal Values |
ORACLE_HOME\ NETWORK\ADMIN | any valid directory |
You can have more than one set of message files and use this parameter to name the set for a particular Oracle configuration.
The default and legal values for UTILITY_MSG are:
Default | Legal Values |
ORACLE_HOME\DBS | any directory |
![]() ![]() Prev Next |
![]() Copyright © 1996 Oracle Corporation. All Rights Reserved. |
![]() Library |
![]() Product |
![]() Contents |
![]() Index |