


Many aspects of the runtime system can be controlled through runtime configuration variables. This allows a great deal of flexibility, because these variables can be modified by each runcbl site as well as directly by an ACUCOBOL-GT program.
Configuration variables are maintained in a runtime configuration file. This standard text file can be modified by the host system's text editor. Each entry in the runtime configuration file consists of a single line. All entries start with a keyword, followed by one or more spaces or tabs, and then one or more values.
Some examples of runtime configuration file entries are:
AUTO_PROMPT 0
BELL 1
COMPRESS_FACTOR 70
CURSOR_TYPE 3
MENU_ITEM Edit=Delete 200
SCROLL on
It is possible to use multiple configuration files by nesting one inside another. You can specify another file to process within the configuration file you give to the runtime with the following syntax:
!COPY filename
No processing will be done to filename (for example FILE_PREFIX is not applied) so you must specify a file that the runtime can find.
#Get all the standard variables
!copy /etc/cblconfig
#Now set personal settings
USE_MOUSE 1
This Appendix contains an alphabetical list of the runtime configuration file variables that can be used. Many of these are described in greater detail in other parts of the manual.
For some runtime configuration file entries, the words "on", "true", and "yes" are synonyms for "1", and the words "off", "false", and "no" are synonyms for "0". The entry for each variable in this appendix indicates when these synonyms are allowed.
In the descriptions of some runtime configuration variables in this appendix, you will find comments about behavior under the Windows environment; unless otherwise noted, these comments apply to Windows and Windows NT.
SET ENVIRONMENT env-name TO env-value
Env-name may specify either the literal name of the variable or a data-item whose value is the name of the variable. If you specify the actual name of the variable, such as CODE_CASE, then you must enclose the name in quotes. Env-value is the value to which env-name will be set. If it is a numeric data item, then it is treated as if it were redefined as an alphanumeric data item.