What will be your approach in going either for OPNQRYF or
Logical files. Which one to go for?
Answers were Sorted based on User's Feedback
Answer / sulthan
OPNQRYF dynamically creates the records required according
to the parameterrs and this process could be slow. While
using logic files , we already have the a record fectching
path and it is faster. so if a program needs to be run
multiple times, use LF's and if once in a while, go for opnqryf.
| Is This Answer Correct ? | 8 Yes | 0 No |
Why we cannot call a service program? If I add a PEP can i call the service program?
wat is the difference between array and multiple occurence data structure?
How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??
what is the difference between do while and do until?
Need a sql query: retrieve all duplicate records in table?
1.String operatio such as moving the characters to the variables? 2.what are the building functions for check file longs? 3.which of the following methods will make externally describe file fields available to a program? A: A/copy statement that specifies the library file and member of the field reference file source code B: A data structure definition specification that names the file on the EXTNAME keyword C: A data structure definition specification that names the file on the IMPORT keyword? D: A Definition specification for each desired field with the REFFLD keyword
Anybody can explain the difference between SFLCLR & SFLINZ?
what will happen two jobs have same name are submitted
How to index LF by relative record no (RRN)
How to declare the more than one file in cl/400.
When a object will be locked & when a record will be locked? Plz explain.
what is overlay? how can we pass parameters in cl or rpg programing? how can we get data area value in cl or rpg programming?