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: 8797
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: 10873
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: 19244
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: 8797
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: 8696
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top