Was this helpful?
INIT_INGRES
This name applies to the QUEL single-line terminal monitor only. INIT_INGRES points to SET statements within a file that are executed whenever this Ingres environment variable/logical takes effect.
INIT_INGRES affects users who connect to the QUEL terminal monitor. If set globally, it affects all users. If set interactively or locally, it affects only this user.
Windows: Global setting is with ingsetenv, or locally in the user’s environment.
UNIX: Global setting is with ingsetenv, or locally in the user’s .login, .profile, or .cshrc file.
VMS: Global setting is with define/system, define/group, or locally with define/process in the user’s login.com file.
Setting INIT_INGRES variable/logical is equivalent to a user’s executing \i filename in the QUEL terminal monitor each time they connect to a database.
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”.
Last modified date: 01/30/2023