OK, the team is going to figure out what is the best set of defaults for the majority of work (80/20 rule), and then use the full DFSPARM override for those odd jobs that need to add FILSZ. I think we will leave the DYNSPC out for now, and work with the default 256 unless we need to change it. Of course, we test all the job changes like this.

Thanks again so much for your guidance here! I don't think I have any more questions, but other folks may still jump in, I guess.

Billy Ashton


------ Original Message ------
From "Sri h Kolusu" <skol...@us.ibm.com>
To IBM-MAIN@listserv.ua.edu
Date 7/6/2023 1:13:39 PM
Subject Re: SORTWK space usage

 and their intention is to use the common DFSPARM like I showed, but then to 
concatenate another line there with the FILSZ=E### value. This way, they don't 
need to specify everything again, and can focus on only the parameter they need.

Billy,

Unfortunately, that would NOT work.  You cannot have multiple OPTION 
statements.  However, you can override the contents of DD of a proc in the JCL. 
 So, you add the FILSZ parameter at the end of your parms. Or you need to add a 
COMMA at the end and have FILSZ parm on the next line.

 Is there some formula for the DYNSPC setting? the manual had a table, but it 
said it was showing a value for 6000-byte records...that doesn't sound overly 
useful

The manual also mentions about the size of the file in MB in relation to DYNSPC.  
"Blockset is able to sort approximately 150 megabytes with DYNSPC=32 and 
approximately 1200 megabytes with DYNSPC=256."

In your case you overrode DYNSPC=768 which would let your Sort 3600 
megabytes(3.6 GB).   However, your program is trying to sort about 69 GB of 
data.   You cannot really tune DYNSPC for that size.  You are better off 
providing the estimated filesize via DFSPARM with DYNALLOC and sort will 
automatically allocate the necessary disk space.

≫--is there a different setting for secondary allocation?

Look up the parm WRKSEC which specifies whether DFSORT uses automatic secondary 
allocation for temporary JCL SORTWKdd data sets for which a secondary 
allocation amount is not specified.

https://www.ibm.com/docs/en/zos/2.5.0?topic=statements-option-control-statement


Thanks,
Kolusu


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to