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 key word is used when screen is re-display?
If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?
What is the draw back of Procedures? why we are going to Modules?
what are the basic features of seu?
list some of the commonly used commands for debugging?
which of the following operations does not zero the field flda defined as 4,0?
what is a logical file?
which are the relational operators in rpg?
maximum number of subfiles that can defined in a rpg program for one display file is?
what if my system I runs with system value qccsid 65535?
what is the syntax for plist?
how many levels are there in a physical file?
what are the different types of variables available in cl?
What is difference between rename and prefix?
How do I remove a flag or check no. or name when a user opens too many sessions?