You can import copybooks into a virtual folder of your project:
- Select your project in COBOL Explorer.
- Click
File > Import.
This opens the
Import dialog box.
- Expand
General and click
File System, then click
Next.
- Click
Browse and navigate to the directory that contains the copybooks you want to import.
- Click
OK.
- In the
Import dialog box, check the copybooks to be imported.
- Check
Create top-level folder under
Options.
- Click
Advanced.
- Check
Create links in workspace.
- Ensure
Create virtual folders is checked.
- Click
Finish.
To ensure the project builds successfully, you must also add the location of the copybooks to the project's dependencies:
- Navigate to
Micro Focus > Build Path in the project's properties.
- Click the
Copybooks tab and check the folder that includes the imported copybooks.