What will be your approach in going either for OPNQRYF or
Logical files. Which one to go for?
Answer Posted / 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 |
Post New Answer View All Answers
how do I declare a minor?
what is the necessary keyword needed to scroll subfile records?
What are the types of identifiers?
How to handle duplicate error handling in RPG?
When it is desirable to describe files Internally?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
What is file identifier where we can use?
how do I preserve and clean the array?
How many program bind in one module....
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
Interviewer asked me write down DDS for load all subfile .can anybody write dds
what is program status data structure?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
what is kids-rpg?