Author: ashok_uddaraju
Subject: Reply to: Need help on comparing hexadecimal values
Posted: Thu Apr 28, 2016 4:21 am (GMT 5.5)
my input files are VB files with record length 27994 and when i used the below sort card
it fails "REFORMAT FIELD OUTSIDE RANGE". I tried adding 4 bytes as well but still the same issue
code' d AGAIN
Subject: Reply to: Need help on comparing hexadecimal values
Posted: Thu Apr 28, 2016 4:21 am (GMT 5.5)
my input files are VB files with record length 27994 and when i used the below sort card
Code: |
000015 JOINKEYS FILES=F1,FIELDS=(28,20,A) 000016 JOINKEYS FILES=F2,FIELDS=(28,20,A) 000017 REFORMAT FIELDS=(F1:1,27994,F2:1,27994),FILL=X'FF' 000018 JOIN UNPAIRED,F1 000019 SORT FIELDS=COPY 000020 OUTFIL FILES=01,INCLUDE=(27999,1,BI,NE,X'FF'), 000021 OUTREC=(5,27990),FTOV,VLTRIM=X'FF' 000022 OUTFIL FILES=02,SAVE,OUTREC=(5,27990),FTOV,VLTRIM=X'FF' 000023 //* |
it fails "REFORMAT FIELD OUTSIDE RANGE". I tried adding 4 bytes as well but still the same issue
code' d AGAIN