8. Setting Environment Variables : Customization of Query Runtime Environment : Syntax Rules for Startup Files and Environment Variables
 
Share this page                  
Syntax Rules for Startup Files and Environment Variables
Keep the following general syntax rules in mind while setting up startup files and environment variables:
SET statements in startup files cannot contain more than one SET statement per line. Each statement must be on a line by itself.
SET statements that are read from a file, but executed only by the line-based terminal monitor, must be terminated with “\g”.
SET statements defined directly inside Vector environment variables (not written in a file) never contain the string “\g”.
SET statements defined directly inside Vector environment variables (not written in a file) can contain multiple SET statements separated by a semicolon up to a total length of 64 characters.
The terminal monitor dayfile cannot contain SET statements. It contains informational startup messages only.
Vector environment variables set with the following command are global for the installation and affect the target of the environment variable for all users in an installation:
ingsetenv
Vector environment variables set from the local user environment apply only to the user setting them. Other users are not affected. This is the case, for example, when Vector environment variables are set interactively or from a user's .profile, or .bashrc file.