Rational Programming Patterns

rpp --migrationHelp

You must use this command to migrate the COBOL of a Program, Screen, or Server generated in Pacbase.

Description

The migration help function copies the Pacbase COBOL into your workspace and generates it again locally. The COBOL obtained after the local generation is then compared with the initial COBOL. The migration help function sets warnings on the lines where it detects differences. It excludes the differences in the formatting or comments. It generates three execution reports.

Syntax

rpp.bat --migrationHelp [options]

Parameters

Table 1. List of the available parameters
Options Comments Required Default values
--data Full path to the workspace (Rational® Developer for System z® option). Yes  
--log Log file name   trace.log
--project Project name Yes
--name Name of the instance in the repository Yes  
--type Entity type Yes pacscreen, pacprogram, or pacserver
--cobolFolder Folder of the COBOL files Yes  
--controlCobolFolder Folder of the control COBOL files Yes  
--reportFolder Folder of the generation reports    
--csvSep Separator for csv report   semicolon
--csvTextSep Text separator for csv report   double quotation mark
--clean Deletion of .cbl and .cblpdp files    
--cleanTemplates Reset of the templates file    
--flowposition (hidden option)

For a command file only

Optimization of the read and write accesses to files

  B on the first line

S on each continuation line

E on the last line

--destProject COBOL output project name    
--destFolder COBOL output folder name    
--verbose Increased verbosity of output    

Sample

rpp.bat --migrationHelp --project TEST01.CVI --name CUST01 --type pacprogram --cobolFolder D:/COBOL_FOLDER/CUST01/LIB --controlCobolFolder D:/CONTROL_COBOL_FOLDER/MIA1/LIB --reportFolder D:/Migration_help_batch/report --clean --cleanTemplates --verbose


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)