Hi,
I am getting the error in RPG
(All Record Formats for externally-described file ABCD
ignored or dropped due to error; file ignored.)
Please suggest any
Answers were Sorted based on User's Feedback
Answer / joy mukherjee
Actually the file ABCD may have the record format name is
same as that of the file name. That is the reason why u r
getting this error.
RPGLE wont allow to declare a file with same name as record
format name.
So, to solve the problam u can change the record format
name other than the file name.
OR
U can use the RENAME keyword in the file specification to
change the record format name.
| Is This Answer Correct ? | 16 Yes | 1 No |
Answer / chandrababu
This Error code is RNF2109 and severity 40.
This Error occurs commonly If The FILE NAME and RECORD FORMAT NAME and FIELD NAMES are same.
If we declare flat file in RPGLE programs for which of these are same then this will be thrown.
| Is This Answer Correct ? | 8 Yes | 0 No |
There is a excel sheet having details of Old account number and new account number. I need to update these details in my AS400 files. i.e. all the records having old account number should be replaced with new account number. There can be 100 or 200 or 300 PFs...no fix files known. how can we do this?Solution should be performance oriented
what is overlay? how can we pass parameters in cl or rpg programing? how can we get data area value in cl or rpg programming?
What are the commands that can be executed in CLP but not in RPG? Why?
Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC
What are different ways to pass data between programs and which one is the efficient way?
When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?
1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?
How to sort an array in descending in RPG
how we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?
what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?
You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?