|
I don't see why not. For example (assuming CCSID 37) for a
packed(3:0) with value 146 you would have x'146F', right? Viewed as
characters that would be an SO and '?'.
On Wed, Oct 11, 2017 at 11:02 AM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:
Given that SO (X'14') and SI (X'15') can't occur in a packed number, the technique I described of using a DS to "convert" packed to character would appear to be a valid approach. But as you note it wouldn't work for an integer.
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.