Author: Abid Hasan
Posted: Tue Apr 04, 2017 7:30 pm (GMT 5.5)
Hello,
I'd leave it to DFSORT experts to answer this query in detail as they'd have more experience with this.
Though, from past experience what you can do is:
a. Restrict memory usage by putting in control over MOSIZE/HIPRMAX; this can be managed through DFSPARM
b. Add a decent sized DYNALLOC value - word of caution --> before you override this, would recommend that you do have someone look at the defaults, AND visit the DFSORT manual to understand how the changed values will behave; DFSORT guide has a good chapter on calculation of work-space
c. Simply, add the SORTWK DD statements to the JCL; if they are present, IIRC, they are allocated to DFSORT (by JCL rules they are allocated during run-time in any case; but DFSORT refers them as well; usage to a higher degree is governed by the restriction on the MOSIZE workspace, which is requested to be limited as per point-a)
Lastly, please do perform regression testing with a fairly large dataset (read At Least a few million records and a large RECL), and various combinations of MOSIZE/HIPRMAX and work dataset allocation; because it does tend to vary site-to-site.
Hope this helps.
_________________
Thanks.
Posted: Tue Apr 04, 2017 7:30 pm (GMT 5.5)
Hello,
I'd leave it to DFSORT experts to answer this query in detail as they'd have more experience with this.
Though, from past experience what you can do is:
a. Restrict memory usage by putting in control over MOSIZE/HIPRMAX; this can be managed through DFSPARM
b. Add a decent sized DYNALLOC value - word of caution --> before you override this, would recommend that you do have someone look at the defaults, AND visit the DFSORT manual to understand how the changed values will behave; DFSORT guide has a good chapter on calculation of work-space
c. Simply, add the SORTWK DD statements to the JCL; if they are present, IIRC, they are allocated to DFSORT (by JCL rules they are allocated during run-time in any case; but DFSORT refers them as well; usage to a higher degree is governed by the restriction on the MOSIZE workspace, which is requested to be limited as per point-a)
Lastly, please do perform regression testing with a fairly large dataset (read At Least a few million records and a large RECL), and various combinations of MOSIZE/HIPRMAX and work dataset allocation; because it does tend to vary site-to-site.
Hope this helps.
_________________
Thanks.