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



OS400 screen handling seems to ignore a leading minus sign keyed into a DDS screen field.

This seems odd to most users, who commonly key -123 to indicate negative 123.

Unfortunately OS400 strips off the leading negative sign and only passes +123 to the program driving the screen.


Is there a simple method of ensuring that the OS400 screen handler passes a leading minus sign back to the calling pgm?

OS7.1

DDS:

A QTY 15S 2B 6 50EDTCDE(N)


It is apparent that OS400 will capture a trailing minus sign, and will also capture the negative value when using the minus "field exit" key. However these are not intuitive methods, and are a throwback to the 1970's. Is it possible to capture -123 as -123 using DDS numeric fields?

(Hopefully there is a better method than using an alpha screen field and scraping it, scanning for a minus sign).


Thanks in advance!!



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.