Rational Programming Patterns

rpp --compare

This command compares two COBOL files or two folders that contain COBOL files.

Description

The differences in the code formatting or in the comments are not detected. Only the significant differences are detected.

This command produces three csv files in the result folder: Overview.csv, Templates.csv, and DiffList.csv.

Syntax

rpp.bat --compare [options]

Parameters

Table 1. List of the available parameters
Options Comments Required Default values
--log Log file name trace.log
--cobolFolder1 Name of a first folder that contains COBOL files. You can also indicate a file name with its extension. Yes  
--cobolFolder2 Name of a second folder that contains COBOL files whose names are identical to the names used in folder 1. You can also indicate a file name with its extension. Yes  
--destFolder Name of an existing folder which receives the result csv files Yes  
--sep Records (csv cells) separator.   , (comma)
--ext Extension of the files to be compared.   If no extension is specified, all the files will be compared, whatever their extensions.
--quote csv text quote   " (double quotation marks)

Sample

rpp.bat --compare --log C:/tmp/trace.log --cobolFolder1 C:/user/COB1 --cobolFolder2 C:/user/COB2 --destFolder C:/user/COBDIFF

Terms of use | Feedback

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