Configure Visual Studio to recognize the appropriate RM/COBOL file extensions as copybooks in
Visual COBOL.
On the
Tools menu, select
Options.
The Options dialog box appears.
In the left-hand pane, select
Text Editor > Micro Focus COBOL > Advanced.
The Advanced settings appear in the right-hand pane.
For the list of values of the
Copybook Extensions option, append
,.prc,.ws to the end of the list, then click
OK.
Files with the extension
.prc or
.ws are now recognized as copybooks for all projects in Visual Studio.
Note: If the COPY statements in your source code reference any of these files without specifying the extension, you should also set the
COPYEXT"prc,ws" Compiler directive in your project.