4. Setting Environment Variables and Logicals : Customization of Query Runtime Environment : DBNAME_ING : Example: Set DBNAME_ING
 
Share this page                  
Example: Set DBNAME_ING
To define this Ingres environment variable, use the following command syntax at the operating system prompt:
Windows:
set DBNAME_ING=path_to_file
where:
DBNAME is the name of the database and must be in uppercase.
For example:
set MYDB_ING= D:\usr\george\mystartfile
UNIX:
C Shell:
setenv DBNAME_ING path_to_file
Bourne Shell:
DBNAME_ING=path_to_file export DBNAME_ING
where:
DBNAME is the name of the database and must be in uppercase.
For example:
setenv MYDB_ING /usr/george/mystartfile
The file contains lines in the following format:
set lockmode session where readlock = nolock \g
This file contains the SET statements. If you have several set statements, separate the statements with a space. You must end the entire file with ā€œ\gā€.