Previous Topic Next topic Print topic


Configuring the Environment

Using the IDE

You can configure the environment by specifying environment variables from within the IDE - using the project's properties or though properties inherited from the project dependencies.

Using the MF370CTL.CFG configuration file

The MF370CTL.CFG file holds environment variable configurations for:

  • Project file locations
  • Default memory size
  • Run Time Virtual Memory settings
  • Fileshare pathnames
  • Controlling the Generalized Trace Facility (GTF)
  • Configuring the default SQA memory size

By default, this configuration file is located in the %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\bin installation directory, but you can create a copy in your working directory. When you compile or run applications, the values set in the version of the file in your project's working directory override the values set in the original file in the default directory.

In your working directory, you can create a copy of the configuration file that contains project-specific settings to override the default values.

Note: It is not recommended to use the MF370CTL.CFG file if you are using the IDE to develop Assembler applications. However, if you need to use MF370CTL.CFG, the environment variables specified in it will be overridden by the settings explicitly set using the project properties or that apply through the project's dependencies.

Order in which the Assembler Compiler searches for environment variables

The Assembler Compiler searches for environment variables in the following locations in the specified order:

  1. Any variables set in the IDE using the project's properties or at the command line. The environment variables set in this way override any other values specified in other places.
  2. Any variables that are set for the environment in which the Assembler Compiler is executed.
  3. Checks the working directory for a copy of the MF370CTL.CFG file.
  4. Checks the values in the MF370CTL.CFG file in the Enterprise Developer install-dir\bin folder.
Note: You can only set the SYSLIB environment variable from within the IDE (in the project's properties click Micro Focus > Build Path and specify Assembler Macro Paths on the Dependency Paths). It is not possible to changing the value of SYSLIB from the MF370CTL.CFG file.
Previous Topic Next topic Print topic