Configure Eclipse to recognize the appropriate RM/COBOL file extensions as copybooks in
Window menu, select
The Preferences dialog box appears.
In the left-hand pane, select
The Content Types pane appears in the right-hand pane.
In the bottom pane, a list of file associations for COBOL copybooks appears.
Add, then in the Add Content Type Association dialog box, type
*.prc and click
Repeat the previous step, entering
*.ws this time.
The Preferences dialog box is closed. Files with the extension
.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
COPYEXT"prc,ws" Compiler directive in your project.