There is a variety of options and settings that can be configured within Visual Studio. You are going to explore a few of them in this tutorial. Do not skip this section, as you are going to make at least one important configuration change in the project's properties.
This page enables you to configure the default folder for storing Visual Studio projects as well as the defaults for the Output Window, Task List and Solution Explorer.
The Projects location field defines the default location for storing new projects. You can change this path if you are using a different working folder.
You can use the settings in this section to configure features of the editor such as tab size, COBOL margins, some syntax checking rules, and others.
You can configure how the editor wraps the code around the margins, or how it indents the code in the different COBOL areas, or how the Home and End keys move the cursor in the different areas. You can also choose the style of the ruler, and change the colors of the text and the margins. You can change the default editor settings and experiment with the new behavior by opening one of the COBOL programs in the editor.
You can now experiment by changing the following settings:
When there is a COBOL file opened in the editor, you can use , Toggle COBOL Smart Edit Mode, in the COBOL toolbar to turn on or off the smart editing mode. To open the COBOL toolbar, click View > Toolbars > COBOL.
The properties you set on project level apply to all files in the project. To set properties for your COBOL project:
This opens the tabbed property pages for the project in the main Visual Studio window.
Type should be set to COBOL Copybook Paths. Note that this has C:\MFETDUSER\Bankdemo\Sources\copybook set. This is the folder where the IDE is going to look for the copybook files required by this project.
These are the paths for the copybooks and load modules that will be produced from the BMS files during the build.
The individual source files can have their own local properties which override the project settings. To check the file properties:
This opens the COBOL-specific file properties.
Notice that CICS Directives is set to CICSECM(). This has been set when you added the file to the project or performed a directives scan of the COBOL sources in your project.
This opens the Visual Studio properties window. Note that the Build Action is set to BMS Compile which means the build invokes the BMS Compiler.