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 ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

define data structure?

1661


I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.

2677


records can be read/update/deleted with which file?

1026


when do you explicitly open files and close files in an rpg program?

1986


how do you specify page overflow indicator for printer files in rpg?

2181


what if my system I runs with system value qccsid 65535?

995


is it there an easy way to determine if an html section is available to issue a wrtsection upon?

924


what is the use of jdftval in join logical file?

1726


What is program status data structure(psds) in as400?

1023


Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?

2372


how can I control the way a remote browser uses its cache?

1108


what is the maximum number of subroutines allowed in rpg?

1695


How can we change the uppercase to Lowercase in RPG?

1361


Can we debug the MSGW JOBS?

1285


How to convert a spool file to PDF file in AS400?

1174