Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 1239
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 Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us