IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SuperC comparison confusion


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ashish.Srivastava.123

New User


Joined: 29 Jun 2014
Posts: 16
Location: India

PostPosted: Tue Aug 12, 2014 4:21 am
Reply with quote

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
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Thu Aug 14, 2014 1:36 am
Reply with quote

Did you look here? Have you tried byte option?
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/ISPZU280/A.0?DT=20090611005854

Also, where is the confusion? By any chance do you know SORT?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts VB File comparison JCL & VSAM 1
No new posts exclude the 5 first lines for compare... TSO/ISPF 2
No new posts Remove additional information in SUPE... TSO/ISPF 10
No new posts Group comparison/update between two f... DFSORT/ICETOOL 10
This topic is locked: you cannot edit posts or make replies. Related to using a file in comparison JCL & VSAM 8
Search our Forums:

Back to Top