Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Which is better LF or OPNQRYF ? When should we use LF and
when should we use OPNQRYF ?

Answers were Sorted based on User's Feedback



Which is better LF or OPNQRYF ? When should we use LF and when should we use OPNQRYF ?..

Answer / vaiv20

It depends on the situation. Whenever any update, delete or
add is performed on file, access data paths to the logicals
are also updated hence if data is very huge in the file it
will take toll on system response time for doing the
update, delete or add operation.Hence take a call based on
this consideration. Also, if you want to create a view on a
physical file for not so frequent use its better to use
OPNQRYF.

Is This Answer Correct ?    14 Yes 0 No

Which is better LF or OPNQRYF ? When should we use LF and when should we use OPNQRYF ?..

Answer / reecha

If the no. of records to be filtered is less then OPNQRYF
is better option then LF becoz it create temporaray ODP
only & overhead on system is less.


if teh records to be filtered out are more ten LF sud be
created

Is This Answer Correct ?    5 Yes 0 No

Which is better LF or OPNQRYF ? When should we use LF and when should we use OPNQRYF ?..

Answer / adarsh

It depends on the frequency of accessing the records from
physical file. If records are huge and frequency of
accessing them is high then go for LF , but if records are
huge or less but Frequency is minimal then go for QPNQRYF
as it does not create a permanent object.

Is This Answer Correct ?    3 Yes 1 No

Which is better LF or OPNQRYF ? When should we use LF and when should we use OPNQRYF ?..

Answer / arun

according to me
lf is used for upd(non joint lf),view,
in this path is permanent it occupies more spaces

openqryf is used for temp path ,
it can access 5 files

so opqryf is better

Is This Answer Correct ?    0 Yes 0 No

Which is better LF or OPNQRYF ? When should we use LF and when should we use OPNQRYF ?..

Answer / m nihar

OPNQRYF is better then LF. Coz , OPNQRYF creates temporary
access path but LF creates permanent objects.
When we use all fields of your file then we use OPNQRYF for
temporaryly use. But when we use some choosen fields from
file then we use LF.

Is This Answer Correct ?    2 Yes 10 No

Post New Answer

More IBM AS400 AllOther Interview Questions

A join logical file has how many record formats?

0 Answers   IBM,


What are the steps to retrieve the records from Journal file...?

1 Answers  


What is the draw back of Procedures? why we are going to Modules?

0 Answers  


why do we use readc? What is sflnxtchg?

0 Answers   IBM,


What is the purpose of SFLNXTCHG keyword in a subfile?

1 Answers  


What is logical file in as400? What are the types of logical file?

1 Answers  


when would you use or not use this approach?

1 Answers   IBM,


whare we can use IN AND OUT AND UNLCK opcodes?please can any body tell me in real time senario with example

2 Answers  


how to change job priority when it is running in sub system ?

11 Answers   IBM,


what is sflrolval?

0 Answers   IBM,


How many types of jobs?what is difference between interactive and batch and submited jobs?

3 Answers   IBM,


what are the types of errors available in rpg IV or 400.Like decimal data error,sessional error or device error etc...means important error occurings,ie to find out suddenly???pls give answ if u know?Pls give the answer 1,,,,,,,to 12.........ie how it will happened like...for eg if a file is not closiing ,,,like this error is happened... if sufficient data is not in a pf to write in a display file. or sfldsp is not "on"......sessional or device error occured...like this give details all 1 to 12 errors (syam..)....give details PLsssssssssss?

1 Answers   CTS,


Categories