This week’s issue of APIs By Example will focus on the Open List of ASPs (QYASPOL) API. This API is capable of returning different types of information about ASPs, including ASP configuration, ASP attributes, and disk units. As you probably already know, ASP is an abbreviation for Auxiliary Storage Pool, which in turn is a term describing a collection of disk units on the iSeries system.
The following IBM technical document details the different types of ASPs available, as well as their usage:
I have written the Retrieve ASP Information (RTVASPINF) command to demonstrate the use of the QYASPOL API. The command also serves as an example of the information made accessible by this API.
Download the save file containing the source code.