Joined: 06 Apr 2021 Posts: 123 Location: argentina
hello, how are you? I hope you are doing well.
I have a doubt with this parameters.
I know that this option is used because it permit to allocate DYNAMICALLY work space, and there is no need to use DD SORTWKXX.
My intention was to know a little more about the second parameter, which is the criteria to fill it? in the guide it says that ''specifies the maximum number of requested work data sets''
How can I know the correct number of work datasets
?
Joined: 15 Aug 2015 Posts: 1306 Location: Bamberg, Germany
Maybe this notice from DFSORT 2.5 manual is of help.
Quote:
A sort application usually requires intermediate storage as working space during the program run. This storage can be one of the following:
1. Hiperspace, using DFSORT's Hipersorting feature.
2. Work data sets—either allocated dynamically by DFSORT's DYNALLOC facility or specified by the user,
using JCL DD statements. If specified by the user, the intermediate storage devices and the amount
of work space must be indicated. Methods for determining the amount of work space to allocate are
explained in Appendix A, “Using work space,” on page 797.
3. A combination of Hiperspace and work data sets.
Merge and copy applications do not require intermediate storage.
Joined: 06 Apr 2021 Posts: 123 Location: argentina
Joerg.Findeisen wrote:
Maybe this notice from DFSORT 2.5 manual is of help.
Quote:
A sort application usually requires intermediate storage as working space during the program run. This storage can be one of the following:
1. Hiperspace, using DFSORT's Hipersorting feature.
2. Work data sets—either allocated dynamically by DFSORT's DYNALLOC facility or specified by the user,
using JCL DD statements. If specified by the user, the intermediate storage devices and the amount
of work space must be indicated. Methods for determining the amount of work space to allocate are
explained in Appendix A, “Using work space,” on page 797.
3. A combination of Hiperspace and work data sets.
Merge and copy applications do not require intermediate storage.
'''Work data sets—either allocated dynamically by DFSORT's DYNALLOC facility or specified by the user,
using JCL DD statements'''
Why if the allocation is made by the system automatically I have to give the second parameter? what type of info I have to enter here?
Did you read manuals? I have not used nor required to provide this option ever yet due to the way systems are set up. Look for ICE000I/ICE129I in SORT sysout and you will see your site installation option is chosen. You can then specify different values and test.
Joined: 06 Apr 2021 Posts: 123 Location: argentina
Really I did not understand much of what you both say, so I will read all of the documents that you gave me.
One thing I want to say is that some manuals are something difficult to read, I usually read murachs books about cobol or jcl, I have some difficult dealing with reading direct from the manuals of ibm, because sometimes there I do not find info that later I find in other places.
Really I did not understand much of what you both say, so I will read all of the documents that you gave me.
One thing I want to say is that some manuals are something difficult to read, I usually read murachs books about cobol or jcl, I have some difficult dealing with reading direct from the manuals of ibm, because sometimes there I do not find info that later I find in other places.
thanks again.
You can't skip manuals and you will end up with limited or incorrect knowledge. What you originally asked is explained in detail in my link and I also requested to try and test which you have not done yet.
Most of the times, let DFSORT assign dynamically required work datasets and if you choose to provide manually then refer the manual link and it has values what to give when for what block techniques.
I see that there are 5 dd allocated about sortwk in the sort's output
My doubts are:
1) Is the hiperspace not used because there was no need or because system evaluated it would be not sufficient?
2) if DYNALOC is (SYSDA,4) and as I said before there was 5 allocated sortwk how do I know that this quantity (4) is sufficient? I cant understand this because I see that 4 is the max quantity of work data sets and seing the sort's output I see 5 allocations, I cant see how can I check if this was sufficient or not.