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



Hi Chand,

One way to solve this problem is as below


H DECEDIT ('0.')                                                   
DFld_12           S             12S 2 Inz(0)                       
DFld_12_1         S             12S 0 Inz(123456789112)            
DFld_13           S             13                                 
C                   Move      Fld_12_1      Fld_12                 
C                   Eval      Fld_13 = %EDITC(Fld_12 : '3')        
C     Fld_13        Dsply                                          
C     Fld_12        Dsply                                          
C                   Eval      *Inlr = *On                          



You may define the same data type field as Fld_13 in your display file 


Thanks
Sadiq ..

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Shijith_Chand
Sent: Wednesday, July 20, 2005 9:28 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: small doubt regarding decimal edit 

Dear all,

           When I run my display file,I see that the Decimal point
character  as ", " (COMMA) and not 

           A "." (DOT) as I expected for a numeric field with EDITCODE =
1.

           I tried to change DECEDIT keyword in the H-SPEC of the
program that runs this display file.

           But this did not help.

           Is this parameter set at Job level/session level or
something? If yes how can I change it so that

           the display file screen shows DOT for a decimal and not
COMMA.

Thanks & Regards,

S.Chand

 

                  

 



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.

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.