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

Clarification in SuperC - Line Compare option 3.13 in ISPF


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts SCOPE PENDING option -check data DB2 2
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
Search our Forums:

Back to Top