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

Value for DYNALLOC parameter


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

Active Member


Joined: 27 Nov 2006
Posts: 649
Location: India

PostPosted: Mon Oct 24, 2011 8:04 pm
Reply with quote

Hi, any clue as to How we can decide what value should be supplied for DYNALLOC parameter?

Thanks
Krishna
Back to top
View user's profile Send private message
sqlcode1

Active Member


Joined: 08 Apr 2010
Posts: 577
Location: USA

PostPosted: Mon Oct 24, 2011 8:18 pm
Reply with quote

krisprems,
It depends on your size for sort fields.

Refer to DFSort Tunning Guide

Thanks,
Back to top
View user's profile Send private message
krisprems

Active Member


Joined: 27 Nov 2006
Posts: 649
Location: India

PostPosted: Mon Oct 24, 2011 8:23 pm
Reply with quote

I am looking for a sort of formula, based on which I can pass a value in this parameter, say for example DYNALLOC=(,16). How can i decide this value.

Sorry, if it was provided in the link mentioned by you. I didnt find it!

Thanks
Krishna
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: Mon Oct 24, 2011 11:59 pm
Reply with quote

Quote:
It depends on your size for sort fields.


It actually depends more on the number of records to be sorted, although the size of the sort fields can factor into it too.

Quote:
I am looking for a sort of formula, based on which I can pass a value in this parameter, say for example DYNALLOC=(,16). How can i decide this value.


There is no such formula (and none is needed). You just need to supply an approx. number for DYNALLOC that provides enough work space consistent with the number of records you are going to sort. I'd suggest you start with your site's default. If that doesn't work, bump it up to DYNALLOC=(,8). If that doesn't work, bump it up to DYNALLOC=(,16) and so on.
Back to top
View user's profile Send private message
krisprems

Active Member


Joined: 27 Nov 2006
Posts: 649
Location: India

PostPosted: Tue Oct 25, 2011 2:43 pm
Reply with quote

Hi Frank,
one another question , is it better to use the FILSZ or DYNALLOC parameter?
Back to top
View user's profile Send private message
krisprems

Active Member


Joined: 27 Nov 2006
Posts: 649
Location: India

PostPosted: Tue Oct 25, 2011 2:58 pm
Reply with quote

SORT statement used in my SYSIN is ...

Code:
SORT     FIELDS=(1,36,CH,A)
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 Oct 25, 2011 11:12 pm
Reply with quote

In general, you DO NOT need to specify FILSZ because DFSORT can usually determine the number of records to sort automatically. One exception is when an E15 supplies all of the records. For more specific information, see:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA60/A.4.1.3?SHELF=&DT=20110608113434&CASE=
Back to top
View user's profile Send private message
krisprems

Active Member


Joined: 27 Nov 2006
Posts: 649
Location: India

PostPosted: Wed Oct 26, 2011 9:25 am
Reply with quote

Frank this helps , thank you!
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 Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Writing the output file name from a p... JCL & VSAM 7
No new posts Reference for COND parameter. JCL & VSAM 1
Search our Forums:

Back to Top