On Jan 31, 6:33 am, Tim Burkart wrote: > Even though "DFSORT will NOT stop as soon as it gets two records for > each value, but it will give you up to two records for each value" > could it be done via an exit? In general can DFSORT be directed to > stop processing after creating a predefined number of output records?
Yes, but probably not in a way you'd want to do it. An E35 (output) exit could pass back a return code of 16 to DFSORT at any point to tell DFSORT to terminate with a return code of 16. That will stop DFSORT from processing any more records. But it won't look like a successful run (RC=16 instead of RC=0). (Note that an E35 can pass back a return code of 8 to DFSORT to tell DFSORT not to return to the exit, but any remaining records will still be processed - they just won't be passed to the exit.) Frank Yaeger - DFSORT Team (IBM) - [EMAIL PROTECTED] Specialties: PARSE, JFY, SQZ, ICETOOL, IFTHEN, OVERLAY, Symbols, Migration => DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort/ ---------------------------------------------------------------------- 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

