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

Compare two files which are 500 bytes long


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mainframe_a2z

New User


Joined: 16 Mar 2007
Posts: 2
Location: India

PostPosted: Fri Apr 20, 2007 2:58 pm
Reply with quote

Hi,

I need to compare two files which are 500 bytes long and need to display the records which are mismatching. I need to display the mismatching records based on the field names. The ouptut should be something like:

Code:
    Field01     Field02     Field03     Field04     Field05     Field06   
I - Value01     Value02     Value03     Value04     Value05     Value06   
D - Value11     Value12     Value13     Value14     Value15     Value16   

I - Value21     Value22     Value23     Value24     Value25     Value26   
D - Value31     Value32     Value33     Value34     Value35     Value36 


I tried following options:
SUPERC:
Drawback: We could list only 80 coloums of mismatching records and coloum names cannot be displayed

FileAid Compare:
Drawback: We could map the records with copybook fields but its displaying in the vertical format which is tough to read.

Thanks
Nishanth
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Apr 20, 2007 4:45 pm
Reply with quote

Tough to read, huh? Well if the results are good but the format is bad, re-format it......
Of course, you could always write a program to do exactly what you want.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
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 Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top