Is there a way to create a file or list instead of a online screen of the wrkobjown command for users? I want to create a list and send it out to the developers to clean their objects periodically.
Use the DSPUSRPRF command. For example: DSPUSRPRF USRPRF(KEG) TYPE(*OBJOWN) OUTPUT(*PRINT)
This example will list all objects owned by profile KEG.
The report looks like this:
Display Owned Objects User Profile . . . . . . . . . . . . . . . : KEG Total objects . . . . . . . . . . . . . . : 69 Authority Object Library Type Holder PDSN101354 QDOC *DOC LKXR123169 QDOC *FLR MC4M302805 QDOC *FLR MC4M374665 QDOC *FLR KEG QUSRSYS *MSGQ *CPI220D - 64 objects were not included in this list. * * * * * E N D O F L I S T I N G * * * * *
The CPI220D indicates that objects in the IFS (directories and other stream files) are not listed on this report. It also mentions that you can obtain this information via the QSYLOBJA API with format OBJA0110, OBJA0210, or OBJA0310.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your OS/400 questions--or help out your peers by answering them--in our live OS/400 discussion forums.
Search400.com's targeted search engine: Get relevant information on V5R1.
Dig Deeper on Upgrading
Related Q&A from Ken Graap
The BRMS Network feature allows a BRMS system to connect to other BRMS systems via a network, and enables a user to consolidate media such as backup ... Continue Reading
The only option to correct damage preventing file journaling is to use the RCLSTG command. Continue Reading
IBM's iSeries Backup and Recovery manual answers many questions related to system backup and disaster recovery. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.