IBM AS400 Question: Download IBM AS400 PDF

Explain this error: "All Record Formats for externally-described file ABCD ignored or dropped due to error; file ignored."?

Tweet Share WhatsApp

Answer:

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.

Download IBM AS400 PDF Read All 25 IBM AS400 Questions
Previous QuestionNext Question
How to search particular records from the database file in RPG?
Suppose, 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?
What is the difference between ITER and DO? We know both are used to execute set of statements repeatedly, but what is the main difference?