PDA

View Full Version : FILE-REPORT only showing left side


BarrassD
19-Sep-2006, 08:59 AM
I'm trying to write a repetitive differences only file comparison script. It works OK on two small test files , but when the script repeats the same FILE-REPORT on the actual larger data files, all I get in the report is every line from the left-side file and the header just says "File...." instead of "Left file..../Right file....". Script enclosed below (the wrap-word was added in case the file size/line-length was too long).

log verbose \dbtemp\bclog.txt
option stop-on-error

file-report layout:side-by-side &
options:display-mismatches,line-numbers &
output-to:\dbtemp\BC_Rpt_1.txt \dbtemp\testA.txt \dbtemp\testB.txt &
output-options:wrap-word

file-report layout:side-by-side &
options:display-mismatches,line-numbers &
output-to:\dbtemp\BC_Rpt_2.txt \dbtemp\mc1.txt \dbtemp\mb1.txt &
output-options:wrap-word

file-report layout:side-by-side &
options:display-mismatches,line-numbers &
output-to:\dbtemp\BC_Rpt_3.html \dbtemp\mc1.txt \dbtemp\mb1.txt &
output-options:html-color,wrap-word

Chris
19-Sep-2006, 05:06 PM
How large are the files you have problems with?

Do you have problems with the report output to plain text and html, or only html?

22-Sep-2006, 03:12 AM
Hi Chris.

The problem seemed to relate to the file content. When I compared the large files in the GUI it was OK and when I substituted with other files from the same set and ran the script it was fine. Then I re-copied the files from the original source to my test area and the script worked, so I can only guess that at some point in an edit the files had lost something and that upset the script but not the UI.

Anyway, I now have a script that does what I want. Thanks.