|
>Can you tell what are the other differences between DBGVIEW - *SOURCE >and *LIST besides *SOURCE using the current source member. > >1. Is one better than the other? Well, as we've seen already, using DBGVIEW(*LIST) allows you to debug a program on a system other than where you compiled the program. > >2. Does *LIST make the programs size awfully big? Does it keep all >the /copy, ext ref etc.? Well, yes. TANSTAAFL! I tried compiling one of my programs and found the following sizes: DBGVIEW(*NONE) 200704 DBGVIEW(*SOURCE) 258048 DBGVIEW(*LIST) 380928 So, from this example, count on a program size roughly double. > >3. Do they make a difference in the program load time? No, the debug tables are used only by debug. > >4. Does the new H options *SRCSTMT, *NODEBUGIO behave differently >with the two options? No difference. > >5. Which one takes longer to compile? (I found the *LIST longer but >my mileage maybe fake...) Since a bigger program is produced, it's reasonable to count on somewhat longer compile time. But I don't have any numbers to indicate what the difference is. > >6. In the same note, on CISC (poor V3R2 types), is it better to have >the optimize set to *NONE or *BASIC or *FULL See below. > >7. Which optimize option creates the module faster? (I have tried all >the three and get no meaningful difference.) In general, most RPG programs are I/O bound. As a result, optimization doesn't really make much difference for RPG. In addition, in order to make RPG programs run properly, most of the really aggressive optimizations are disabled by RPG. As a result, for most typical RPG programs, compile- time and run-time should be roughly the same. Hans Boldt, ILE RPG Development, IBM Toronto Lab, boldt@ca.ibm.com +--- | 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 MIDRANGE-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-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.