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 |
what is file information data structure?
Maximum how many files declare in rpgle
In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?
difference between 1:%found and %equal built function in detail with example .
How to add 2 new fields in a file? How many ways are there in as400?
in which journalling which attributes are necessary??/
what is program status data structure?
I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this
Hi, Can any body tell me ur experience on this questions? Questions: 1.what is the use of SFLRCDNBR other than subfile page display? 2.Which of the following operation cannot be used in conjuction with a file coded as device type disk?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
When will DUMP & DEBUG be ignored?
1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.I have 3 jobs A B and C. I want to submit B after successful completion of A and want to submit C after successful completion of B. Without using job scheduler or job queue, how can i do that through CL program? 4.What is difference between Bind by copy and bind by reference?