|
Use the _LBCPYNV MI builtin to convert the packed data to zoned decimal. --- Scott Klement http://www.scottklement.com On Tue, 30 May 2006, Curt Vancalster wrote:
I am working in RPG IV. I am trying to substringing out of a character field, packed data. I am trying to put this packed data back into another character field, but I don't want it packed, I want to see the actual value. How do I accomplish this? I tried substringing into a character field and then moved that into a signed field, but that does not work. I get a decimal data error. I don't want to create a data structure either cause the format of the initial character field could change.
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.