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 to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
what is the necessary keyword needed to scroll subfile records?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
explain sflclr, sflend, sfldlt, and sflcsrrrn?
is this a rpg channel?
how does the rpg element work?
what is data area and how it is used in rpg program ?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
how do you use commitment control in rpg?
what is program status data structure?
What is a record lock error?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
what is *place and *auto keyword in prtf ?plz explain