Problem with SORT OUTRFIL and OUTREC
Hi,
Am facing one problem for below scenario.
//STEP01  EXEC PGM=SYNCSORT                                      //SYSPRINT DD SYSOUT=*                                            //SYSOUT  DD SYSOUT=*                                            //SYSDUMP DD SYSOUT=*                                            //SORTIN  DD DSN=MLIFE24.VCSE.MIS.MISEXTRM(+0),DISP=SHR          —> lrecl size is 20476 and recfm is VB //PVALOUT DD DSN=TLIFE24.VCSED.MIS.PVAL2,                        //           DISP=(NEW,CATLG,DELETE),                            //           DATACLAS=DATAF,LRECL=3000                           //INQCOUT DD DSN=TLIFE24.VCSED.MIS.INQC2,                        //           DISP=(NEW,CATLG,DELETE),                            //           DATACLAS=DATAF,LRECL=3000                           //SYSIN   DD *                                                    SORT FIELDS=COPY            OUTFIL FNAMES=PVALOUT,INCLUDE=(67,4,CH,EQ,C’PVAL’)                OUTFIL FNAMES=INQCOUT,INCLUDE=(67,4,CH,EQ,C’INQC’)                   OUTREC FIELDS=(1:19,3,4:39,15,19:59,8,27:67,4,31:92,2963),VTOF
/*Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
I need output dataset size only 3000.
Am getting below error.
WER146BÂ 4K BYTES OF EMERGENCY SPACE ALLOCATEDÂ Â Â Â Â Â Â Â Â Â Â Â Â Â WER108IÂ SORTINÂ Â : RECFM=VBÂ Â ; LRECL= 20476; BLKSIZE= 27998 WER237IÂ OUTREC RECORD LENGTH =Â 2993Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â WER110IÂ PVALOUTÂ : RECFM=FBÂ Â ; LRECL=Â 3000; BLKSIZE= 27000 WER110IÂ INQCOUTÂ : RECFM=FBÂ Â ; LRECL=Â 3000; BLKSIZE= 27000 WER247AÂ PVALOUTÂ HAS INCOMPATIBLE LRECLÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
WER247AÂ INQCOUTÂ HAS INCOMPATIBLE LRECLÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
Please someone help me.