View previous topic :: View next topic
|
Author |
Message |
softwareengineer
New User
Joined: 24 Aug 2005 Posts: 24 Location: Hyderabad
|
|
|
|
Hi All,
I have to add two numeric values of length 23 each which I defined in my program as 9(23) in my program. But My system is giving error tht the numeric field shud not be greater than s9(18).
I want to add these 2 variables (each PIC 9(23)) and to divide the result by 5 ?
Please help me... |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Have you tried
Quote: |
If the ARITH(COMPAT) compiler option is in effect: 18
If the ARITH(EXTEND) compiler option is in effect: 31 |
|
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
floating point? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Just curious. . . what kind of value are you processing that has 23 significant digits? |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Yen |
|
Back to top |
|
|
|