Previous Topic: Regeneration After TestingNext Topic: GENENV.BAT


Setting Environment Variables

Before running C block mode applications and C Servers, set the following environment variables:

Environment Variable

Description

AEPATH*

Defines a set of directories containing transaction routing tables, AEENV files, application.ini files, and load modules. Load modules are stored in the models' source directory or \inqload subdirectory. These directories specify the search order for routing tables and load modules. As a requirement, AEPATH must contain the CA Gen Runtime path referenced by %GENxx%Gen\yy to locate the p3270key file.

Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes.

Note: yy refers to the compiler version folder which will be used when executing the Implementation Toolset. For example, VS100\amd64.

AEPATH supports test and production directories.

Example: set AEPATH <model directory>;%GEN85%Gen\VS100\amd64

For more information about using the application.ini file, see the appendix Using the Application.ini File.

IEFGXTP*

Defines the directory that contains the codepage translation files.

Example: set IEFGXTP %GENxx%\Gen\Translat\

Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes.

IEFH*

Defines the home directory for the Implementation Toolset that contains the CA Gen libraries and binaries, and identifies the location of the p3270key used by the AEFN and the AEFAD.

Note: Set IEFH when installing the Implementation Toolset or the GUI Runtime.

Example: set IEFH=%GENxx%\Gen

Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes.

PATH

Defines a search path that enables locating the DBMS and other executables without specifying the full directory path. The variable entry must include the CA Gen directory.

Note: * Not used for C GUI applications.