UpProject Manager > UpProject Manager Views > UpDependency View Previous Next

Structure of the Dependency View

The COBOL Dependency view displays dependency within a project. It does not display the COBOL source file structure or the class structure of a COBOL class repository. But COBOL source file structure and class structure of COBOL Class Repository can be displayed in the Structure view.

When a COBOL project is created, the following folders are created in the Dependency view:

Furthermore, the following folders for COBOL source files in the Source Files folder are displayed:

These folders are used to specify the dependency of individual source files.

image

The compilation order of the COBOL source files is not done automatically. The user has to arrange in correct order to compile the source files.

+Source Files

The project files to be compiled are added. The files displayed in this folder are compiled and linked during building. The files with the ".cob", ".cbl", or ".cobol" extension are treated as COBOL source files and compiled by the COBOL complier. The files in this folder are compiled in the order of display in the Dependency view. To change the compilation order of a file, select the file, and click image or image on the toolbar to move the file up or down, respectively. If multiple COBOL source files have the same name but different extensions, only the first file displayed is compiled by the COBOL compiler and the other files are not compiled. For example, suppose that Member.cob and Member.cbl have been added in this order to the source file folder. In this case, Member.cob is compiled but Member.cbl is not.

To specify the dependency of COBOL source files, a Target Repository and Dependent Files can be set up in subfolders for the COBOL source files. The following types of information are used to determine the compilation order:

+Linking Files

The library files (.lib) and object files (.obj) that are linked during building are specified. The object files generated from the specified source files in the source file folder need not be specified.

+Other Files

Project files that are not displayed in either the source file folder or the link file folder are displayed.

+Target Repository

The repository file generated when COBOL source files are compiled. The generated repository file corresponds to the class defined in the COBOL source files. The name of the repository file is "class-name.rep". The compilation order of the COBOL source files is not done automatically. The user has to arrange in correct order to compile the source files. User can add the repository files using Add File option.

+Dependent Files

Specify the COBOL library referred to by the COBOL sources and the repository file of the class referred to by the COBOL sources. Use [Add File] to add a file. The compilation order of the COBOL source files is not done automatically. The user has to arrange in correct order to compile the source files. User can add the dependent files using Add File option.


Previous Next

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2003-2005