Ashish.Srivastava.123
New User
Joined: 29 Jun 2014 Posts: 16 Location: India
|
|
|
|
Hi All,
I have confusion in Super-C line comparison.
Please refer to final report below:
LINE COMPARE SUMMARY AND STATISTICS
NUMBER OF LINE MATCHES 31485 TOTAL CHANGES (PAIRED+NONPAIRED
REFORMATTED LINES 5111 PAIRED CHANGES (REFM+PAIRED INS/
NEW FILE LINE INSERTIONS 13187 NON-PAIRED INSERTS
OLD FILE LINE DELETIONS 13187 NON-PAIRED DELETES
NEW FILE LINES PROCESSED
OLD FILE LINES PROCESSED
Question 1:
What is paired & non paired ?
Second question: Comparing 2 dataset ,please refer to sample data below.
Code: |
OLD File example
000047 AT00484 20060419T2391 Y M
000048 AT00486 ?20080207TM034 Y M
000049 AT00498 á?20110318T2391 NLM
000050 T00498 20101223TM857 Y M
000051 AT00499 |20080207TM034 Y M
000052 AT00525 lø20081201T2391 YLM
000053 AT00538 |20011224HR2001 NU9 YYM
NEW dataset example
000046 AT00467 ã"20080529TK406 Y M
000047 AT00484 20060419T2391 Y M
000048 AT00486 ?20080207TM034 Y M
000049 T00498 20101223TM857 Y M
000050 AT00498 á?20110318T2391 NLM
000051 AT00499 |20080207TM034 Y M
000052 AT00525 lø20081201T2391 YLM
|
report
Code: |
[b]Comparison result[/b]
ID SOURCE LINES TYPE LEN N-LN# O-LN#
----+----1----+----2----+----3----+----4----+--6
+- MAT= 48
D - AT00498 á?20110318T2391 NLM DEL= 1 00049 00049
MAT= 1
I - AT00498 á?20110318T2391 NLM INS= 1 00050 00051
MAT= 292
|
I want to understand the output report:
question 2 Please correct my analysis.
Analysis:
Mat = 48 i.e. 48 lines matched.
D - AT00498 á?20110318T2391 NLM DEL= 1 00049 00049
The line was deleted (not present) in new dataset at line 00049 but was present in old dataset at line 00049.
MAT= 1
I - AT00498 á?20110318T2391 NLM INS= 1 00050 00051
1 line matched
Then a line was inserted in new dataset at line 00050 and not sure about 00051 line number.
Here what I want to achieve:
I want to compare two datasets for testing. i.e. old has expected result and new has actual result, both datasets should match.
I am choosing line compare option. I need to compare all chars including non-printable chars.
If anyone can suggest a better method , would be great!!
Note: Sorry for formatting , as I could not achieve proper formatting in code format.
Thanks
Ashish |
|