Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

File matching/comparision in Easytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
d_pansare

New User


Joined: 25 Apr 2009
Posts: 20
Location: Pune

PostPosted: Thu Jul 30, 2009 12:02 pm    Post subject: File matching/comparision in Easytrieve
Reply with quote

Hi All

I want to match input file containing 10 records with dump file having large number records. Matching is to be done on three fields for each record and matched record should be written to matched file and unmatched in other file.

I tried a MATCHED keyword after sorting the input files. However it is not giving me expected results. Some records are appearing in both the files.

Do we have any other way to match two files and write appropriate output files?

Thanks!!!
D_pansare
Back to top
View user's profile Send private message

anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Thu Jul 30, 2009 6:22 pm    Post subject: Reply to: File matching/comparision in Easytrieve
Reply with quote

D_pansare,
Have you sorted both the input files before matching.
Back to top
View user's profile Send private message
d_pansare

New User


Joined: 25 Apr 2009
Posts: 20
Location: Pune

PostPosted: Thu Jul 30, 2009 8:18 pm    Post subject:
Reply with quote

yeah i have sorted both the files..
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Thu Jul 30, 2009 8:26 pm    Post subject:
Reply with quote

The first file in the job statement can have duplicates keys, but the second file can not have duplicate keys. Does this help you?
If you need more help please use code tags and show us (at least) your job statement and "matched" statements.
Back to top
View user's profile Send private message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Fri Jul 31, 2009 10:52 am    Post subject: Reply to: File matching/comparision in Easytrieve
Reply with quote

D_pansare,
Can you post us the sample I/P(2 files datas) And O/P you expect of it.
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us