Posted: Wed Mar 30, 2011 5:55 pm Post subject: Split files into multiple files
My input file has huge number of records, so need to split it into multiple files. But the total number of records in the input file is not known. Each output file can hold at max 10000 records. Please suggest the jcl using sort.
Joined: 18 Feb 2006 Posts: 812 Location: San Jose, CA
Posted: Wed Mar 30, 2011 10:16 pm Post subject:
Also, see the "Split a file to n output files dynamically" Smart DFSORT Trick in the same document. _________________ Frank Yaeger - DFSORT Development Team (IBM) - firstname.lastname@example.org
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum