I'm sure Frank Y. will chime in here, but in my experience it is wisest NOT to 
use any SORTWKnn DD statements at all and instead let DFSORT dynamically 
allocate what it determines that it needs.  I would also specify as much REGION 
as you can get, at least 512M or (if you are allowed by IEFUSI exit et. al.) 
then use as close to 2G as you can get (here that is about 1784M).

HTH

Peter

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of af dc
> Sent: Friday, January 20, 2012 10:16 AM
> To: [email protected]
> Subject: Number of SORT WORKs needed
> 
> Hello,
> we have an DB2 unload that needs to be sorted, it has 900.000 CYLs,
> I'm detemining how many sortwkxx must I put on jcl to perform
> this...And according to my calculation using 255 sortwk files with
> 4300 cyls as primary allocation it will not be enough.Storage group
> for temporary files has a lot of free space with mod27 available.
> 
> 900.000 * 2 = 1.800.000 cyls  / 4300 = 419 sortwk  !!!!!!
> 
> Z/Os V1.12
> Can you pls give me an help ?? Any hint is welcome.
--


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to