Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Clarification in SuperC - Line Compare option 3.13 in ISPF

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Karthikeyan J

New User


Joined: 19 Dec 2006
Posts: 16
Location: Mumbai

PostPosted: Fri Jan 12, 2007 3:34 pm    Post subject: Clarification in SuperC - Line Compare option 3.13 in ISPF
Reply with quote

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
View user's profile Send private message

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Jan 14, 2007 7:15 am    Post subject:
Reply with quote

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
View user's profile Send private message
Karthikeyan J

New User


Joined: 19 Dec 2006
Posts: 16
Location: Mumbai

PostPosted: Sun Jan 14, 2007 1:22 pm    Post subject: behaviour seems to be inconsistent
Reply with quote

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
View user's profile Send private message
Karthikeyan J

New User


Joined: 19 Dec 2006
Posts: 16
Location: Mumbai

PostPosted: Sun Jan 14, 2007 1:27 pm    Post subject: Re: behaviour seems to be inconsistent
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us