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 |
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
How can we search particular records from the database file in RPG. For example, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular 'NAME' field. How can we do the above using SEARCH criteria other than using the IF cond?
1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?
1. Which Built-In-Function will you use to achieve the following functionality? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2++÷ResultLenDHHiLoEq C QTY IFLT *ZERO C QTY MULT -1 QTY C ENDIF a) %ABS b) %TRIM c) %TRIMS d) %UNS
Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?
how to change the length of the field in a physicalfile?
What would be the effect on the field where reverse image, underline and high intensity?
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.
i'm working on progA , in that program i want to see the userids of the users who work on this program?
I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic
In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?