|
MURALI, I prefer logical files if I can use it in more than one program and/or that program is used at least once a day. You can use OPNQRYF if you only need to read data in sequence. With OPNQRYF, a temporary index will be created for you. If you need to read the data randomly, definitely create a logical. Since, the program is only run once a month there is no great need to create a logical file. Thank you, Matt Tyler Mattt@wincofoods.com -----Original Message----- From: MURALI DHAR [mailto:nmuralidhar@rediffmail.com] Sent: Friday, October 11, 2002 12:21 To: rpg400-l@midrange.com Subject: opnqry Vs LF I ve to generate monthly reports from accessing records from PF which is having million records...do u suggest me openquery or logical file...I dont mind abt system overhead... Can u advise me Best Regards, Murali __________________________________________________________ Give your Company an email address like ravi @ ravi-exports.com. Sign up for Rediffmail Pro today! Know more. http://www.rediffmailpro.com/signup/ _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.