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 the use of dspatr(mdt) keyword?
Apart from opening of a file do we have any other use of USROPN?
In RPG How to read a records from a file without using read opcodes?
in which specification the report layout can be defined?
What Does 'sr' In Columns 7-8 Of C Specs Mean?
WHAT IS FERERENTIAL INTRIGRITY ?
why do we use readc? What is sflnxtchg?
can we define multi-dimensional arrays in rpg ?
what is the maximum number of records you can specify in a display file?
what is the command used to invoke rlu ?
What is the default access path of a file?
how can I give more performance to some selected pages?
What is file information data structure(infds) in as400?
which are the string manipulation opcodes?
how to develop some simple graphs (bar charts) using just html?