Home > Ask the AS/400 Experts > Questions & Answers > List all objects owned by a profile
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

List all objects owned by a profile

Ken Graap EXPERT RESPONSE FROM: Ken Graap

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site
>
QUESTION POSED ON: 07 February 2003
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.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


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.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts