|
István, Fear not, (at least on this one). A few modules, service programs and a single display file containing about 3000 lines of code should be able to completely replace your 100 programs. You can download an example of this code from Midrange Computing at: http://www.midrangecomputing.com/ftp/prog/99/991205.zip This program will use more system resources than a single RPGIII lookup, but it will save you hundreds of hours in development, compiling, testing, etc. That is a fair tradeoff. David Morris >>> Istvan@Rudas.net 04/04/00 07:10PM >>> ...What fears? I give you one as an example: in RPG-III, it is common to use F4 to call a list (a subfile program) behind a code to make selections or give further information. We have in this package about - let's say - 100 of such little (1.500 lines) programs. Do I make them all become one big serviceprogram, which contains 100 modules which make in sum 150.000 lines (just a lot of zeros, someone may say??); each of them has a DSPF of -let's say- 1000 lines (another zeros, after a 1). Makes this sense? How does the Main Storage act, loading the equivalent machine code of 250.000 lines, when one finger presses the F4 Key? Is this not "baking a big pie", resulting in bad performance, unnecesserily buying a bigger machine? Just feeding Dollars into IBM? - Was the OPM construct not better from this view: one fingertip on F4 loaded only the equivalent of 2500 lines? - Where am I wrong?... Thank you for your attention István (from Austria) ------------------------------------------------------ István Rudas (Mr.), R U D A S EDV-Beratung A-1060 W i e n, (Austria), Stiegengasse 4/4 Tel: (+43/1) 587 43 71; (+43/664) 308 79 78 Fax: (+43/1) 581 67 08; http://www.Rudas.net mailto: Istvan@Rudas.net ------------------------------------------------------- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | 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.