View previous topic :: View next topic
|
Author |
Message |
Karthikeyan J
New User
Joined: 19 Dec 2006 Posts: 16 Location: Mumbai
|
|
|
|
Hi,
Please clarify me as to why the following thing happens while using SuperC-3.13.
File-A (New file)
Line1: 123
Line2: 123
Line3: 555
Line4: 666
Line5: 777
File-B (old file)
Line1: 123
Line2: 123
Line3: 888
Line4: 999
Line5: 000
My Expectation of SuperC output:
I 555
D 888
I 666
D 999
I 777
D 000
Observed Output:
I 555
I 666
I 777
D 888
D 999
D 000
Please note that i am using Delta option for display. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi,
You'll notice that the listing that you'd like to see is logically equiv to the actual listing.
The actual list states, in effect, that the 3 consecutive lines displayed from the old file beginning at line n and ending at line n+2 have been replaced by the 3 lines displayed from the new file.
Your list states that old line n displayed here was replaced by new line n;
old line n+1 displayed here was replaced by new line n+1 and finally;
old line n+2 displayed here was replaced by new line n+2.
I would guess that because they are contiguous non-matching recs SUPRCl groups them together... saving some print lines?
Does that cause a problem for you or are you just curious? If it causes a problem give soMe further detail. Maybe someone can come up w/a workaround. |
|
Back to top |
|
|
Karthikeyan J
New User
Joined: 19 Dec 2006 Posts: 16 Location: Mumbai
|
|
|
|
mmwife wrote: |
Hi,
You'll notice that the listing that you'd like to see is logically equiv to the actual listing.
The actual list states, in effect, that the 3 consecutive lines displayed from the old file beginning at line n and ending at line n+2 have been replaced by the 3 lines displayed from the new file.
Your list states that old line n displayed here was replaced by new line n;
old line n+1 displayed here was replaced by new line n+1 and finally;
old line n+2 displayed here was replaced by new line n+2.
I would guess that because they are contiguous non-matching recs SUPRCl groups them together... saving some print lines?
Does that cause a problem for you or are you just curious? If it causes a problem give soMe further detail. Maybe someone can come up w/a workaround. |
Hi Jack,
Thanks a lot for ur reply.
Regarding the SuperC, the issue is that its behaviour doesn't seem to be consistent. I am trying to compare two large files (records running into lakhs) and i would like to see the results like the actual listing(list2) in the example discussed. But Super-C lists some differences like list1 (my expectation) and some like list2.
I am interested to know the difference so that i can try and get the listing like list1. |
|
Back to top |
|
|
Karthikeyan J
New User
Joined: 19 Dec 2006 Posts: 16 Location: Mumbai
|
|
|
|
Quote: |
I am interested to know the difference so that i can try and get the listing like list1. |
Sorry...thats list2 like the observed output in the example discussed. |
|
Back to top |
|
|
|