Rational Programming Patterns for System z

--migrationHelp

This command is used to perform migration help for an RPPz entity. This command is available for a Program, a Screen and a Server.

Description

This function is used on a Program, Screen or Server to see whether the COBOL code generated locally is different from the COBOL code generated in Pacbase. The migration help copies the two COBOL files generated in Pacbase to your workspace, and generates the COBOL file from your workspace. It compares the Pacbase control file to the locally generated code and sets warnings on the lines where it detects differences.

Syntax

rpp.bat --migrationHelp [options]

Parameters

Table 1. List of the available parameters
Options Comments Required Default values
--data Rational® Developer for System z® Full path to the workspace to use Yes  
--log Log file name N/A trace.log
--clean .cbl and .cblpdp files deleted    
--project Project name Yes
--package Package name Yes  
--name Entity name Yes  
--type Entity type Yes pacscreen|pacprogram/pacserver
--cobolFolder COBOL folder name (only with --cobolFile) Yes  
--cobolFile COBOL file name Yes  
--controlCobolFolder Control folder name.(only with --controlCobolFile) Yes  
--controlCobolFile Control file name. Yes  
--constantsAndDate Constants and Date Yes locally|cobol|warn
--reportType Type of report.   [csv|html] (default csv)
--csvSep Separator for cvs report   default semicolon
--csvTextSep Text separator for csv report   default is double quote
--report Report file separated by a comma Yes  
--append Append to file   False
--destProject COBOL output project name    
--destFolder COBOL output folder name    
Note: The skeleton language of the local generation is identical to the Pacbase skeleton language. This piece of information is retrieved from the extraction of the Pacbase models and from the import.

Sample

rpp.bat --migrationHelp --project TEST01.CVI --package CV0.IBM.CVI --name CUST01 --type pacprogram --cobolFile D:/Working/Misc/CUST01.cbl --controlCobolFile D:/Working/Misc/CUST02.cbl --constantsAndDate locally --log d:/utmp/trace.log --data d:/Working/JbyWks --report d:/utmp/trace.csv --append

Terms of use | Feedback

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