DISKTASKS for IASP

Chris Flick, Technician at iTech SolutionsIf you have an IASP’s and want/need to use the Collect Disk Space Information option on the DISKTASKS menu, it does not have an option to collect data for an Independent Auxiliary Storage Pool (IASP).  You actually have two methods to use.

  • One method to collect data for an IASP, is by using the RTVDSKINFcommand and specify the IASP device name on the ASPDEV parameter, this can either be submitted to batch or scheduled to run using either the IBM i job scheduler (WRKJOBSCDE), or the Advanced Job Scheduler (GO JS). Where xxxxxx is the name of the IASP:

  • A second method, is where you can get the Collect Disk Space Information option (1) on the DISKTASKS menu (below) to collect IASP data, is by changing the default value for the ASPDEV parameter on the RTVDSKINF command before starting the collection.

Below is the command to change the default to collect data for IASP xxxxxxx (where xxxxxx is the name of the IASP):

QSYS/CHGCMDDFT CMD(RTVDSKINF) NEWDFT(‘ASPDEV(xxxxxxx)’).

Then, after collecting data for the IASP, if you want/need to collect data for *SYSBAS, you have to change the default parameter back using the command:

 QSYS/CHGCMDDFT CMD(RTVDSKINF) NEWDFT(‘ASPDEV(*SYSBAS)’).

Finally, to print IASP information, you can use PRTDSKINF RPTTYPE(*LIB) ASPDEV(xxxxxxx), or you can use the Print Disk Space Information option of the DISKTASKS menu, you can either rename the QUSRSYS/QAEZDISK file to a temporary name, or delete it, and then rename the file QUSRSYS/QAEZDxxxxxxx to QUSRSYS/QAEZDISK. And, if you want to switch back to *SYSBAS, you need to rename the files back the way they were previously. 

Tagged with: , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*