Troubleshooting
Problem
This document explains how to obtain a list of public authorities for all objects in a library.
Resolving The Problem
How can I obtain a list of public authorities for all objects in a library?
To obtain a list of *PUBLIC authorities for all objects in a specific library, do the following:
To obtain a list of *PUBLIC authorities for all objects in a specific library, do the following:
| 1. | On the operating system command line type the following: WRKOBJ OBJ(LIBXXX/*ALL) OBJTYPE(*ALL) Press the Enter key. Select Option 5 for all of the objects, as shown below: Opt Object Type Library Attribute Text 5 DTAQ1 *DTAQ LIBXXX 5 BATCHRT *FILE LIBXXX SAVF 5 CRTMQM *FILE LIBXXX SAVF 5 IBM *FILE LIBXXX PF 5 IBM1 *FILE LIBXXX PF 5 QACYJB *FILE LIBXXX PF 5 TNSRPT *FILE LIBXXX SAVF |
| 2. | At the command line, type the following: OUTPUT(*OUTFILE) OUTFILE(XXX/ZZZZ) OUTMBR(*FIRST *ADD) where XXX is the library where you want the file to reside and ZZZZ is the name of the file to be created. Then press the Enter key. The system will automatically create the file specified in the OUTFILE if it does not already exist. A record will be added to the file for each object that had a 5 placed in front of it. After the file has been created, you can run a query on the file to create your report. |
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]
Historical Number
8001334
Was this topic helpful?
Document Information
Modified date:
21 September 2020
UID
nas8N1010252