0 pts.
 Best way to do the DASD history capture…(Disk usage)
Dear team, i need to enhance our current system that captures the disk space uasge. i need to maintain the history over it. currently we do it by using DSPOBJD and DSPFD commands and write the details of all objects and files used in the whole system to the outfile.Hardly it takes more than 4 hours for single run. i am looking for some IBM system files where i can get the disk infomation... also i am looking for some better API's which will be faster for my requirements(currently i am trying with QUSLOBJ and QUSROBJD API's)... kindly advice me to proceed further... please suggest me on any other efficient solution... looking forward to get the earliest replies... Thanks, Ezhil

Software/Hardware used:
ASKED: March 30, 2007  1:03 AM
UPDATED: January 8, 2010  3:42 AM

Answer Wiki:
Their are two commands RTVDSKINF and PRTDSKINF which collect and print disk space usage information. These are part of the operating system. You should probably run this under a user profile name that has *ALL authority. This will show you how much space each library on the system takes up, as well as other system information such as space taken up by repors still on the system, folders and documents, etc. The data is collectd in the RTVDSKINF command into a file named QAEZDISK if you take the device parameter default of *SYSBAS or QAEZDnnnnn if you collect data for a particular ASP where nnnnn is the ASP number. The PRTDSKINF command has a parameter that will allow different types of reports to be printed. ================================================================== For simple DASD usage history, consider the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/qwcrssts.htm">Retrieve System Status (QWCRSSTS) API</a> with format SSTS0200. The storage capacity of the system auxiliary storage pool, percentage used and other info can be collected in a single call. Run your program once a week and insert values into a table. Over time, you'll have a clean, neat table showing the trend. Whenever spikes appear, you can check the QAEZDISK data that should be collected separately, perhaps also weekly. Tom
Last Wiki Answer Submitted:  January 8, 2010  3:42 am  by  WaltZ400   645 pts.
All Answer Wiki Contributors:  WaltZ400   645 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _