4. Setting Environment Variables and Logicals : Customization of Query Runtime Environment : INIT_INGRES : Example: Set INIT_INGRES
 
Share this page                  
Example: Set INIT_INGRES
To define this Ingres environment variable/logical use the following command entered at the operating system prompt:
Windows:
SET INIT_INGRES=path_to_file
For example:
SET INIT_INGRES= c:\user\mystartfile
UNIX:
C Shell:
setenv INIT_INGRES path_to_file
For example:
setenv INIT_INGRES /usr/george/mystartfile
Bourne Shell:
INIT_INGRES=path_to_file export INIT_INGRES
For example:
INIT_INGRES=/usr/george/mystartfile export INIT_INGRES
VMS:
define INIT_INGRES path_to_file
For example:
DEFINE /PROCESS INIT_INGRES ā€‘   DUA1:[USER.GEORGE]MYSTART.FILE
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 semicolon (;). You must end the entire file with ā€œ\gā€.