JCL FOR SPLITTING DATA USING OUTFIL The following JCL can be used for splitting files using SORT OUTFIL. //SORTJCL JOB (XXXXXXXX,,,,,XXXX),’ ‘, // REGION=0M,NOTIFY=&SYSUID //*************************************************************** //DD01 DD DSN=USERID.ABC.OUTFIL1, // DISP=(MOD,DELETE),UNIT=SYSDA,SPACE=(TRK,(1)) //DD02 DD DSN=USERID.ABC.OUTFIL1, // DISP=(MOD,DELETE),UNIT=SYSDA,SPACE=(TRK,(1)) //*************************************************************** //SORTIN DD DISP=SHR,DSN=USERID.ABC.INPFILE //SORTOF01 DD DSN=USERID.ABC.OUTFIL1, // SPACE=(TRK,(30,10),RLSE), // DCB=(RECFM=FB,LRECL=80,BLKSIZE=0,DSORG=PS) //SORTOF02 DD DSN=USERID.ABC.OUTFIL2, // SPACE=(TRK,(30,10),RLSE), // DCB=(RECFM=FB,LRECL=80,BLKSIZE=0,DSORG=PS) //SORTWK01 DD UNIT=DISK,SPACE=(CYL,(20,5),RLSE) //SORTWK02 DD UNIT=DISK,SPACE=(CYL,(20,5),RLSE) //SORTWK03 DD UNIT=DISK,SPACE=(CYL,(20,5),RLSE) YOUR SORT CARD WILL COME HERE ; ; ; ;