The below code helps me perform a N:N file match, but I was not able figure out how to perform a 1:1 file match.
I would also like to know how to perform a 1:N file match using JOINKEYS.
Joined: 09 Apr 2008 Posts: 133 Location: Phoenix, AZ
Hi Neo,
File1 does not contain the record 33333ggg. Then how can you expect to get that record in your output file?
The Below Control card will you the expected out put of your initial post.
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Here's a DFSORT JOINKEYS job that do what you asked for. From your examples, I'm assuming that input file1 does not have duplicates and input file2 does have duplicates, and you want the matching input file1 records as output.