IBM AS400 Question:
Download Questions PDF

In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening?

Answers:

Answer #1
This will happen if there is any duplicate records in
physical file..

Answer #2
The file designated as IP (input primary) is automatically read for each record in each "cycle" but then also read With a read opcode

Download IBM AS400 Interview Questions And Answers PDF

Previous QuestionNext Question
Why we sometimes use same file name in FILE and TOFILE in OVRDBF and sometimes different?What is difference between rename and prefix?