I have created one DDM File in Server1 Based on Server2 File. I wrote one program to read the DDM File in Server1. I am getting RNF2120 (File Not found) While Compiling the Program. How to USe the DDM File in RPGLE Programs?
Software/Hardware used:
AS400
ASKED:
June 21, 2010 9:08 AM
UPDATED:
June 24, 2010 4:35 PM
I have created one DDM Object in MYLIB. I declared that File in RPGLE Program like a normal File. I have included the MYLIB in Library List. Still I am getting the RNF2120 Error . PLease help me t solve this issue.
This link will explain a possible authority problem.
http://archive.midrange.com/rpg400-l/201004/msg00108.html
The other problem could be that the file the DDM is poining to does not exist, so the compiler can not retrieve the definition.
I am getting CPF3295 Error Messages
If you run the DSPMSGD command, to view the text for the CPF3295 message, it gives some guidance:
Message . . . . : Cannot extract or remove members on DDM file &1 in &2.
Cause . . . . . : Either this system, or the target Distributed Data
Management (DDM) system detected a condition that caused the extract or
remove member request to fail.
Recovery . . . : See the previous messages in the system log to analyze the
conditions that caused the failure. Make the needed corrections, and then
try the request again.
So, look in your job log to see what previous messages were issued that will probably tell you the exact cause of the problem. It could be that the local system can’t retrieve the physical file attributes from the remote system, due to a security or configuration issue.