MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

COMPARE 2 FILES

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
ldushkin
Beginner


Joined: 05 Apr 2006
Posts: 56
Topics: 20

PostPosted: Tue Apr 18, 2006 1:04 pm    Post subject: COMPARE 2 FILES Reply with quote

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
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12367
Topics: 75
Location: San Jose

PostPosted: Tue Apr 18, 2006 1:25 pm    Post subject: Reply with quote

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
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Tue Apr 18, 2006 2:52 pm    Post subject: Reply with quote

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?
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Tue Apr 18, 2006 10:03 pm    Post subject: Reply with quote

Check the process options for SuperC (part of ISPF). It lets you select different parts of records from different files to be compared.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group