Manage Learn to apply best practices and optimize your operations.

Remove adopted authority attribute from RPG programs

We are in the process of setting up the system for using adopted authority. We run a program to identify which programs have been compiled in the past with the adopted authority attribute. After identifying them, we run another program issuing the command CHGPGM to remove the adopted authority attribute. In some cases we received the message CPF0541 "Program XXXXX in Library XXXXX was not changed".

Some years ago when we had lack of disk space, for some programs we removed observable information. This is the reason we are receiving the CPF0541 error message. We coded another program to identify the source members for these programs in order to compile them again, and we found that we missed some of these source members. Is there any way to remove the adopted authority attribute for a program without observable information different from compiling it?

If a program has been compiled prior to V5R1, you cannot change the adopted authority attribute without having observability.


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

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.