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

log file runs out of space, an error message of resource una


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

New User


Joined: 29 Nov 2005
Posts: 8

PostPosted: Thu Jul 17, 2014 1:09 pm
Reply with quote

we get below message

log file runs out of space, an error message of resource unavailable is returned. which is misleading and difficult to figure out.

AY.ABC.Z000800.EE.CMLA.F1
AY.ABC.Z000800.EE.CMLB.F1
AY.ABC.Z000800.KE.CML1.F1
AY.ABC.Z000800.KE.CML2.F1


These files are used on daily basis.

Is their any means to mointor the amount of space utilized and trigger a message when 80% of the space is utilized.
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Thu Jul 17, 2014 2:35 pm
Reply with quote

You can use IDCAMS DCOLLECT. This will give you the KB used and the KB allocated, so you can calculate when a percentage threshold is reached.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jul 17, 2014 5:54 pm
Reply with quote

David, what you propose is an after the fact situation. The TS wants to monitor out of space situations on logfiles, but forgot to mention the origin of the logfiles. Beside that the TS is talking about an error message difficult to interpret. Maybe for him, maybe not for us. And i'm not going to guess what is happening, with this kind of information.
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Thu Jul 17, 2014 7:03 pm
Reply with quote

PeterHolland wrote:
David, what you propose is an after the fact situation.


True. I was just thinkong of running a regular check job, e.g.; once per day, that would check the files and alert if they were getting full. We use a similar approach ourselves.

But obviously it would depend on how quickly they fill up and how quickly they need to know.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Tue Jul 22, 2014 7:59 pm
Reply with quote

It would help if you included the full message number and text as that will indicate to us if this is from a standard utility or your home grown application.

Also, if you say the logs are filling up then presumably they are being cleared at some point. You need to identify how much data is written to them and redefine them to an appropriate size to accommodate the amount of data being written to them in between being cleared. May also be worth specifying a Dataclas that compresses them and dynamically adds volumes if necessary to allow them to extend.
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 0
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
Search our Forums:

Back to Top