COMPARE 2 FILES
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> Utilities

#1: COMPARE 2 FILES Author: ldushkin PostPosted: Tue Apr 18, 2006 1:04 pm
    —
Hi all,

Can we compare fields in 2 fix files with differnt layout?

ex:
FILE1

FIELD1 FIELD2 FIELD3 FIELD4
AAAAAAA BBBBBBB CCCCCCC

FILE2

FIELD1 FIELD2 FIELD3 FIELD4
CCCCCC AAAAAAA BBBBBBB DDDDDD

ex:

compare FIELD1 (file1) with FIELD2 (file2)

Thank you

#2:  Author: kolusuLocation: San Jose PostPosted: Tue Apr 18, 2006 1:25 pm
    —
ldushkin,

Please search before posting. check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=5399

all you need to do is reformat the files to be of the same layout

Hope this helps...

Cheers

Kolusu

#3:  Author: Frank YaegerLocation: San Jose PostPosted: Tue Apr 18, 2006 2:52 pm
    —
Idushkin,

It's not clear what you want to do. Do you want to compare the records one-by-one, but the key or in some other way and what do you want to do if the fields compare or don't compare? Please show an example of the records in each input file and what you want for output, and explain what you want to do. Also, what is the RECFM and LRECL of each input file?

#4:  Author: semigeezerLocation: Atlantis PostPosted: Tue Apr 18, 2006 10:03 pm
    —
Check the process options for SuperC (part of ISPF). It lets you select different parts of records from different files to be compared.



MVSFORUMS.com -> Utilities


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group