I am having 5 DS (DATA SET) of diffrent lrecl, but i want the first 10 charecter from all the DS, so i used the below code
to to get those 10 chars into the "PGM25.DS ENDDS.OUTPUT" .
but i am getting MAXCC 16


"INVALID DATA SET ATTRIBUTES: SORTIN LRECL - REASON CODE IS 05"
I couldnt make out the problem..
what is wrong in this code




//SORT09 EXEC PGM=SORT
//SORTIN DD DSN=PGM125.END100.OUTPUT,
// DISP=SHR
// DD DSN=PGM125.END103.OUTPUT,
// DISP=SHR
// DD DSN=PGM125.VEND106.OUTPUT,
// DISP=SHR
// DD DSN=PGM125.END107.OUTPUT,
// DISP=SHR
// DD DSN=PGM125.END114.OUTPUT,
// DISP=SHR
//SORTOUT DD DSN=PGM125.ENDDS.OUTPUT,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(2,2),RLSE),
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=0)
//SYSIN DD *
SORT FIELDS=(1,10,CH,A)
INREC FIELDS =(1,10)
SUM FIELDS=NONE
/*
//SYSOUT DD SYSOUT=*
//*
//SORTIN DD DSN=PGM125.END100.OUTPUT,
// DISP=SHR
// DD DSN=PGM125.END103.OUTPUT,
// DISP=SHR
// DD DSN=PGM125.VEND106.OUTPUT,
// DISP=SHR
// DD DSN=PGM125.END107.OUTPUT,
// DISP=SHR
// DD DSN=PGM125.END114.OUTPUT,
// DISP=SHR
//SORTOUT DD DSN=PGM125.ENDDS.OUTPUT,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(2,2),RLSE),
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=0)
//SYSIN DD *
SORT FIELDS=(1,10,CH,A)
INREC FIELDS =(1,10)
SUM FIELDS=NONE
/*
//SYSOUT DD SYSOUT=*
//*
Thnaks in Advance.