Product Documentation

FairCom RTG COBOL Edition User's Guide

Previous Topic

Next Topic

ACUCOBOL-GT Environment Variables

ACUCOBOL-GT allows a program to interface with more than one external file system in the same program. To define a file system for use with a particular file, you need to set the filename_HOST configuration variable.

To specify the indexed file system that the program will use by default, you need to set the DEFAULT_HOST configuration variable.

For an introduction to ACUCOBOL-GT runtime configuration variables and the configuration file, see section 2.7, Runtime Configuration, in Book 1 of the ACUCOBOL-GT documentation set.

In This Section

CTREE_LIB

DEFAULT_HOST

EXTRA_KEYS_OK

filename_HOST

SET ENVIRONMENT ACUCOBOL-GT Verb

Previous Topic

Next Topic

CTREE_LIB

Specifies the full path of the c-tree library that ACUCOBOL-GT attempts to load. If CTREE_LIB is not defined then a library named mtclient.dll (Windows) or libmtclient.so (Unix) is searched in the path.

Windows

set CTREE_LIB=C:\FairCom\V11.x.x.COBOL\win32\Driver\ctree.cobol\ACUCOBOL\mtclient.dll

Unix

CTREE_LIB=/FairCom/V11.x.x.COBOL/linux.v2.6.x86.32bit/Driver/ctree.cobol/ACUCOBOL/libmtclient.so

export CTREE_LIB

Previous Topic

Next Topic

DEFAULT_HOST

DEFAULT_HOST specifies the default file system to be used for all file I/O. Setting DEFAULT_HOST to CTREE indicates usage of c-tree while setting it to VISION or leaving it unset indicates usage of Vision. For example, to make c-tree the default file system, set the environment variable DEFAULT_HOST as follows:

Windows

set DEFAULT_HOST=CTREE

Unix

DEFAULT_HOST=CTREE;

export DEFAULT_HOST

TOCIndex