Linking AccuRev Files to Micro Focus COBOL or PL/I Projects

In this guide it is assumed that you are familiar creating Micro Focus mainframe projects in Enterprise Developer. See Getting started with Micro Focus Enterprise Developer for Eclipse on how to define and configure such projects.

The AWM application for Enterprise Sync contains an entry Enterprise Development Projects which lists all existing Micro Focus COBOL and PL/I projects.

Link the required components from the AccuRev workspace into this project:

  1. Link the required COBOL copybook folder from your AccuRev workspace into the Micro Focus COBOL project using New > Project > Link Folder to Project from the context menu.
  2. Select the COBOL project. When navigating to the COBOL project, you will see the linked copybook folder in the project structure.
  3. Link the required COBOL files from your AccuRev workspace into the Micro Focus COBOL project using New > Project > Link File to Folder from the context menu.
  4. Select the appropriate folder within the COBOL project. When navigating to the COBOL project you will see the linked COBOL file in the project structure.
    Tip: Using Drag+Drop by holding the Control key is an alternative linking files or folders. It's possible to select several files at once.
  5. You may have to adapt the build path and the compiler directives to assure that the linked files are compiled correctly:
    1. Select Properties from the Cobol projects context menu.
    2. Select Determine Directives from the Files context menu.
    3. If all required dependencies are linked and the directives a defined correctly, then the projects build should run as expected.