Option 1: If all of the objects are owned by the same profile, you could add this profile as one of your groups. Since every member of a group profile essentially owns the objects the group owns, you'd have sufficient authority to delete the objects; however, unless you do this programmatically, by using an API such as the setgid APIs, which means the group is only temporarily added to your profile, this probably actually gives you more power than you want/need to have.
Option 2: Write your own version of the DLTPGM, DLTCMD, DLTF, etc commands that adopts an *ALLOBJ profile. This could get cumbersome depending on how many different object types you have to delete. But this is probably a better solution than Option 1.
Option3: Write a tool that either swaps to run as a profile that has *ALLOBJ or puts up a command line (e.g., CALL QCMD) that is using adopted authority. Again, probably not the best solution because the temptation may be too great to not use this interface all of the time.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Search400's targeted search engine: Get relevant information on security.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Check out this Search400.com Featured Topic: Top ten security tips
Visit the ITKnowledge Exchange and get answers to your security questions fast.
Dig Deeper on iSeries system and application security
Related Q&A from Carol Woodbury
Before changing password levels and upgrading operating systems on the AS/400, ensure the clients connecting to the NetServer do not need the old ... Continue Reading
Look in the audit journal (QAUDJRN) on the AS/400 for an authority failure message with the name of the library as the object name. Use the ... Continue Reading
The UPPWEI field corresponds to the password expiration interval field, and its values "0" and "-1" represent the *SYSVAL and *NOXMAX commands. 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.