IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Regarding Dynamic allocation of Work files


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nal_satish

New User


Joined: 20 Jun 2005
Posts: 26
Location: Hyderabad

PostPosted: Tue Feb 07, 2006 10:09 am
Reply with quote

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
View user's profile Send private message
nuthan

Active User


Joined: 26 Sep 2005
Posts: 146
Location: Bangalore

PostPosted: Tue Feb 07, 2006 11:49 am
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue Feb 07, 2006 10:16 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top