Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
You can use a DFSORT job like this to do what you asked for:
Code: |
//S1 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=... input file
//OUT1 DD DSN=... output file1
//OUT2 DD DSN=... output file2
...
//OUTn DD DSN=... output filen
//SYSIN DD *
OUTFIL SPLIT1R=10,
FNAMES=(OUT11,OUT2,...,OUTn)
/*
|
For more information on various ways to split input files with DFSORT, see the "Split a file to n output files dynamically" and "Five ways to split a data set" Smart DFSORT Tricks at:
www.ibm.com/servers/storage/support/software/sort/mvs/tricks/ |
|