Jim McAlpine wrote on 11/14/2005 07:53:44 AM: > Frank, > I've just changed one of our jobs to comment out the SORTWKnn dd statements > and use - > //DFSPARM DD * > OPTION DYNALLOC=(,3) > /* > The job seems to have done 15 sorts all of which are in main storage ie > there are 15 of each of these messages in the output - > ICE000I 0 - CONTROL STATEMENTS FOR 5740-SM1, DFSORT REL 14.0 - 15:27 ON MON > NOV 14, 2005 - > OPTION DYNALLOC=(,3) > ICE080I 0 IN MAIN STORAGE SORT > yet the dynamic allocation of the SORTWKnn files only occurs 12 times. Is > there any reason why the SORTWKnn files should be allocated at all if sort > knows it's going to do an IN MAIN sort and if they do need to get allocated > why the discrepancy between the number of sorts and the SORTWKnn > allocations. Just curious. > > Jim McAlpine
Jim, DFSORT dynamically allocates some work space if there's any chance that it might need it (in order to avoid space ABENDs), and that "decision" depends on a lot of factors which I can't discuss. If it turns out that the sort can be done in main, then the allocated work space isn't used. Note that with JCL SORTWKs, the space is always allocated (by the system), but will also not be used if the sort can be done in main. Frank Yaeger - DFSORT Team (IBM) Specialties: 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

