STOPAFT is indeed the right one... STARTREC and ENDREC are OUTFIL statements and therefore "downstream" from where the file is read. (I'm sure Frank will correct my terminology in a few hours' / days' time.) :-)
STOPAFT is "upstream" and so the reads don't take place once the STOPAFT value has been reached. Cheers, Martin Martin Packer Performance Consultant IBM United Kingdom Ltd +44-20-8832-5167 +44-7802-245-584 email: [email protected] Twitter ID: MartinPacker "One Tribe Y'all" :-) Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU ---------------------------------------------------------------------- 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

