Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Estimating DASD space needed for a SORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Estimating DASD space needed for a SORT
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,
http://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    Post subject:
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    Post subject:
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 Moderator


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

PostPosted: Sat Sep 05, 2009 6:23 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 2 Thu Dec 14, 2017 8:13 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts JOINKEYS Paired and Unpaired Sort on ... MFwhiz DFSORT/ICETOOL 7 Tue Nov 07, 2017 2:46 am
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us