Project Manager >
Project Manager Views > 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.

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.
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
or
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:
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.
Project files that are not displayed in either the source file folder or the link file folder are displayed.
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.
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.
|