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

6.1.1 Files associated with compilation

The following table lists the files associated with the COBOL compiler.

Files used by the COBOL compiler

Source files (*.cob, *.cobol, *.cbl)

Library files (*.cbl)

Screen form descriptor file (*.smd, *.pmd, *.smu, *.pmu)

Repository files (*.rep)

Source files displayed in the Source Files folder of the "Dependency" view are the objects of compilation. The following table lists the files created by the COBOL compiler.

Files created by the COBOL compiler

Object files (*.obj)

Repository files (*.rep)

Debugging information files (*.svd), Program Debug database file (*.pdb)

Compilation list files (*.lst)

Source Analysis Information (*.sai)

Executable files (*.exe)

Dynamic link libraries (*.dll)

The following table lists details of the files used for compilation.

File contents

File name format

I/O

(*1)

Use and creation conditions

Relevant compilation options

Relevant environment variables(*2)

Source files

arbitrary-file-name.cob

arbitrary-file-name.cobol

arbitrary-file-name.cbl

I

Required

-

-

Library files

arbitrary-file-name.cbl

I

For compiling a source program that uses the COPY statement

LIB

COB_COBCOPY

COB_LIBSUFFIX

COB_library-name

Screen form descriptor file

screen form descriptor.smd

screen form descriptor.pmd(*3)

I

For compiling a source program that has the screen form descriptor.

FORMLIB

SMED_SUFFIX

Object files

source-file-name.obj

O

Created when compilation is performed correctly

-

-

Repository files

class-name.rep

I

For compiling a source program that has the REPOSITORY paragraph

REPIN

REP

COB_REPIN

O

Created when a class definition is compiled correctly

Debugging information files (for compilation in debug mode)

source-file-name.svd

source-file-name.pdb

O

  • Used when debug mode is set as the build mode

  • When the TEST compiler option is specified

-

-

Source analysis information file

source-file-name.sai

O

When the SAI compiler option is specified

SAI

-

Compilation list files

*.lst

O

For output of a compilation list

-

*1: I and O are as follows:

*2: For detail, refer to the "NetCOBOL User's Guide".

*3: When the encoding of the form data is UTF-32, the UTF-32 form descriptor is created using "Form descriptor conversion command for UTF-32 (CNVMED2UTF32)". The extension of the created descriptor is .smu or .pmu.

For details of CNVMED2UTF32, refer to the "NetCOBOL User's Guide".

The UTF-32 form descriptor is used when the encoding of the national item is UTF-32. In this case, the search order of the files is .pmu and .smu.

Note

The form descriptor for UTF-32 (*.pmu, *smu) cannot be updated by using FORM and PowerFORM. In this case, you update the original form descriptor (*.pmd/*.smd), and convert it by using CNVMED2UTF32.

In the resource management of NetCOBOL Studio, an original descriptor (*.smd/*.pmd) is registered.