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



Krish,

The space is a valid character as you have the field defined.  The following 
paragraph is from the DDS Reference for display files manual.

Numeric Only (Y): Each keyboard is shifted to allow numeric entry: uppershift 
for the data-entry keyboard and lowershift for the typewriter-like keyboard. 
You can only type the numbers 0 through 9, plus (+), minus (?), period (.), 
comma (,), and space ( ) into the field. You can press any key to leave the 
field.

I glanced quickly at the other options and didn't see one that both allowed the 
EDTCDE keyword and omitted the space character.  Maybe if you take a look at 
the manual you can find a way to do what you want.

Here is a link to the V5R3 manual:
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/ic2924/index.htm

HTH,

Rick

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Krish Thirumalai
Sent: Wednesday, March 02, 2005 11:50 AM
To: Midrange Systems Technical Discussion
Subject: Strange behaviour on a numeric field in a DSPF


I  happened to notice this strange behaviour on a numeric field
defined in a display file after one of our customer complained about
this.

The numeric field is coded as follows in the DSPF

      A                                 13 42'Days 1  . . . . . .'            
      A                                 13 62':'                              
      A            WSDAY1         5Y 2B 13 64EDTCDE(4)                        

If I enter 1 and hit enter the field gets populated with  1.00 (this
is as expected)
Days 1  . . . . . . :   1.00

If i come back to the same field and put 1 in the 1st postion and h

Days 1  . . . . . . : 3 1.00

and hit enter without using field exit to blank the rest of the field
the display gets populated with 301.00  (not expected )

Days 1  . . . . . . : 301.00

Have any of you noticed this behaviour before ? Is there a way to
prevent this from happening other than using the CHECK(FE) keyword ?

Thanks

Krish

Privileged and Confidential.  This e-mail, and any attachments there to, is 
intended only for use by the addressee(s) named herein and may contain legally 
privileged or confidential information.  If you have received this e-mail in 
error, please notify me immediately by a return e-mail and delete this e-mail.  
You are hereby notified that any dissemination, distribution or copying of this 
e-mail and/or any attachments thereto, is strictly prohibited.


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