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

E.3.3 Usage of Project Configuration Conversion Command (PM2NS Command)

Use the project configuration conversion command at the NetCOBOL command prompt.

Project Configuration Conversion Function
PM2NS [options list] [project manager project file]
COBOL Resource Project creation Function
PM2NS [options list] -RCOBOL-resource-project-name -Ishared-files-original-folder
Table E.2 Description of Options

Options

Specify whether or not

Description

Project configuration conversion Function

COBOL Resource Project creation Function

-RCOBOL-resource-project-name

Yes

When creating a COBOL resource project, specify the COBOL resource project name.

-I shared-files-original-folder

Yes

-R option must be specified. When creating a COBOL resource project, specify the original shared file path.

-Ooutput-folder

Yes

Yes

Specify the project output folder. When options are omitted, the output folder is the current folder. In the output folder, create a project folder used for NetCOBOL Studio, and then create the file or copy the file from the original folder.

-F

Yes

Yes

When an error occurs at the time of converting, output a warning message and continue to convert.

-Eextent

Yes

When creating a COBOL resource project, specify the extent of shared files that are copied. When options are omitted, copy all files. When multiple extents are specified, separate them with semicolons (;).

-MINI file

Yes

Specify INI files that are described as follows.

  • Path that is specified in compile options and mapping of COBOL resource project

  • Mapping of subfolder at the time of copying the COBOL source file

Formats of INI files are as follows.

[COBOLResourceProject]
original-path=COBOL resource project name
...
[COBOLSourceFile]
original-path=relative path of  destination project
...

For example, when the conversion source project file is "C:\PM\PRJ", the library file is "C:\PM\A\CBL", the LIB compile option is "..\A\CBL", by specifying the following INI files, convert LIB compile option of COBOL project of conversion destination to"../A_CBL".

[COBOLResourceProject]
C:\PM\A\CBL=A_CBL

-S{Y|N}

Yes

Specify whether or not COBOL solution project is created at the time of converting.

When omit options or specify Y, COBOL solution project is created.

When N is specified, the COBOL solution project is not created. Option information that is set in the conversion source project is set in every option of the conversion destination COBOL project.

-?

Yes

Yes

Output the usage of the PM2NS command.

Yes: it can be specified