Building a Project
> COBOL Compiler |
|
The following table lists the files related to the COBOL compiler.
|
File used by COBOL compiler |
File generated by COBOL compiler |
|---|---|
|
Source file |
Object file (*.obj) |
|
Library file (*.cbl) |
Repository file (*.rep) |
|
Repository file (*.rep) |
Debug information file (*.svd) |
|
Compilation list file (*.lst) | |
|
Executable file (*.exe) | |
|
Dynamic link library (*.dll) |
The source files displayed under the source file folder in the Dependency view are compiled.
The following figure shows the structures of the source file folder and link file folder for a COBOL sample project in the Dependency view.

The following figure shows the relationships of the files related to the COBOL compiler.
|
File type |
File name format |
I/O |
Use/creation conditions |
Related compile option |
Related environment variable | |
|---|---|---|---|---|---|---|
|
1 |
Source file |
Any file name |
I |
Required |
- |
- |
|
2 |
Library |
any-file-name.cbl |
I |
For compilation of a source program that has the COPY statement |
LIB |
COB_COBCOPY |
|
3 |
Object file |
source-file-name.obj |
O |
Created when compilation has been performed normally |
- |
- |
|
4 |
Repository file |
class-name.rep |
I |
For compilation of a source program having a REPOSITORY paragraph |
REPIN REP |
COB__REPIN |
|
O |
Created when the class definition has been compiled normally | |||||
|
5 |
Debug information file (for compilation in debug mode) |
source-file-name.svd |
O |
When debug mode is set for the build mode |
- |
- |
|
6 |
Compile list file |
*.lst |
O |
When a compile list is output |
|
- |

Details about the files used for compilation are listed below.
|