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



Scott Klement wrote:
>
> On Wed, 31 Oct 2001, Pierre Baudracco wrote:
> >
> > > > If we hit
> > > > 1 0 -, the app shows 1è (strangely it is not 1} but this should be a 
>font
> > > > or map problem) but when we hit Enter (either keyboard or keypad)
> > > > the value -1,000 appears in the numerical field.
> > > >
> > > > 1 0 0 - gives 10è, the Enter gives -10,000.
> > > >
> > >
> > > This appears to be the same issue.  In both cases, it's adding two zeroes.
> >
> > No. -10,000 is -10 (or -10.000 as in France "," is used as the decimal
> > separator, not the thousand separator)
> >
>
> This gave me the clue!  If it's showing a decimal seperator, you must be
> using an edit code -- and that caused my brain to start working. :)
>
> I created a test program that used every type of numeric field I could
> find, and I found that only the 'Y' data type in DDS is allowed to have
> edit codes or edit words applied to it.
>
> When using this data type in an edit code or edit word, I was able to
> reproduce the symptoms that you describe.   (However, it does NOT
> behave that way without the edit word/code!)
>
> After much experimenting & trying different terminals I finally determined
> that the reason for the problem isn't the WAY we're adjusting the field,
> but rather the fact that we're adjusting it at all!
>
> The AS/400 is sending a "NO_ADJUST" flag with that field, yet we were
> still adjusting it.
>
> So...   I committed patches to CVS that makes the emulator respect the
> "NO_ADJUST" flag, and now it appears to match what a genuine IBM terminal
> does with those numeric fields.
>
> Please try it, and let me know if it solves the problem for you.  If it
> does, we'll include it in the next official release of TN5250.

I've just tried it and Yes it works.
It now behaves just as the real IBM 5250.
1 0 - gives -10.000.

Thanks a lot for the reactivity !

--
------------------------------------------------------------------------------
Pierre Baudracco - pierre.baudracco@aliacom.fr
ALIACOM - www.aliacom.fr - 05 62 19 24 91


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.