Note: This information applies to native code only.
You can ensure that your application is always run in a consistent environment by building a run-time configuration into the application. These settings configure the COBOL run-time environment each time your application is started so that it always behaves as you have specified, regardless of settings used by other COBOL applications.
You can configure the application behavior using:
- Configuration file. You can create a configuration file for the project in the IDE. You can configure items such as memory allocation, the search order for called programs, how to handle ANSI displays and so on.
- Run-time tunables. Certain run-time behavior can be configured only by using run-time tunables. These are stored in a configuration file that is read when the run-time system
or a statically linked executable
starts up.
- COBOL switches. You can also configure the COBOL switches that are used when your application starts up. Their state can be read by your application while it is running, and thereby change your initial setting.
- cobopt.cfg files. The settings in this file are equivalent to the run-time configuration settings in the IDE. You can import configurations from these
cobopt.cfg files.