View previous topic :: View next topic
|
Author |
Message |
nal_satish
New User
Joined: 20 Jun 2005 Posts: 26 Location: Hyderabad
|
|
|
|
Hi ,
Can any one let me know regarding the Workfiles allocation whic are used
in jcl with sort utility .
Depending on the size of the input file we generaaly allocate Workfiles
but if iam not aware of the size of the input file then how many work files need to be allocated is also not sure..
Is there any other way for Dynamic allocation of work files.
Thanks,
Satish.N |
|
Back to top |
|
|
nuthan
Active User
Joined: 26 Sep 2005 Posts: 146 Location: Bangalore
|
|
|
|
sort algorithm selection can be improved by the inclusion of actual and estimated input file sizes, sort work space requirements can also be calculated from these file sizes and then dynamically allocated. Recommendable is omitting SORTWK DDs from the JCL, thus allowing the sort software to dynamically allocate its SORTWK DDs. The sort?s installation default should be set to a minimum of three SORT WK datasets (DDs). |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Satish,
Which sort utility are you using (DFSORT, Syncsort, CA-Sort)? If you don't know, you can find out by taking a look at the //SYSOUT messages from a sort run. If you have ICExxxs messages, you're using DFSORT. If you have WERxxxs messages, you're using Syncsort. If you have CASxxxs messages, you're using CA-Sort.
Quote: |
sort algorithm selection can be improved by the inclusion of actual and estimated input file sizes |
For DFSORT, this is generally not needed because DFSORT can automatically determine the filesize. There are a very few exceptions such as when an E15 exit supplies all of the records or when the input is unmanaged tape. |
|
Back to top |
|
|
|