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

Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.

0 Answers   TCS,


What is the significance of UDATE?

5 Answers   IBM,


in which journalling which attributes are necessary

2 Answers   CTS,


WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?

1 Answers  


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

0 Answers  






Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?

4 Answers   IBM,


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

0 Answers  


1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?

2 Answers   HSBC,


suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis

1 Answers  


I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.

2 Answers  


In how many ways a session/device error occurs,,, and what is the remedy for it?

3 Answers  


2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed

2 Answers   IBM,


Categories