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

DFSORT/ICETOOL :: RE: How can we have the varying lenth of key filed in join key!

$
0
0
Author: magesh23586
Subject: Reply to: How can we have the varying lenth of key filed in join key!
Posted: Fri Oct 14, 2016 8:12 pm (GMT 5.5)

You are matching just one byte of record in 6th position of the first dataset with
Code:

F
F
G
G
G
G


one byte of record in the first position of the second dataset

Code:

B
B
B
F
F
F
F
F
F
G
G
G
G
G
G
G


I think you need to match two bytes of record

Code:

  JOINKEYS FILE=F1,FIELDS=(6,2,A)                                 
  JOINKEYS FILE=F2,FIELDS=(1,2,A)

_________________
Regards,
Magesh


Viewing all articles
Browse latest Browse all 8500

Trending Articles