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

Estimating DASD space needed for a SORT


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

New User


Joined: 02 Mar 2006
Posts: 32
Location: FRANCE

PostPosted: Fri Sep 04, 2009 11:59 am
Reply with quote

Hi all,

We have many sort JOBS running at the same time, and, sometimes, our storage group for sortworks becomes full and we get some abends.
I would like to estimate for each sort how much work space will be needed for a simple sort, is there a formula ?
I saw a thread there which tells that there are many factors,
www.ibmmainframes.com/viewtopic.php?t=34889&highlight=storage
but I would like a simple formula to approximate the space for sortworks (dynamically allocated), so that I will avoid to run at the same time JOBS that will exhaust the sortwork storage group.

An other question : can I find somewhere in SMF the real space used by a job ?

Thank you very much.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Fri Sep 04, 2009 6:36 pm
Reply with quote

Correct me if I am wrong, but I believe most SORT products have the ability to define their own sort work areas. No need to know in advance how much you'll need except in special circumstances. SYSOUT should tell you how much space your SORT used.
Back to top
View user's profile Send private message
manuwankenobi

New User


Joined: 02 Mar 2006
Posts: 32
Location: FRANCE

PostPosted: Fri Sep 04, 2009 8:08 pm
Reply with quote

Terry,
I have to know in advance in order to avoid running at the same time two or more jobs that will exhaust my storage...
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: Sat Sep 05, 2009 6:23 am
Reply with quote

There's no simple formula since DFSORT can use work space in combination with memory objects, dataspace, central storage, etc.

But 1.2 to 1.5 times the input file size is probably as good a rough approximation as any.
Back to top
View user's profile Send private message
manuwankenobi

New User


Joined: 02 Mar 2006
Posts: 32
Location: FRANCE

PostPosted: Sat Sep 05, 2009 9:15 am
Reply with quote

Thank you Frank.
I'll use this ratio and look at the statitics after.
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 Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top