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
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 |
How to set on/off a group of indicators in a single statement?
what is a rpg?
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...?
ESCAPE message sent by child program can be handled by parent program using which keyword?
steps involved in debugging and types of debugging modes?
Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?
How to add 2 new fields in a file? How many ways are there in as400?
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
How do you do indexing in a physical file?
CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?
parameters cannot be passed in which one??
what happens when sflsiz = sflpag? What are the advantages and disadvantages?