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: Gunapala CN
Subject: Re: Reply to: How can we have the varying lenth of key filed in join key!
Posted: Sat Oct 15, 2016 10:32 pm (GMT 5.5)

magesh23586 wrote:
Note : If your keys are in ascending order, then you may use SORTED,NOSEQCK to avoid Sorting.

Code:

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


Thank You So much Magesh Sir icon_smile.gif

Sir, Actaully some times first file would be having data with single length, that time it wont match but it expected to have match with any of record with same starting letter.

for Eq :

File 1: G

File 2: G1FGH

with key length two this will not work!

Thanks
_________________
Gunapala


Viewing all articles
Browse latest Browse all 8500

Trending Articles