Yes. I have a procedure after the clear txt value is parsed from the buffer (whether zone or packed) where it is passed to the negative procedure to translate negative.


Sent from my iPhone

On Nov 1, 2019, at 6:34 AM, Barbara Morris <bmorris@xxxxxxxxxx> wrote:

On 2019-10-31 9:03 p.m., Jay Vaughn wrote:
Thx Barbara. No it has not and that is a critical piece I was missing.
If you get a chance can you review the procedure I posted where I extract the clear text value of the packed number out of a hex representation via sql?
Any flaws or potential pitfalls with that method?

What about negative numbers? Your procedure would return say '12345D' for -12345.

Assuming you're going to use that string as a zoned value, I'm guessing you should return '1234N' for input of x'12345D'.


This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support by shopping at with our affiliate link:

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.