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



Hi, I am getting the error in RPG (All Record Formats for externally-described file ABCD ignored..

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

Hi, I am getting the error in RPG (All Record Formats for externally-described file ABCD ignored..

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

Post New Answer

More RPG400 Interview Questions

How to read alternative records in a pf by using rpg?

8 Answers   IBM,


Can a indexed file be accessed in arrival sequence in RPG?

1 Answers  


Please help me, I have created window subfile,I have created Footer with same lengh and postion of window SFL. When I call the pgm, first is shows only Footer and then it shows subfile records.This time Footer is not showsing ..plz hel me how can i do it...? Sameple DDS and RPG: A R WIN1 SFL A*%%TS SD 20090130 165346 MUNSHIJ REL-V4R2M0 5769- PW1 A FLD001 1Y 0B 4 3EDTCDE (Z) A ATFILE R O 4 7REFFLD (QWHFDBAS/ATFILE LIB/LIBF- A ILE) A R WINCTL SFLCTL (WIN1) A*%%TS SD 20090202 123459 MUNSHIJ REL-V4R2M0 5769- PW1 A ALTNAME ('y') A SFLSIZ (0004) A SFLPAG (0004) A WINDOW (FOOTER) A ROLLUP (27) A ROLLDOWN (28) A CF12 (12 'Cancel') A 50 SFLDSP A N51 SFLDSPCTL A 51 SFLCLR A 1 2'Select Option,Press enter' A 2 3'1= Select' A R FOOTER A* A WINDOW(8 31 9 43) A 8 4'F12 = Cancel' A R DUMMY ASSUME A 24 10' ' in RPG: Dow *IN12 = *Off Write Footer Fxfmt WInCTL

2 Answers  


How can i check the object existance in RPG program without using QCMDEXC command.

7 Answers   IBM, JDA,


how can you display specific subfile page on the screen in unequal subfile?

0 Answers   IBM,






Can any body give the code for this quesition? Using the following details write C-Spec code to set Name to"AMMU LABS SYSTEM" D NAME1 S 10 INZ('AMMU') D NAME2 S 10 INZ('LABS') D NAME3 S 10 INZ('SYSTEM') D NAME S 20

5 Answers  


suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .

4 Answers   CSC,


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

0 Answers  


I want to add 10 days in current date. how it is possible in CL program...?

11 Answers   CSC,


What is journalling and commitment control?

3 Answers   IBM,


Explain mdt?

0 Answers  


what is file information data structure?

1 Answers   IBM,


Categories