Hello,
I have a file which contains input as follows:-
#abc#1504#ca56AE56#END#
#xyz#1504#ca564#END#
#abc#1504#ca123#END#
#abc#1504#ca22AE22#END#
#abc#1504#ca248#END#
#xyz#1504#ca56ca56#END#
#abc#1504#caRJAERJ#END#
#abc#1504#ca23AE23#END#
And the required output is---
#abc#1504#ca123#END#
#abc#1504#ca248#END#
This is my job------
//S1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN= input file
// DISP=OLD
//SORTOF01 DD DSN= output file
// DISP=OLD
//SYSIN DD *
OPTION COPY
OUTFIL FILES=01,INCLUDE=((2,3,CH,EQ,C'abc'),AND,(13,3,FS,EQ,NUM)),
PARSE=(%=(ENDBEFR=C'#'),
%=(ENDBEFR=C'#'),
%00=(STARTAFT=C'#',
ENDBEFR=C'#',
FIXLEN=06)),
BUILD=(%00)
/*
And i am geting the below error for that----
6 BYTE FIXED RECORD LENGTH IS NOT EQUAL TO 80 BYTE LRECL FOR SORTOF01
Please help me out with this.