Environment sets

Define sets of environment variables to add to or overwrite the default environment. These environment settings are also usable by each Genero Studio client that adds a remote Genero Studio Server to its list.

Select Tools >> Genero Configurations to display the configurations for the currently selected server. Add and modify environment sets as needed.

When you launch any Genero Studio sub-process (run, GDC, compilation, debug, and so on) Genero Studio sets all redefined environment variables according to the current context (the context from Projects may differ from the File Browser context).

Select the name of an environment set to view/modify the Environment Set variables. If there are no environment sets listed, right-click Environment Set and select Add Environment Set... to add a new set of environment variables.

This figure is a screenshot of the Genero hosts management dialog showing environment set variables for the selected Environment Set: DB - Informix.

Figure 1. Environment sets

Default environment sets

Some default environment sets are included.

Databases
Contains some variables required by database clients from the various vendors. The values for the variables must be entered before using these environment sets. See Database server/user information for each database type for information about the specific variables for each database.
Debug
Contains variables that set the debug level (FGLSQLDEBUG for FGL/SQL, FGLWSDEBUG for Web Services, and GREDEBUG for Report Engine.) The values are already set to 9, the highest debug level, but can be changed to any number between 1 and 9. Debug files will be generated in the current directory.
Profile
Contains the environment variable FGLPROFILE; for the value, enter the path of the current configuration (fglprofile) file to be used by the system before enabling this environment set; the default location is FGLDIR/etc/fglprofile. If you are using a remote environment, the value should be set to the location on the remote host. See Access a database.
Report Writer
Contains the environment variables set by default to the installation directory of Genero Report Engine. This set is automatically enabled, as the environment variables are required when working with reports.
Templates
Contains environment variables set by default to the template directory being used for Business Application Modeling. Includes setting for GSTSETUPDIR. See The code generation template set.
Web Components
Defines GSTWCDIR, the directory in which the WebComponent XML files and optional icon files are stored.
Global Database Schemas
Defines the schema files (4db, 4dbx, sch) to be loaded by default into the Meta-schema Manager when Genero Studio is launched. Includes setting for GSTSCHEMANAMES and FGLDBPATH.