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
how can you execute a command from within an rpg program without calling a clp program?
what is the length of a variable in rpg?
how you will find an error which is not in the first page of the subfile without using rolldown key?
what are the two record formats a subfile contain ?
Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP
is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.
when should I use method get, and when should I use method post in my cgis?
how many levels are there in a physical file?
what is the purpose of ovrdta and ovrata keywords ?
what is the favicon.ico request that my site receives now and then?
what do we can do with the embedded sql statements?
how do you use commitment control in rpg program ?
which single rpg opcode performs both setll and reade?
Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?
How Many Specs Are There In Rpg & Which Are They?