Which is better LF or OPNQRYF ? When should we use LF and
when should we use OPNQRYF ?
Answer Posted / m nihar
OPNQRYF is better then LF. Coz , OPNQRYF creates temporary
access path but LF creates permanent objects.
When we use all fields of your file then we use OPNQRYF for
temporaryly use. But when we use some choosen fields from
file then we use LF.
Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
which are the query selection criteria, which can be given in a query?
what are different record spacing keywords in rlu ?
what is procedure prototype and procedure interface.
How can we update a specific field in RPG?
can error messages as a result of a comp, range or values keyword be overridden?
Why we are not able to perform insert delete and update operation in Join logical file?
how can a message from a message file appear as a constant on the screen?
how do you specify the number of records to roll in a subfile ?
what are necessary keywords to code message subfile?
Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out
what is message subfile?
how can a cgi check whether an ifs object is available?
what keyword must be used with protect keyword ?
Difference Between Ca & Cf?
what is the use of sflend keyword?