The question stated "I have a large file that is sorted in ascending order by a 
date field, YYYYMMDD". So I must assume it is already in sequence od date. 


Terry Draper
zSeries Performance Consultant
[email protected]
mobile:  +66 811431287

--- On Wed, 29/9/10, Staller, Allan <[email protected]> wrote:


From: Staller, Allan <[email protected]>
Subject: Re: SORT question
To: [email protected]
Date: Wednesday, 29 September, 2010, 15:05


At E15 time, the file has not yet been sorted.

<snip>
Maybe try using an E15 exit to read the input file. Stop passing the records 
when you reach the date higher than required.. 
I am not sure how I would pass the date to the E15. Could it be a parm. Or it 
could be read from a separate single record input file on first pass through 
the E15.
 
Any comments on this?
</snip>

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

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