Top
NetCOBOL V11.0 NetCOBOL Studio User's Guide
FUJITSU Software

4.5.2 Take reference from other projects

A Resource that is managed by a COBOL resource project can be referenced in other projects.

The steps to reference a library-file of a COBOL resource project from a COBOL project are shown below.

It is assumed that the COBOL project and the COBOL resource project have already been registered in the workspace.

  1. Display the "Compiler Options" page of the COBOL project.
    For details about the display method of the "Compiler Options" page, see "6.1.3 Setting compile options".

  2. Click the "Add..." button.
    The "Add Compiler Options" dialog box is displayed.

  3. Select the "LIB" from the "Compiler options" list, and then click the "Add..." button.
    The "LIB Compiler Option" dialog box is displayed.

  4. Click the "Browse..." button.
    The "Folder type selection" dialog box is displayed.

  5. Select "Specify from the project" from the "Folder type" list and then click the "OK" button.
    The "Selection from project" dialog box is displayed.

  6. Select the COBOL resource project that contains the library-file you want to refer to on the tree, and then click the "OK" button.
    Click the "OK" button of the "LIB Compiler Option" dialog box.
    The LIB (the path of the selected COBOL resource project) is set in the "Compiler options" list.