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:
Object ASP group device
Library ASP group device
Size of the primary associated space of object in bytes
Indication of whether the space associated with the object
has been optimally aligned
Name of the oldest journal receiver needed to successfully
use the Apply Journaled Changes (APYJRNCHG) or Remove
Journaled Changes (RMVJRNCHG) command
Name of the library that contains the starting journal
Name of the auxiliary storage pool (ASP) device where storage
is allocated for the library that contains the starting journal receiver
Name of the auxiliary storage pool (ASP) group where storage
is allocated for the library that contains the starting journal receiver
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.