CL Command Reference - ANZUSROBJ
CL Command List > ANZUSROBJ Reference
Description:
The Analyze User Objects (ANZUSROBJ) command collects or reports information for user-created objects on the system. It can be used to determine whether source exists which is likely to have been used in the creation of user objects.
Restrictions:
1. The user must have *ALLOBJ special authority.
2. This command, especially the *COLLECT stage, can be very long running. It is suggested that this command be executed in batch.
3. There are three types of objects which are analyzed and reported on. They are:
. Objects that appear to be created from source that is not available on the system.
. Objects which often contain user data but are not created from source.
. Source files which often contain source members which are part of an application but are not compiled into objects. Examples of these are REXX and FMTDTA source members.
Examples:
Example 1: Collecting Object Information
ANZUSROBJ OPTION(*COLLECT)
Information for user objects is all user libraries is collected for later analysis.
Example 2: Generate Object Information Reports
ANZUSROBJ OPTION(*REPORT) LIB(MYLIB*)
Information previously collected by running ANZUSROBJ with OPTION(*COLLECT) will be analyzed for all libraries with names that begin with ¡¯MYLIB¡¯. System summary, library summary, and library detail user object analysis reports will be generated.