IBM AS400 Question: Download IBM AS400 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?

Tweet Share WhatsApp

Answers:

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

Answer #2The 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 PDF Read All 25 IBM AS400 Questions
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?