MOSIZE Calculation
Posted: Sat Oct 22, 2016 7:30 pm
Hello,
A few queries pertaining to DFSORT and storage:
a. How does DFSORT calculate MOSIZE?
For instance:
No SORTWK DD statement
MOSIZE override: 10%
ICE133I: MOSIZE=559
LRECL = 111
BLKSIZE = 27861
TYPE = FB
DYNAPCT=10
DYNALOC=(,004)
DYNSPC=256
For instance, number of rec: 31168769
ICE165I: ALLOCATED TKS: 81900
ICE299I gives: 3345 MB --> how was this number calculated.
b. What happens if SORTWK as well as DYNALLOC - both are provided; number > default of 4; allocation in SORTWK DD statement filling 1 volume (~ 9000 cyls) per DD statement?
My understanding is (if DYNAUTO=YES), SORTWK will be allocated first, if insufficient, then DYNALLOC will be utilized, when even that gets filled, then DYNAPCT calculated value will be used.
c. How are primary and secondary allocation values calculated for DYNALLOC DS using DYNSPC.
Any guidance and calculation explanation is really appreciated.
Thank you.
A few queries pertaining to DFSORT and storage:
a. How does DFSORT calculate MOSIZE?
For instance:
No SORTWK DD statement
MOSIZE override: 10%
ICE133I: MOSIZE=559
LRECL = 111
BLKSIZE = 27861
TYPE = FB
DYNAPCT=10
DYNALOC=(,004)
DYNSPC=256
For instance, number of rec: 31168769
ICE165I: ALLOCATED TKS: 81900
ICE299I gives: 3345 MB --> how was this number calculated.
b. What happens if SORTWK as well as DYNALLOC - both are provided; number > default of 4; allocation in SORTWK DD statement filling 1 volume (~ 9000 cyls) per DD statement?
My understanding is (if DYNAUTO=YES), SORTWK will be allocated first, if insufficient, then DYNALLOC will be utilized, when even that gets filled, then DYNAPCT calculated value will be used.
c. How are primary and secondary allocation values calculated for DYNALLOC DS using DYNSPC.
Any guidance and calculation explanation is really appreciated.
Thank you.