Was this helpful?
ING_SYSTEM_SET
This name applies to both SQL and QUEL single-line terminal monitors as well as Ingres tools such as ABF, VIFRED, embedded SQL, QBF, IQUEL, ISQL, and so forth. ING_SYSTEM_SET points to SET statements that are executed whenever this Ingres environment variable/logical takes effect.
ING_SYSTEM_SET affects all users who connect to a DBMS Server through an application, an Ingres tool, or terminal monitor. It is always effective globally and can be set only by a privileged user.
ING_SYSTEM_SET is set to a string surrounded by quotes. The string must be 256 characters or less. The string can contain either:
One or more SET statements totaling no more than 256 characters
The word include followed by the full path name to a file containing any number of SET statements
Example: Set ING_SYSTEM_SET
To define this Ingres environment variable/logical use the following command entered at the operating system prompt:
Windows:
SET ING_SYSTEM_SET = set-statement{;set-statement}
For example:
SET ING_SYSTEM_SET = SET autocommit on
UNIX:
C Shell:
setenv ING_SYSTEM_SET 'set-statement{; set-statement}'
For example:
setenv ING_SYSTEM_SET ’set autocommit on’
setenv ING_SYSTEM_SET ’include \
/usr/ingres/ourstartfile’
Bourne Shell:
ING_SYSTEM_SET='set-statement {; set-statement}'
or:
ING_SYSTEM_SET='include path_to_file'
export ING_SYSTEM_SET
For example:
ING_SYSTEM_SET=’set autocommit on’
export ING_SYSTEM_SET
ING_SYSTEM_SET=’include \ /usr/ingres/ourstartfile’
export ING_SYSTEM_SET
VMS:
define ING_SYSTEM_SET "set-statement {; set-statement}"
or:
define ING_SYSTEM_SET "include path_to_file "
For example:
DEFINE /SYSTEM ING_SYSTEM_SET ‑
"SET LOCKMODE SESSION WHERE READLOCK=NOLOCK"
DEFINE /SYSTEM ING_SYSTEM_SET ‑ 
"INCLUDE DUA1:[INGRES]OURSTART.FILE"
For the include format, the file specified by path_to_file contains the SET statements. If you have several SET statements, separate the statements with a semicolon (;). Place each SET statement on a separate line in the file.
For example:
SET autocommit on;
SET lockmode session where readlock=nolock;
SET result_structure cbtree;
Last modified date: 08/29/2024