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

E.3.1 Project Configuration Conversion Function

A NetCOBOL Studio project creates a target. As the project manager, when setting common build options for multiple targets, set the same build options for all COBOL projects, or use a COBOL solution project. For more about COBOL solution projects, refer to "4.1.1 COBOL Solution project".

The project configuration conversion command provides a function that converts the project manager project to a COBOL solution project, and converts every target to a COBOL project.

It is necessary for the following COBOL resource files to exist in the COBOL project folder in the NetCOBOL Studio COBOL project. Therefore, the project configuration conversion command copies those files into the project folder or the subfolder of the project folder.

Table E.1 COBOL resource

File Types

Extent

Conversion Handling

COBOL source file (input of compiler )

.CBL

.COB

.COBOL

When the COBOL conversion source file exists, create the project folder or the subfolder of the project folder into which to copy it. Whether or not to create a subfolder is decided by the -M option of the project configuration conversion command. For details, refer to "E.3.3 Usage of Project Configuration Conversion Command (PM2NS Command) ".

Library file (input of compiler)

.CBL

When it is not handled as a shared file according to the -M option of the project configuration conversion command, copy it using the following rules.

  • When it exists in the same folder as the conversion source project file, copy it into the COBOL project folder.

  • When it exists in the same folder as the conversion source COBOL source file, copy it into the same folder as the COBOL source file.

For details of the -M option, refer to "E.3.3 Usage of Project Configuration Conversion Command (PM2NS Command) ".

Descriptor file (input of compiler)

.FFD

.PMD

.SMD

.PXD

Convert it using the same rule as the library file.

Repository file (input of compiler)

.REP

Convert it using the same rule as the library file.

Other files

Any

When it is not handled as a shared file according to the -M option of the project configuration conversion command, copy it into the COBOL project folder if it exists in the same folder as the conversion source project file.

Object file(input of linker)

.OBJ

Copy it using the same rule as the other files.

Library file(input of linker)

.LIB

Copy it using the same rule as the other files.

Include file (input of precompiler)

Any

Copy it using the same rule as the other files.

Object file(output of compiler)

.OBJ

When the .OBJ file with the same base-name as the COBOL source file exists in the same folder as the COBOL conversion source file, copy it into the same folder as the COBOL source file.

Debugging information file(output of compiler)

.SVD

When the .SVD file with the same base-name as the COBOL source file exists in the same folder as the COBOL conversion source file, copy it into the same folder as the COBOL source file.

SAI file(output of compiler)

.SAI

When the SAI compile options are specified, and the .SAI file with the same base-name as the COBOL source file exists in the same folder as COBOL conversion source file, copy it into the same folder as the COBOL source file.

Target repository file(output of compiler)

.REP

When conversion source target repository file exists, copy it into the same folder as the COBOL source file.

Target file(output of linker)

.DLL

.EXE

When the conversion source target file exists, copy it into the project folder.

MAP file(output of linker)

.MAP

When the /MAP options are specified, and /MAP file with the same base-name as the target file exists in the same folder as the conversion source target file, copy it into the COBOL project folder.

Resource script file(output of project manager)

.RC

When About COBOL97 is set, copy the .RC file with the same base-name as the target file into the COBOL project folder.

Resource file(output of project manager)

.RES

When the .RES file with the same base-name as the target file exists, copy it into the same folder as the project file of the conversion source.

In addition, when files with the same name exist in the conversion destination folder and the -F option is not specified, the project configuration conversion command outputs an error and stops conversion.