ING_SET_DBNAME
This name applies to both SQL and QUEL single-line terminal monitors as well as Actian X tools such as ABF, VIFRED, embedded SQL, QBF, IQUEL, ISQL, and so forth. ING_SET_DBNAME points to SET statements that are executed whenever this Actian X environment variable takes effect.
ING_SET_DBNAME affects users who connect to the database specified by DBNAME through an application, an Actian X tool, or a terminal monitor. If set globally, it affects all users of DBNAME. If set interactively or locally, it affects only this user.
Windows: Global setting is with ingsetenv, or locally in the user’s environment.
Linux: Global setting is with ingsetenv, or locally in the user’s .login, .profile or .cshrc file.
ING_SET_DBNAME 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_SET_DBNAME
To define this Actian X environment variable use the following command entered at the operating system prompt:
Windows:
SET ING_SET_DBNAME=set-statement {;set statement}
For example:
SET ING_SET_MYDB=SET LOCKMODE SESSION WHERE READLOCK=NOLOCK
SET ING_SET_MYDB=include C:\users\default\mystartfile
Linux:
ING_SET_DBNAME='set-statement {; set-statement}'
or:
ING_SET_DBNAME='include path_to_file' export ING_SET_DBNAME
For example:
ING_SET_MYDB='SET LOCKMODE SESSION WHERE READLOCK=NOLOCK'export ING_SET_MYDB
ING_SET_MYDB='include /usr/george/mystartfile'export ING_SET_MYDB
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: 04/03/2024