|
Well, with the keywords you are not using QCMDEXC's OVRDBF, so there is zero risk of getting the scoping wrong. I am sure that if you tried hard enough with using QCMDEXC's OVRDBF, or even worse, a CL program with OVRDBF in it before the RPGLE program, you can screw up the scoping. :-) Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin qsrvbas@xxxxxxxxxxxx (Tom Liotta) Sent by: midrange-l-bounces@xxxxxxxxxxxx 10/10/2003 08:08 PM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To midrange-l@xxxxxxxxxxxx cc Subject Commands inside RPG (was RE: authority question....) midrange-l-request@xxxxxxxxxxxx wrote: > 2. RE: authority question.... (rob) > >However, why not let RPG handle itself? When you do it that way you don't >have to worry about what level of scoping to apply on using QCMDEXC's >OVRDBF and other functions. And I think it will be a touch more readable. I've generally _tried_ to stick with the older separation of control function idea. However, when an override is a clear part of the function of a program, there's no point in breaking it out into a wrapper. Now with ILE CL, things are even fuzzier than before. One of my dislikes about using QCMDEXC or QCAPCMD regularly has been the interpreted nature of the CL rather than compiled. Procedures in ILE CL have removed that minor personal irritation. In any case, how does running an override within RPG reduce concern over scoping, etc.? Is that primarily from the idea that default values are more likely to be appropriate? Tom Liotta -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 Fax 253-872-7904 http://www.powertech.com __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.