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: 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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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