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

Dataset Space Alert


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
akumaras

New User


Joined: 06 Jul 2012
Posts: 10
Location: india

PostPosted: Tue Nov 19, 2013 6:58 pm
Reply with quote

Hi,

Is there any way to get an alert about the space available or used in the dataset to avoid space failures?

Please let me know how to do this if there is a way.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Tue Nov 19, 2013 7:13 pm
Reply with quote

Talking to your storage management team would be the best place to start as they may already have monitoring procedures in place.

They may have already adapted the SMS ACS routines to automatically make datasets multi volume as a default. If not, why not ask them about it.

You may also consider using DCOLLECT to perform an analysis with if it really must be done by you.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Tue Nov 19, 2013 7:20 pm
Reply with quote

most well managed sites have a procedure in place to forecast data growth
( at least for the critical applications )
in order to implement the appropriate changes in a timely way
Back to top
View user's profile Send private message
akumaras

New User


Joined: 06 Jul 2012
Posts: 10
Location: india

PostPosted: Tue Nov 19, 2013 7:46 pm
Reply with quote

Hi,

I want to give a try myself before speaking to storage management team. So i will try using DCOLLECT as suggested by expat and let you all know the status.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Tue Nov 19, 2013 8:18 pm
Reply with quote

Hello,

Many of my client sites do not allow developers to use DCOLLECT. . .

fwiw
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Tue Nov 19, 2013 8:19 pm
Reply with quote

And you may well be wasting your time reinventing the wheel that already exists.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Tue Nov 19, 2013 8:41 pm
Reply with quote

Quote:
Is there any way to get an alert about the space available or used in the dataset to avoid space failures?
In general, the answer to your question depends upon your site and its storage management policies and procedures. The answer also partly depends upon your application -- if the space used by the data set stays constant, it could use 100% of the allocated space and never have any space abends. On the other hand, if the space usage varies widely depending on extrernal factors, having the data set have 99% free space might not be adequate when that once-in-a-blue-moon occurrence occurs and the data set suddenly needs several thousand cylinders.

Basically, the bottom line is that to some extent it is not possible to completely prevent space abends. Without complete and thorough knowledge of the application and the site, it probably makes little sense to worry about space abends -- unless they are occurring frequently.
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Wed Nov 20, 2013 1:02 pm
Reply with quote

The downside of DCOLLECT of course is that the datasets being analysed must exist at the time that the analysis is done.

I have succesfully used SMF type 15 records which include both the number of extents that the dataset is in as well as the volume count. Thus it is a simple matter to calculate the maximum possible extents for any given dataset and set a threshold for percentage of maximum extents used.

That way all datasets are analysed, even temporary work files.
Back to top
View user's profile Send private message
TheMFKid

New User


Joined: 20 Nov 2013
Posts: 91
Location: India

PostPosted: Wed Nov 20, 2013 1:07 pm
Reply with quote

If you are having a specific dataset or a list of specific datasets, you can try to design and run a customized program/job which will send you the space utilization report daily or weekly.
There are various functions like ISPEXEC DSINFO which can return the current allocation/utilization information for a given dataset.
Back to top
View user's profile Send private message
akumaras

New User


Joined: 06 Jul 2012
Posts: 10
Location: india

PostPosted: Wed Nov 20, 2013 6:12 pm
Reply with quote

Hi All,

I tried to use DCOLLECT but program is not allowing me to do the same due to insufficient facility class authorization to perform function..

Expat I am just trying to explore things instead of going directly to Storage group...Because of this exploring i found one of your post which was way back in 2009 on the same topic which was very informative.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts batch SFTP job using AOPBATCH unable ... All Other Mainframe Topics 7
No new posts Get RECORD LENGTH, allocated space of... CLIST & REXX 7
No new posts Reading Empty Dataset DFSORT/ICETOOL 5
No new posts Mainframe Dataset Binary or ASCII Mainframe Interview Questions 4
No new posts SPOOL to Mainframe dataset in batch mode JCL & VSAM 7
Search our Forums:

Back to Top