Configure Eclipse to recognize the appropriate RM/COBOL file extensions as copybooks in
Enterprise Developer.
On the
Window menu, select
Preferences.
The Preferences dialog box appears.
In the left-hand pane, select
General > Appearance > Content Types.
The Content Types pane appears in the right-hand pane.
Select
Text > Micro Focus Project Types > COBOL Copybook.
In the bottom pane, a list of file associations for COBOL copybooks appears.
Click
Add, then in the Add Content Type Association dialog box, type
*.prc and click
OK.
Repeat the previous step, entering
*.ws this time.
Click
OK.
The Preferences dialog box is closed. Files with the extension
.prc or
.ws are now recognized as copybooks for all projects in Eclipse.
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.