View previous topic :: View next topic
Author
Message
jctgf Currently Banned Active User Joined: 04 Nov 2006Posts: 109
Code:
OPTION MAINSIZE=40M
SYSIN :
SORT FIELDS=COPY
INREC PARSE=(%00=(STARTAFT=C'BMC51674I ',
ENDBEFR=C' STATISTICS',
FIXLEN=06),
%01=(STARTAFT=C'SYSRE',ENDBEFR=X'7D',
FIXLEN=03),
%02=(STARTAFT=C'STICS: ',ENDBEFR=C' RECORDS',
FIXLEN=11)),
BUILD=(01:%00,
07:%01,
10:%00,JFY=(SHIFT=RIGHT,LEAD=C'0000000000'))
OUTFIL FNAMES=SORTOUT,VTOF,
INCLUDE=(05,6,CH,EQ,C'UNLOAD',AND,
12,3,CH,GE,C'000',AND,
12,3,CH,LE,C'999')
DATA DICTIONARY SYMBOLS SUBSTITUTED :
SORT FIELDS=COPY
INREC PARSE=(%00=(STARTAFT=C'BMC51674I ',ENDBEFR=C' STATISTICS',FIXLEN=06),%01=
STARTAFT=C'SYSRE',ENDBEFR=X'7D',FIXLEN=03),%02=(STARTAFT=C'STICS: ',ENDBEFR=C'
ECORDS',FIXLEN=11)),BUILD=(01:%00,07:%01,10:%00,JFY=(SHIFT=RIGHT,LEAD=C'0000000
00'))
OUTFIL FNAMES=SORTOUT,VTOF,INCLUDE=(05,6,CH,EQ,C'UNLOAD',AND,12,3,CH,GE,C'000',
ND,12,3,CH,LE,C'999')
WER903I SYNCSORT 1.3.2.1 IS NOT LICENSED FOR SERIAL 104AF, TYPE 2094 749, LPAR
WER903I PRODUCT WILL STOP WORKING IN 19 DAYS UNLESS A VALID KEY IS INSTALLED.
WER161B ALTERNATE PARM USED
WER276B SYSDIAG= 7649983, 9978300, 9978300, 2494650
WER164B 8,884K BYTES OF VIRTUAL STORAGE AVAILABLE, 40M BYTES REQUESTED,
WER164B 0 BYTES RESERVE REQUESTED, 1,012K BYTES USED
WER146B 12K BYTES OF EMERGENCY SPACE ALLOCATED
WER108I SORTIN : RECFM=VBA ; LRECL= 137; BLKSIZE= 141
WER235A INREC RDW NOT INCLUDED
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
hi,
i wonder how to solve this rdw error since i'm using parse.
thanks.
Back to top
dick scherrer Moderator Emeritus Joined: 23 Nov 2006Posts: 19244 Location: Inside the Matrix
Hello,
Suggest you read the info about the WER235A message in the documentation.
Suggest also the product be licensed. . . .
Back to top
superk Global Moderator Joined: 26 Apr 2004Posts: 4652 Location: Raleigh, NC, USA
Don't know the Syncsort product, but logically, I'd think that the BUILD statement for a VB dataset would have to include the RDW, something like
BUILD=(1,4 ,5:%00,11:%01,14:%00,JFY=(SHIFT=RIGHT,LEAD=C'0000000000'))
Back to top
jctgf Currently Banned Active User Joined: 04 Nov 2006Posts: 109
hey superk,
thank you very much for your help.
it solved the problem.
i had included the RDW in a previous version, but not in the beginning of the record, as you suggested.
i thought it could be treated as any regular field of the record, but now i see it can only be declared in the beginning of the record (correct? ).
thanks again.
Back to top
Anuj Dhawan Superior Member Joined: 22 Apr 2006Posts: 6250 Location: Mumbai, India
jctgf wrote:
thought it could be treated as any regular field of the record, but now i see it can only be declared in the beginning of the record (correct? ).
Because for VB Files data-field starts from 5th byte, so yes that's correct.
Back to top
Please enable JavaScript!