Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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:
Note that objects previously saved with STG(*FREE) are not analyzed to the same level of detail as other objects. This is done that so automatic retrieval systems are less likely to automatically restore the objects.
When an object is listed the following information is reported:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OPTION | Option | Values (up to 2 repetitions): *COLLECT, *REPORT | Required, Positional 1 |
RPTTYPE | Type of report | Values (up to 3 repetitions): *ALL, *SYSSUM, *LIBSUM, *LIBDTL | Optional |
LIB | Libraries to analyze | Generic name, name, *ALLUSR | Optional |
ASPDEV | ASP device | Name, *ALL, *SYSBAS | Optional |
Top |
Specifies whether data collection, data reporting, or both should be done.
The possible values are:
Top |
Specifies the types of user object reports that are to be generated.
The possible values are:
Top |
Specifies the libraries to be analyzed when generating reports.
The possible values are:
Top |
Specifies the name of the ASP device to be analyzed when generating reports.
The possible values are:
Top |
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.
Top |
None
Top |