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

4.4.1 Adding Existing COBOL Resources

This section explains how to add existing COBOL resources to a COBOL project.

Note

  • Text file encoding

    When existing COBOL resources are added to a COBOL project, the project's text file encoding setting is applied for the added resources. The project's text file encoding is specified in the Info page of the Properties dialog box of the project. COBOL resources which have BOM (Byte Order Mark) are treated as UTF-8.

  • Code conversion

    Although the text file encoding of existing COBOL resources are changed when they are added to a COBOL project, code conversion is not invoked. File encoding of the COBOL resources remain unchanged.

4.4.1.1 Adding a COBOL source file

COBOL source files registered in the Source Files folder of a COBOL project in the Dependency or "Structure" view are compilation processing targets. To register an existing COBOL source file in the Source Files folder:

4.4.1.2 Adding a link file

To add a link file:

  1. Select the "Linking Files" folder of the relevant project.

  2. Select "Add File..." from the context menu. The "Open" dialog box appears.

  3. Select the file to be added to the "Linking Files" folder.

  4. Click the "OK" button. The selected file is added to the "Linking FIles" folder in the "Dependency" view. The added file is reflected in the "Structure" view.

4.4.1.3 Adding a dependent file

To add a dependent file:

  1. Select the "Dependent Files" folder to which the file is to be added.

  2. Select "Add File..." from the context menu. The "Open" dialog box appears.

  3. Select the file to be added to the "Dependent Files" folder.

  4. Click the "OK" button. The selected file is added to the "Dependent Files" folder.