1,720 pts.
 Disk Tip: This will enable you to create disk reports on the fly.
Setup the Weekly Collection of Disk Space Information

Software/Hardware used:
V5R2 V5R3 V5R4 V6R1
ASKED: October 7, 2009  8:40 PM
UPDATED: October 9, 2009  7:50 AM

Answer Wiki:
Setup the Weekly Collection of Disk Space Information When I need to clean up a system I like to use Disk Space Tasks reports to determine where to start. You might as well start with the libraries, files, etc. that take up the most space. This will give you the most bang for your cleanup efforts. (Note: You'll need certain authorities to access all of the options in this menu) The Disk Space Tasks menu provides the option for collecting disk space information to help show how storage is being used on your system. After collecting the information, you can specify what information to include in a report and then print the report. GO DISKTASKS <Enter> 1. Collect disk space information: Set up for weekly collection. Allows for On-The-Fly reports. I Usually set this up to run Saturday evening at about 19:00. You can also start this immediately by selecting 1=Date/time then entering *CURRENT for the date and time. This will take some time (Maybe hours) and will take up some additional space to collect the data so don't do this if you are already over say 95 to 98%. Once the data has been collected you can print the library report. It generally has enough information to get you started. 2. Print disk space information: Type of Report: Library Include information about objects in libraries: “Y” Size of smallest library: 99,000 The report will start with a summary then show the library details further down. I make note in the summary of the % taken up by the libraries, directories, folders, temporary space or anything thats not normal. Then I'll go down to the list of libraries and their files to decide what action to take. Sometimes this will be reorganizing files in the databases, deleting test databases, image catalogs, spool files, etc. Voodoo
Last Wiki Answer Submitted:  October 7, 2009  8:42 pm  by  Voodoovw   1,720 pts.
All Answer Wiki Contributors:  Voodoovw   1,720 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

You can also use the RTVDSKINF to collect the Disk Space Information.
The command does not include the date to run as it submits it immediately.
Use the job scheduler instead where you can also select multiple days of the week if desired.
Or just schedule date/time in the SBMJOB parm.

The info is stored in QUSRSYS/QAEZDISK

PRTDSKINF will give the same options as noted by Voodoo

 5,665 pts.

 

The job for filling the Disk Space files is QEZDKWKMTH. I schedule this every week on time when the system is not busy (Sunday evening). To automatically generate reports I scheduled two jobs that run the PRTDSKINF command.
Once PRTDSKINF RPTTYPE(*LIB) and once PRTDSKINF RPTTYPE(*OBJ) OBJ(*ALL) MINSIZE(99999). This prints reports with libraries listed by size and one report with the very large objects on the system.

 2,250 pts.