You can use the Retrieve Object Description (RTVOBJD) command to return the descriptions of a specific object to a CL procedure.
Variables are used to return the descriptions. You can use these descriptions to help you detect unused objects on the system.
You can also use the Retrieve Object Description (QUSROBJD) API to return the description of a specific object to a procedure. The system uses a variable to return the descriptions.
The Retrieve Object Description (RTVOBJD) command can return the following descriptions as variables for an object: