View previous topic :: View next topic
|
Author |
Message |
Prajesh_v_p
Active User
Joined: 24 May 2006 Posts: 133 Location: India
|
|
|
|
Hi All,
One quick question!
How can we add 25 digit long numbers in COBOL. Looks like Numeric data has a limitation of 18 digits.
Thanks in advance! |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
look at the cobol manuals and
search the forum for ARITH EXTENDED |
|
Back to top |
|
|
sudhakar84
New User
Joined: 20 Jun 2008 Posts: 25 Location: chennai
|
|
|
|
Default compiler option for a cobol program will be ARITH(COMPAT).With this compiler option we can do calculation only up to a 18-digit Number.
Please compile the program with the compile parameters ARITH(EXTEND) so that we can do calculation up to a 31-digit Number. |
|
Back to top |
|
|
|