Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us