|
At 09:14 PM 6/28/97, you wrote: >I'm not used to big machines and big files. The box has V3R2 and I think >may be an ?F60? (its bigger than their development box, which they keep >referring to as a 45). > >The file I am concerned with has 5 million records. I want to go through >this file making selections based upon choices made for several fields. >Normally I would use the RPG cycle and bang down through the file (no K), >making the selection tests with the most limiting choice first, and as >soon as a record fails, goto end of cycle. Any record that tumbled >through that series of tests would be written to a workfile, with a key >field made up with the sort-choices as made on the selection screen. Over >90% of the time the final work file will hold less that 10,000 records. > >I've done this a lot on smaller files and smaller machines. It offers a >real easy front-end for the user and is flexible. > >But I have never done this on a 5 million record file. Am I about to make >a fool of myself? -- Booth, You have too much credibility on midrange-l to make a fool of yourself, here. On the otherhand, subsetting the records in RPG will take a long time. Try using ANYTHING else in the system. My first choice would be OPNQRYF, however you could be a logical with select/omit, or SQL. Nevertheless, the system query function will do a better job subsetting the records. Al Al Barsa, Jr. Barsa Consulting, LLC 400 > 390 Phone: 914-251-9400 Fax: 914-251-9406 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. Questions * * should be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.