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. See
Related Information for more details about these settings.
You can configure the application behavior using:
- Application Configuration file. You can add an application configuration file for the project in the IDE and use it to set environment variables, COBOL run-time switches and other run-time configuration settings for your application.
- Project properties. You can specify environment variables that apply when you run the project from within the IDE by clicking
Environment on the
Application tab in the project’s properties. You can use this to set environment variables that the COBOL run-time system uses during its initialization and are therefore not picked up from the application configuration file.
- 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
starts up.
Restriction: The following applies to native code only.