Classification: Confidential Responding to my own post. It was SYNCSORT that required single extent SORTWK. I remember needing to update an ACS routine to enforce this.
This is old, circa 2009, so the restriction may have been removed. Also, I concur with the JCL recommendations. Allow the sort program to figure things out. HTH, -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Allan Staller Sent: Wednesday, July 5, 2023 6:55 AM To: [email protected] Subject: Re: SORTWK space usage [CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.] Classification: Confidential It depends. SYNCSORT uses one method. DFSORT uses another. IIRC (but verify), DFSORT uses only a single extent. -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Billy Ashton Sent: Monday, July 3, 2023 10:46 AM To: [email protected] Subject: SORTWK space usage [CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.] Hello DFSort experts! Where can I find the explanation of SORTWK space usage? I seem to recall reading that only the primary space is used on a SORTWK, so if I have //SORTWK DD SPACE=(CYL,(5000,2000))... I will only get the primary space of 5000 cylinders, and the other 14x2000 cylinders is never used. Is that right? Is there a written explanation I can forward to the programmers so they understand this? Also (since I know it will come), is there any good way to calculate how much DASD sortwork would be used? I know this depends on what is in memory at the time, but want to get a better handle on how Sort determines what it needs. Thanks, everyone! This might be a good discussion! Billy Ashton ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ::DISCLAIMER:: ________________________________ The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ________________________________ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
