|
Regarding %size and a named constant, from the V5R2M0 RPG IV reference: "%SIZE returns the number of bytes occupied by the constant or field. The argument may be a literal, a named constant, a data structure, a data structure subfield, a field, an array or a table name." Mel Rothman Jon Paris wrote:
However, I'm not certain that you can actually take %Size of a constant (and haven't time to check) so you may need to load it into a varying field and then use %Len. Jon Paris Partner400 www.Partner400.comwww.RPGWorld.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.