Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DFSORT/ICETOOL :: RE: Match records -

$
0
0
Author: Arun Raj
Posted: Wed Feb 22, 2017 8:19 pm (GMT 5.5)

Am I missing something here?

scdinesh,

Your code should have given something like this:
Code:
1234david 1234mike
1234david 1234nindy
1234fehan 1234mike
1234fehan 1234nindy

and NOT what you claimed you got. You are writing fields from both the input files (F1 and F2). If you just need file-1 (F1) fields, just write only F1 fields in the REFORMAT.

Since you have keys duplicated within each input 'file', your 'file-1' matching records will be repeated. If you just remove duplicates on the first 500 bytes, you should get what you want.
_________________
Arun
----------------------------------------------------------------------------------------------------
Love is like an hourglass, with the heart filling up as the brain empties. -Jules Renard


Viewing all articles
Browse latest Browse all 8500

Trending Articles