|
David, >it can't be done effectively >without additional compiler and operational descriptor support. Not quite true. In this case we don't need to modify the value, so we can code it with either CONST or VALUE and the compiler will perform the necessary conversions for us, up to the maximum size named on the prototype (which is why I chose 30P 9 for the field size). In some cases this still isn't enough and you need to know more about the field, for example if trying to code the equivalent to %editc/w() for V3R2 systems. You just can't get there from here. We'd both still love to see full operational descriptor support, but it seems it isn't in Toronto's hands. :( However, there are still lots of cases where using VALUE or CONST lets us get by. Doug +--- | 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-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.