Where allowed to run:
|
Parameters Examples Error messages |
The Retrieve Disk Information (RTVDSKINF) command is used to collect disk space information. Disk space information can then be printed using the Print Disk Information (PRTDSKINF) command. The collected information is stored in a database file in library QUSRSYS. The file name depends on the auxiliary storage pool (ASP) device for which disk space information is retrieved. If the information was retrieved from the system and basic ASPs, the collected information will be stored in file QAEZDISK. If the information was retrieved from an independent ASP device, the collected information will be stored in file QAEZnnnnn, where 'nnnnn' is the ASP number of the independent ASP. The information will be stored in a data base file member named QCURRENT.
Each time this command is run, existing information in QCURRENT is written over. To save existing information in member QCURRENT, rename file QAEZDISK or QAEZDnnnnn, or copy the member to another file.
Note: Do not rename member QCURRENT within file QAEZDISK or QAEZDnnnnn. If there is more than one member in QAEZDISK or QAEZDnnnnn, the results of running this command can be unpredictable.
To get the most accurate and complete results, avoid running this command when the system is very busy. Collecting disk information can take longer when the system is busy and can slow the performance of other applications that are running.
Restrictions:
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| ASPDEV | ASP device | Name, *SYSBAS | Optional, Positional 1 |
| DLTRCLOBJ | Delete option | *NO, *YES | Optional, Positional 2 |
| Top |
Specifies the auxiliary storage pool (ASP) device for which disk space information is to be retrieved.
| Top |
Specifies how inaccessible and damaged objects are handled.
| Top |
Example 1: Retrieving Basic System Information
RTVDSKINF ASPDEV(*SYSBAS)
This command retrieves disk space information for the system and basic auxiliary storage pools (ASPs), and stores it in member QCURRENT of database file QAEZDISK. Any information in member QCURRENT is overwritten.
Example 2: Retrieving Independent Disk Pool Information
RTVDSKINF ASPDEV(IASP40) DLTRCLOBJ(*YES)
This command retrieves disk space information for the auxiliary storage pool (ASP) device named IASP40.
Some objects will be checked to verify that they are addressable through a library. If these objects are not in any library, they will be moved into a library. Damaged or unusable objects will be deleted.
| Top |
*ESCAPE Messages
| Top |