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

How to set on/off a group of indicators in a single statement?

3 Answers  


what is a rpg?

0 Answers   IBM,


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

0 Answers  


ESCAPE message sent by child program can be handled by parent program using which keyword?

2 Answers  


steps involved in debugging and types of debugging modes?

1 Answers  






Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?

4 Answers   IBM,


How to add 2 new fields in a file? How many ways are there in as400?

2 Answers  


What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52

2 Answers   Fiserv, IBM,


How do you do indexing in a physical file?

2 Answers  


CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?

6 Answers   Satyam,


parameters cannot be passed in which one??

2 Answers   CTS,


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

0 Answers   IBM,


Categories