Which is better LF or OPNQRYF ? When should we use LF and
when should we use OPNQRYF ?
Answer Posted / vaiv20
It depends on the situation. Whenever any update, delete or
add is performed on file, access data paths to the logicals
are also updated hence if data is very huge in the file it
will take toll on system response time for doing the
update, delete or add operation.Hence take a call based on
this consideration. Also, if you want to create a view on a
physical file for not so frequent use its better to use
OPNQRYF.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
what is join logical file?
can you specify a display file to be used in the following modes input,output, or combined modes ?
how you get the relative record in a subfile in which cursor is located?
name few ibm supplied libraries?
where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?
is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?
what are the different methods to access seu?
which type of object is used in db2/400?
How to Define a Procedure in RPG?
how to write code for singlepage in sqlrpgle with update ?
what are the different commands used in rlu ?
how to write *pssr ?
Write a CL program which will run a batch job at 1 am every night
what is the purpose of ovrdta and ovrata keywords ?
What Is Ddm ?