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

DFSORT/ICETOOL :: RE: Joinkeys with condition

$
0
0
Author: scdinesh
Posted: Tue Feb 14, 2017 1:57 am (GMT 5.5)

Hi Arun,
I tried below option with 'INCLUDE/OUTFIL' , am getting desired result in sortout file but empty on both output File1/ File2 , challenge here is need to derive File1 and File2 upon result from sortout file

SORT FIELDS=COPY
JOINKEYS F1=UNLOAD,FIELDS=(7,20,A)
JOINKEYS F2=EXTRACT,FIELDS=(27,20,A)
JOIN UNPAIRED,F1
REFORMAT FIELDS=(F2:5,20,F2:25,2,F1:1,437)

OUTFIL INCLUDE=(1,20,CH,EQ,C' '),FILES=01
OUTFIL INCLUDE=(1,20,CH,NE,C' '),FILES=02


Viewing all articles
Browse latest Browse all 8500

Trending Articles