Peter Farley wrote on 11/10/2005 09:21:25 AM:
> Question: Why are you still coding SORTWKnn statements at all?  Modern
> versions of SORT (whether DFSORT or SYNCSORT) will automatically
dynamically
> allocate whatever SORTWK's they need whenever they need them (which isn't
> nearly as often as in prior eras).  And they do a much better job than we
> ever could in deciding how many SORTWK's and how much space for each
SORTWK
> they need to sort or merge your data.
>
> Just Say No.  Remove all SORTWKnn stetements whenever you touch the JCL
> and/or the PROC, and make your life simpler.

Or use DFSORT's DYNAUTO=IGNWKDD installation option which will tells DFSORT
to automatically deallocate any JCL SORTWKdd DD statements it finds at
run-time and use dynamically allocated work data sets instead.  That way,
you can remove the SORTWKdd DD statements (or not) whenever you get around
to it.  If you use DYNAUTO=IGNWKDD and want to keep JCL SORTWKdd DD
statements for specific jobs, you can add the following just to those jobs:

//DFSPARM DD *
  OPTION USEWKDD
/*

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

Reply via email to