× 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.


  • Subject: Re: field minus
  • From: Scott Klement <klemscot@xxxxxxxxxxxx>
  • Date: Mon, 22 Jan 2001 16:07:44 -0600 (CST)


It looks like we're not handling the change from positive to negative
properly on a non-signed numeric field.

To handle it properly, the 6th bit in the last byte of the numeric field
should be turned off.   i.e.  "0" (0xf0) becomes "}" (0xd0), "1" (0xf1)
becomes "J" (0xd1), etc.

What we were (incorrectly) doing is concatenating a "}" to the end of
the field, no matter what the value of the field was.  Essentially, we
were always adding a zero to the end, and making it negative.

I've sent a patch to Sean Porterfield and Juan Rivas (who have both
mentioned this problem) and if they're happy with the results I'll
pass the patch along to Jason to be applied...


Thanks for all your help finding this stuff... :)


On Mon, 22 Jan 2001, Sean Porterfield wrote:

> Repost: Does the list block messages with attachments (or a max file
> size?)  Anyway, instead of attached, trace available on request.
> 
> ---------------------------------------------------------
> 
> I thought all the field minus / field exit problems had been fixed, but
> maybe I just don't use field minus enough.
> 
> When I key 1 then field minus, I see 10- in the field (after pressing
> enter).  I know of a few places this happens, but order entry is the
> most important!  (I can't give this out to users as is.)
> 
> Trace file attached in case someone has an idea.
> 
> Thanks!

+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.