Oracle Network Products Getting Started Release 2.3.4 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
Note:
There can be no embedded spaces before or after the equal (=) sign. Inserting a space causes SQL*Net to ignore the command. |
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 the ORACLE.INI file:
ORACLE_HOME=C:\ORAWIN SQLPATH=C:\ORAWIN SQLNET DBNAME FINANCE=T:MARKET
See the sections, "LOCAL" and "REMOTE" in "Understanding Configuration Parameters" for explanations of these parameters.
Configuration parameters you can take advantage of are:
The default and legal values for LOCAL are:
Default | Legal Value |
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 |
Note:
If a connect string is not issued, 2: is used. The following error message appears if a default database does not exist: ORA-00342: Unable to connect to default Host |
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.
Note:
If you are using Oracle version 6 tools, edit your AUTOEXEC.BAT to include ORAWIN\BIN in the path statement. This allows version 6 tools to access SQL*Net. |
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 Value |
AMERICAN_AMERICA.WE8ISO8859P1 | supported languages, territories, and character sets |
Additional Information: See the Oracle7 Server Reference Manual. |
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 |
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 |
Note: This parameter is only used with the Oracle TCP/IP Protocol Adapter. |
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 © 1997 Oracle Corporation. All Rights Reserved. |
Library |
Product |
Contentss |
Index |