This command compares two COBOL files or two folders that contain COBOL files.
By default, only the significant differences are detected. The differences in the comments are always ignored. The differences in the code formatting are ignored by default but you can specify an option to detect them.
This command produces three csv files in the result folder: Overview.csv, Templates.csv, and DiffList.csv.
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) | |
--lineStartIndex | Beginning of the line for the comparison | 6 | |
--lineEndIndex | End of the line for the comparison | 72 | |
--strict | The comparison will not ignore the formatting |