Acucorp Configuration File
Many aspects of the runtime system can be controlled through runtime
configuration variables. These variables can be modified by each site that uses the
runtime, as well as directly by an ACUCOBOL-GT program.
Runtime configuration variables may be placed in either the runtime
configuration file or the machine's environment. When placed in the machine's
environment, the keywords must be all upper case and must use underscores instead of
hyphens. When they are placed in the runtime configuration file, upper and lower
case are equivalent, as are hyphens and underscores. Entries consist of a
keyword, one or more spaces or tabs, and then one or more values. The maximum
length of a configuration file value is 4095 characters.
The runtime seeks the name of the runtime configuration file in this way:
1. Looks for "-c" runtime option
2. Looks for environment variable A_CONFIG
3. Uses name from table:
| System
| Runtime Configuration File
|
| MS-DOS
| \etc\cblconfi
|
| Windows
| \etc\cblconfi
|
| OS/2
| \etc\cblconfi
|
| MPE/iX
| /etc/cblconfig
|
| UNIX
| /etc/cblconfig
|
| VMS
| SYS$LIBRARY:A_CONFIG.DAT
|
It is possible to use multiple configuration files by nesting one inside
another. Within the configuration file, you can specify another file to process
within the configuration file you give to the runtime with the following syntax:
!COPY filename
No name expansion will be done to filename (for example FILE_PREFIX is not applied) so you must specify a file that the
runtime can find.
Note: You can include remote name syntax if you are using AcuServer or AcuLaunch.
Otherwise, the file must be an absolute path or a path relative to the current
directory.
For example, if you have some configuration variables in a global place such
as /etc/cblconfig, then individual users can execute the runtime using this
configuration file instead of the usual one. The settings in the usual
configuration file take effect also, because their settings are copied in with !COPY:
#Get all the standard variables
!copy /etc/cblconfig
#Now set personal settings
USE_MOUSE 1
Many runtime configuration variables may also be changed by the source program
with the SET ENVIRONMENT verb. Note also that most configuration variables
can be read with the ACCEPT FROM ENVIRONMENT verb. Variables that CANNOT be read with ACCEPT FROM ENVIRONMENT are marked with an
asterisk (*). If the variable to be read is numeric, then the receiving field must be
defined either as a numeric field or as an alphanumeric field of five or more
characters. If it is defined as alphanumeric and is longer than five characters, then
the value that is read from the environment will occupy the leftmost five
characters of the field and the remainder will be space-filled. Keywords are:
More:
132_MODE
3D_LINES
7_BIT
ACCEPT_TIMEOUT
ACTIVE_BORDER_COLOR
ACUCOBOL
APPLY_CODE_PATH
APPLY_FILE_PATH
AUTO_BUFFER
AUTO_PROMPT
BACKGROUND_INTENSITY
BELL
BUFFERED_SCREEN
CANCEL_ALL_DLLS
CARRIAGE_CONTROL_FILTER
CGI_AUTO_HEADER
CGI_NO_CACHE
CGI_STRIP_CR
CHAIN_MENUS
CHECK_USING
CODE_CASE
CODE_MAPPING
CODE_PREFIX
CODE_SUFFIX
CODE_SYSTEM*
COLOR_MAP*
COLOR_MODEL*
COLOR_TABLE*
COLOR_TRANS
COLUMN_SEPARATION
COMPRESS_FACTOR
COMPRESS_FILES
CURRENCY
CURSOR_MODE
CURSOR_TYPE
DECIMAL_POINT
DEFAULT_FONT
DEFAULT_HOST
DEFAULT_MAP_FILE
DEFAULT_PROGRAM
DEFAULT_TIMEOUT
DISABLED_CONTROL_COLOR
DISPLAY_SWITCH_PERIOD
DLL_CONVENTION
DLL_SUB_INTERFACE
DOS_BOX_CHARS*
DOS_OUTPUT_METHOD
DOS_WATCOM_10
DOUBLE_CLICK_TIME
DUPLICATES_LOG
EDIT_MODE
EF_UPPER_WIDE
EF_WIDE_SIZE
EOF_ABORTS
EOL_CHAR
ERRORS_OK
EXIT_CURSOR
EXTEND_CREATES
EXTERNAL_SIZE
EXTRA_KEYS_OK
F10_IS_MENU
FAST_ESCAPE
FIELDS_UNBOXED
FILE_CASE
FILE_CONDITION*
FILE_IO_PROCESSES_MESSAGES*
FILE_PREFIX
FILE_STATUS_CODES*
FILE_SUFFIX
FILE_TRACE
FILE_TRACE_FLUSH
filename
filename_DATA_FMT
filename_HOST
filename_INDEX_FMT
filename_LOG
FILENAME_SPACES
filename_VERSION
filesystem_DETACH
FLUSH_ALL
FLUSH_COUNT
FLUSH_ON_ACCEPT
FLUSH_ON_CLOSE
FLUSH_ON_COMMIT
FLUSH_ON_OPEN
FONT*
FONT_AUTO_ADJUST
FONT_SIZE_ADJUST
FONT_WIDE_SIZE_ADJUST
FOREGROUND_INTENSITY
FULL_BOXES
GUI_CHARS*
HINTS_OFF
HINTS_ON
HOT_KEY*
HTML_TEMPLATE_PREFIX
ICOBOL_FILE_SEMANTICS
ICON
IMPORT_USES_CELL_SIZE
INACTIVE_BORDER_COLOR
INPUT_STATUS_DEFAULT
INSERT_MODE
INTENSITY_FLAGS
IO_CREATES
IO_READ_LOCK_TEST
ISOLATE_FILE_CREATES
JUSTIFY_NUM_FIELDS
KEY_MAP
KEYBOARD*
KEYSTROKE*
LC_ALL
LISTS_UNBOXED
LOCK_DIR
LOCK_OUTPUT
LOCK_SORT
LOCKED_RECORD_DELAY
LOCKING_RETRIES
LOCKS_PER_FILE
LOG_BUFFER_SIZE
LOG_DEVICE
LOG_DIR
LOG_ENCRYPTION
LOG_FILE
LOGGING
MAKE_ZERO
MASS_UPDATE
MAX_ERROR_LINES
MAX_FILES
MAX_LOCKS
MENU_ITEM*
MESSAGE_BOX_COLOR
MESSAGE_QUEUE_SIZE
MIN_REC_SIZE
MONOCHROME
MOUSE*
MOUSE_FLAGS
NO_CONSOLE
No_LOG_FILE_OK
NUMERIC_VALIDATION
OLD_ARIAL_DIMENSIONS
OPEN_FILES_ONCE
OPTIMIZE_CONTROL_RESIZE
PAGE_EJECT_ON_CLOSE
PERFORM_STACK
PROMPTING
QUEUE_READERS
QUIT_MODE
RECURSION
REL_DELETED_VALUE
RENEW_TIMEOUT
RESIZE_FRAMES
RESIZE_FREELY
RESTRICTED_VIDEO_MODE
RMS_NATIVE_KEYS
SCREEN*
SCREEN_COL_PLUS_BASE
SCRIPT_STATUS
SCROLL
server_MAP_FILE
SERVER_NUMBER
SHARED_CODE*
SHUTDOWN_MESSAGE_BOX
SORT_DIR
SORT_FILES
SORT_MEMORY
SORT_RESERVE
SPACES_ZERO
SPOOL_FILE
STOP_RUN_ROLLBACK
STRIP_TRAILING_SPACES
SWITCH_PERIOD
TEMP_DIR
TEMPORARY_CONTROLS
TEXT*
TRANSLATE_TO_ANSI
TREE_ROOT_SPACE
TREE_TAB_SIZE
TRX_HOLDS_LOCKS
UPPER_LOWER_MAP*
USE_LOCAL_SERVER
USE_MOUSE
V_BUFFERS
V_BUFFER_DATA
V_BULK_MEMORY
V_FORCE_OPEN
V_INTERNAL_LOCKS
V_LOCK_METHOD
V_MARK_READ_CORRUPT
V_NO_ASYNC_CACHE_DATA
V_READ_AHEAD
V_SEG_SIZE
V_VERSION
V23_GRAPHICS_CHARACTERS
V30_MEASUREMENTS
V31_FLOATING_POINT
V42_FLOATING_POINT
V43_PRINTER_CELLS
V52_GRID_GOTO
WAIT_FOR_ALL_PIPES
WAIT_FOR_FILE_ACCESS
WAIT_FOR_LOCKS
WARNINGS
WARNING_ON_RECURSIVE_ACCEPTS
WHITE_FILL
WIN_ERROR_HANDLING
WIN_F4_DROPS_COMBOBOX
WIN3_CLIP_CONTROLS
WIN3_EF_PADDED
WIN3_GRID
WIN32_3D
WINDOW_INTENSITY
WINDOW_TITLE
WRAP
XFD_DIRECTORY*