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
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 many specifications are there in rpg/400? What are they?
what is maximum number of arrays allowed in rpg?
what is the use of unique keyword and what level it is defined?
explain the difference between defining subfile and message-subfile?
how to develop some simple graphs (bar charts) using just html?
what does check opcode do ?
Difference Between Source Physical File & Physical File?
Difference Between Call & Sbmjob?
what key word is used when screen is re-display?
define the purpose of the *bcat function?
what is service program?
what is the purpose of putovr (put with explicit override) keyword?
What are the different opcodes used for file operation on a subfile in a rpg pgm?
give three main purposes of file specification ?