The configuration application programming interfaces (APIs) allow you to get information about the configuration status of the system and about individual configuration descriptions. The configuration APIs available to you are:
DASD Management APIsThe Retrieve DASD Management Information (QYASRDI) and Open List of ASPs (QYASPOL) return general information. These APIs do not require a DASD management session handle.
The remaining APIs use a configuration session between the system DASD Manager and the configuration application. This session handle must be reserved using the Start DASD Management Session (QYASSDMS) API. The system DASD Manager supports only one active session at a time. The Work with Disk Units options under Dedicated Service Tools (DST) and System Service Tools (SST), the Operations Navigator DASD Management client, and all other applications performing DASD operations require a session to perform their requests. Therefore, it is important that applications use End DASD management Session (QYASEDMS) to release that session when all operations are complete.
Most DASD management operations require a handle to a previously reserved configuration session. The Start DASD Management Operation (QYASSDMO) API initiates an action. Most operations run to completion and return completion status on the start request. Some operations require a longer period of time in which to execute. These long-running operations return immediately, but must be checked for operation completion. The Retrieve DASD Management Status (QYASRDMS) API allows an application to check for status on a long-running operation. The End DASD Management Operation (QYASEDMO) provides a cancel mechanism. It is the responsibility of the application to know which operations return status immediately and which applications require additional status checking.
For information regarding how to work with disk units, auxiliary storage pools, and storage protection, see the Backup and Recovery book.
The DASD Management APIs are:
| Top | OS/400 APIs | APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |