DFSORT documents the use of SPLIT1R= parameter of OUTFIL statement, as shown below (no sort performed with this example -- single pass of input data file):
//STEP1 EXEC PGM=SORT //SYSOUT DD SYSOUT=* //SORTIN DD * DATA RECORD 1 DATA RECORD 2 DATA RECORD 3 DATA RECORD 4 DATA RECORD 5 DATA RECORD 6 DATA RECORD 7 //OUT1 DD SYSOUT=* //OUT2 DD SYSOUT=* //OUT3 DD SYSOUT=* //SYSIN DD * SORT FIELDS=COPY OUTFIL FNAMES=(OUT1,OUT2,OUT3),SPLIT1R=2 Scott Barry SBBWorks, Inc. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html