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


Please Help Members By Posting Answers For Below Questions

Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4179


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1003


is this a rpg channel?

665


Explain mdt?

651


what are the key words you must use when using a subfile?

677






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.

2176


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

1950


How Chain operation copies the record's data to the input buffer for the program?

1064


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

708


what is a rpg?

683


how can I tell when to replace the array?

686


How to declare the pull button in AS/400..

1864


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

539


What is the difference between copybooks and subprocedures in as400?

794


what is the procedure and explain about real time scenario.

1462