× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ron,

Perhaps the easiest method would be to write a simple program which
would examine the hex data within the field (redefine the field to
character data) and then update the last byte to x'0F'.

I assume that you are referring only to the last byte of a packed field.
Having a value of x'00' in the middle of a packed field is normal.

Can you give an example of the hex value of a bad field?  What is it?
What should it be?

I would be concerned about how such corruption could occur.

Regards,
Andy Nolen-Parkhouse

> On Behalf Of Klein, Ron
> Subject: Fixing bad data in a numeric field
>
> Hi All,
> I have encountered a lot of numeric fields that contain bad data.  In
> specific these are packed fields that have a value of Hex'00' in them.
So
> I
> need to change them to Hex'0F'.  Any suggestions on how I can
accomplish
> this.  TIA
> Ron



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.