View previous topic :: View next topic
|
Author |
Message |
coxdavi
New User
Joined: 12 Mar 2009 Posts: 30 Location: usa
|
|
|
|
Here are our defaults:
DYNALOC (WORKDA,6) (WORKDA,6) (WORKDA,6) (WORKDA,6)
* (SYSDA,4) * (SYSDA,4) * (SYSDA,4) * (SYSDA,4)
The question I have concerns the number of SORTWK* statements dynamically created and used through the use of the WORK parameter on the SORT statement in Easytrieve. My Easytrieve site default is set to WORK(3). I have the defaults above within DFSORT. Confusion sets in when I run an Easytrieve program sorting a small file using the WORK parm:
No WORK parm or WORK = 0 gives 4 SORTWK* allocations and DYNALLOC = 3.
WORK = 4 gives 6 SORTWK* allocations and DYNALLOC = 4.
WORK = 10 gives 15 SORTWK* allocations and DYNALLOC = 10.
Can someone please explain the second and third results ? I see the first.
Thanks,
Dave Cox |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
I have no idea how Easytrieve interacts with DFSORT in terms of SORTWK allocations or DYNALLOC.
I might be able to figure it out from the DFSORT messages (ICExxxs) produced by the Easytrieve job.
If you want me to take a look, please add the following to the job:
//SORTDIAG DD DUMMY
and send me the complete JES and DFSORT messages offline (yaeger@us.ibm.com). Please put "DFSORT" somewhere in your Subject line to catch my attention. |
|
Back to top |
|
|
coxdavi
New User
Joined: 12 Mar 2009 Posts: 30 Location: usa
|
|
|
|
The answer from Frank is that since Easytrieve passes input records through an E15 exit, DFSORT does not know the number of records. DFSORT will allocate what is specified ( current specification is 4 ) and proactively add half of what is requested, giving total of 6.
Thanks Frank.
Dave Cox |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello Dave and welcome to the forum,
Thanks for the follow-up
d |
|
Back to top |
|
|
|