Magesh_J Intermediate
Joined: 21 Jun 2014 Posts: 259 Topics: 54
|
Posted: Wed Apr 25, 2018 10:39 am Post subject: SORT condition beyond 32752 |
|
|
Hi,
I am trying to write a sort for comparing two files of record length 17200.
F1 - LREC 17200
F2 - LREC 17200.
The requirement is to extract records that are updated or added.
Code: |
JOINKEYS FILE=F1,FIELDS=(20,25,A)
JOINKEYS FILE=F2,FIELDS=(20,25,A)
JOIN UNPAIRED,F1,F2
REFORMAT FIELDS=(F1:1,17200,F2:1,17200,?)
OPTION COPY
OUTFIL INCLUDE((34401,1,CH,EQ,C'B',AND,
(1,250,BI,NE,17201,250,BI,OR,
251,250,BI,NE,17451,250,BI,OR,
501,250,BI,NE,17701,250,BI,OR,
751,250,BI,NE,17951,250,BI,OR,
1001,250,BI,NE,18201,250,BI,OR,
1251,250,BI,NE,18451,250,BI,OR,
1501,250,BI,NE,18701,250,BI,OR,
1751,250,BI,NE,18951,250,BI,OR,
2001,250,BI,NE,19201,250,BI,OR,
2251,250,BI,NE,19451,250,BI,OR,
2501,250,BI,NE,19701,250,BI,OR,
..
...
...
..
15501,250,BI,NE,32701,250,BI,OR,
15751,250,BI,NE,32951,250,BI,OR,
16001,250,BI,NE,33201,250,BI,OR,
16251,250,BI,NE,33451,250,BI,OR,
16501,250,BI,NE,33701,250,BI,OR,
16751,250,BI,NE,33951,250,BI,OR,
17001,200,BI,NE,34201,200,BI)),
OR,34401,1,CH,EQ,C'2'),BUILD=(17201,17200)
|
It appears we cannot handle condition beyond 32752 bytes.
Please advise.
Thanks
Magesh |
|