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



What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?..

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

What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?..

Answer / kcsyam

Logical Files

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More RPG400 Interview Questions

Can someone tell me tell me what is meant by message wait...?

1 Answers  


how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.

3 Answers   iGate, Wipro,


How to handle duplicate error handling in RPG?

0 Answers  


there is any limit to display the members in rpg400?

3 Answers  


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.

0 Answers  






Can we have a Physical file without any member ? Please let me know

12 Answers  


what is batch debug in as400?

3 Answers  


How to declare the more than one file in cl/400.

13 Answers   IBM,


How can we change element of compile time array?Can we do so

1 Answers   TCS,


what is the difference between the cpyf command crtdupobj command?

9 Answers   IBM,


Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????

1 Answers  


Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?

3 Answers  


Categories