I have a RPG program that accesses three DDM files on another iSeries. The program compiles, but I receive error CPF9822-Not authorized to file XXXX in library XXXX.
Cannot open DDM file. I have *SECOFR rights on both machines. Can someone help me?
Software/Hardware used:
ASKED:
August 28, 2006 8:50 AM
UPDATED:
December 5, 2010 12:27 PM
Thanks for the response, but I have full authority to this file on the other iSeries.
You may need to look at the DDM defaults. Type CFGTCP, take option 20 (Configure TCP/IP applicatons) take option 5 (Change DDM TCP attributes). Check to see if the password is required. Try setting this option to *NO, and try again.
Thank you for your response, but it did not work.
I have found that the ID must be the same on both machines.
Next time this happens, show us the AF (Authority Failure) entry from the system audit journal on the remote system. The cause will probably be seen in the entry.
Tom