Is there a way to detect how full a datastore really is?

Document ID : KB000077348
Last Modified Date : 11/05/2018
Show Technical Document Details
Issue:
After a datastore has reached full size - as the quantity of transactions to capture reduces, is there any way to detect how full a detector datastore really is?  In other words, how do i know to what smaller size i can resize the datastore? Will lLISTCAT show me anything meaningful?
Resolution:
Since the datastore is a collection of VSAM datasets, you can use the LISTCAT command to see its space utilisation information. The IDCAMS LISTCAT ALL will show you the high allocated and high used RBA.The percentage of space used can be calculated as: (Hi-used / Hi-alloc) * 100 = %Used