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
Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?
how can you check for a records existence without causing and i/o (chain/read)?
what is the function of cpyf command?
how do you pass parameters in cl?
different type of cursor?
What is the difference between non-join logical files and join logical files?
what is sflpag and sflsiz ?
what is rpg ?
what is a primary file?
what is the command to know key fields of file?
what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.
What is file access opcodes?
how to run other job when one job is active?
If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...
how does the runqry show the output?