Which is better LF or OPNQRYF ? When should we use LF and
when should we use OPNQRYF ?
Answer Posted / adarsh
It depends on the frequency of accessing the records from
physical file. If records are huge and frequency of
accessing them is high then go for LF , but if records are
huge or less but Frequency is minimal then go for QPNQRYF
as it does not create a permanent object.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is program status data structure(psds) in as400?
what is the maximum number of subfiles that can specified in a display file ?
what is the favicon.ico request that my site receives now and then?
Can level check error occur if we do chgpf?
what is a join logical file?
what is the purpose of ovrdta (override data) keyword?
What is the default access path of a file?
Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?
What are the different opcodes used for file operation on a subfile in a rpg pgm?
how many files, printer files you can describe in a rpg?
what is the version of os/400 that we have?
how many specifications are there in rpg/400? What are they?
What is the Difference between command attention key and command function key ?
what is xfoot opcode ?
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?