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

SYNCSORT :: RE: Joinkeys with duplicated keys

$
0
0
Author: mistah kurtz
Posted: Fri Sep 23, 2016 10:48 am (GMT 5.5)

You have mentioned key positions as POS: 4, LENGTH: 3, but your input/output suggest otherwise.

Try this sort card:
Code:
  JOINKEYS FILE=F1,FIELDS=(3,4,A)
  JOINKEYS FILE=F2,FIELDS=(3,4,A)
  JOIN UNPAIRED,F1,F2
  REFORMAT FIELDS=(?,F1:1,9,F2:1,9)
  SORT FIELDS=(4,4,CH,A,13,4,CH,A)
  SUM  FIELDS=NONE
  OUTFIL FILES=01,INCLUDE=(1,1,CH,EQ,C'B'),BUILD=(2,18,62X)


Viewing all articles
Browse latest Browse all 8500