Use the project configuration conversion command at the NetCOBOL command prompt.
PM2NS [options list] [project manager project file]
PM2NS [options list] -RCOBOL-resource-project-name -Ishared-files-original-folder
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.
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