Dave Guthrie of the IBM Mainframe Discussion List <[email protected]>
wrote on 08/06/2007 08:48:16 AM:

> I have a 500,000 record text file with a record length of 150 bytes.I'm
tring
> to find some way of splitting it in two. Because of the record
> lenght, I'm not
> able to use the tso edit function.  I'm sure I have the solution
somewhere.

I use Syncsort to do this.

 SORT FIELDS=COPY,STOPAFT=250000
 OUTFIL FILES=01
 END

 SORT FIELDS=COPY,SKIPREC=250000
 OUTFIL FILES=01
 END

----------------------------------------------------------------------
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

Reply via email to