JCL Syntax i used is below giving PARSED FIELD DEFINITION ERROR. ( since the column number crossed 100.)
How to process that file that has More than 100 columns,( in this case it is 188 columns.)
Can anyone help me in this regard.
Thanks
JRS
//SORTOUT DD DSN=A.B.C,
// UNIT=DISK,SPACE=(TRK,(1,2),RLSE),
// DCB=(LRECL=2310,BLKSIZE=0,RECFM=FB),
// DISP=(NEW,CATLG,DELETE)
//SYSSORT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//*
//SYSIN DD *
SORT FIELDS=COPY
INREC PARSE=(%00=(ENDBEFR=C'|',FIXLEN=30),
%01=(ENDBEFR=C'|',FIXLEN=10),
%02=(ENDBEFR=C'|',FIXLEN=12),
%03=(ENDBEFR=C'|',FIXLEN=12),
.
.
.
%99=(ENDBEFR=C'|',FIXLEN=10),
%100=(ENDBEFR=C'|',FIXLEN=04),
%101=(ENDBEFR=C'|',FIXLEN=02),
.
.
.
%185=(ENDBEFR=C'|',FIXLEN=02),
%186=(ENDBEFR=C'|',FIXLEN=08),
%187=(ENDBEFR=C'|',FIXLEN=08)),
BUILD=(%00,%01,%02,%03,... X
%99,%100,%101,.. X
%185,%186,%187)
/*
//
// UNIT=DISK,SPACE=(TRK,(1,2),RLSE),
// DCB=(LRECL=2310,BLKSIZE=0,RECFM=FB),
// DISP=(NEW,CATLG,DELETE)
//SYSSORT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//*
//SYSIN DD *
SORT FIELDS=COPY
INREC PARSE=(%00=(ENDBEFR=C'|',FIXLEN=30),
%01=(ENDBEFR=C'|',FIXLEN=10),
%02=(ENDBEFR=C'|',FIXLEN=12),
%03=(ENDBEFR=C'|',FIXLEN=12),
.
.
.
%99=(ENDBEFR=C'|',FIXLEN=10),
%100=(ENDBEFR=C'|',FIXLEN=04),
%101=(ENDBEFR=C'|',FIXLEN=02),
.
.
.
%185=(ENDBEFR=C'|',FIXLEN=02),
%186=(ENDBEFR=C'|',FIXLEN=08),
%187=(ENDBEFR=C'|',FIXLEN=08)),
BUILD=(%00,%01,%02,%03,... X
%99,%100,%101,.. X
%185,%186,%187)
/*
//