Note: This information applies to native code only.
- In Solution Explorer, open the application configuration file for your project. By default, it has the file extension
.config.
If the file does not exist, create one.
- On the
Environment tab, enter a variable name and its value in the
Name and
Value fields, and click
Set.
- On the
COBOL Switches tab, check the switches you require.
- Click
OK.
Note: If you run your application outside of the Visual Studio IDE, you need to set the environment variable
COBCONFIG.BLOCK to the location of the application configuration file in order for the switches and environment variables set for the application to be applied.