

WHy? Because they have 4, 6 or 8 drives in each system and in ZERO instances are those drives the same capacity. So I get the overall disk percentage, but I need to know that figure for each disk drive. So I end up with 10 spool file entries and look through each of them.Ī few weeks ago, I used on of the APIs and got the System Status disk percentage used returned and I write that out to a log file, which is a DDM file. Each morning at 6:00 AM I have a job scheduled to run that currently produces a DSPDSKSTS OUTPUT(*PRINT) report and I send that to a remote outq on my system. Thanks for the suggestion.įYI: What I'm doing is managing 10 systems on different islands.

Very odd design if you ask me.But I'll get it working and post it when I have time. Meaning it runs fine, but I can figure out the QGY list stuff. We will prioritize the app changes based on those that consume the most DASD, hence the need to know if there is an API that can retrieve that piece of information.īryan, I'm looking into the API method QYASPOL. We're planning on replacing the systems over the next two years and lets just say there are several legacy S/36-style application designs in place which do things like CPYF, FMTDATA and other goofy techniques that could easily have been done with LOGICAL views or better yet, SQL. That is, if we are running at 70% but then after a month-end run jump up to 85% usage, we want to know that so we can look at the systems that may have contributed to this jump in utilization. I'm doing this because we have a lot of systems and would like to monitor which ones reach a threshold that is set by management but is NOT related to critical disk utilization. Does anyone know of another API that would return the DISK USAGE percentage or at least the disk capacity and amount used so I could do the calculation myself? I looked at the QYASRDI API but it doesn't seem to return the Percentage Used figure. I would like to start logging the current percentage of disk use.
