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

DFSORT/ICETOOL :: RE: Matching and unmatching records

$
0
0
Author: scdinesh
Posted: Tue Feb 07, 2017 2:55 am (GMT 5.5)

Hi Bill,
Thanks for the reply!!!
Please advise how can I specify.

JOINKEYS FILES=F1,FIELDS=(1,4,A)
JOINKEYS FILES=F2,FIELDS=(1,4,A)
JOIN UNPAIRED,F1,F2
REFORMAT FIELDS=(F1:1,80,?)
OPTION COPY
OUTFIL FNAMES=OFILE1,INCLUDE=(81,1,CH,EQ,C'B'),
BUILD=(1,80)
OUTFIL FNAMES=OFILE2,INCLUDE=(81,1,CH,EQ,C'1'),
BUILD=(1,80)
OUTFIL FNAMES=OFILE3,INCLUDE=(81,1,CH,EQ,C'2'),
BUILD=(1,80)

Note:
B=both -> In my case I need to write matching/unmatching records into separate files


Viewing all articles
Browse latest Browse all 9405

Trending Articles