What is the maximum data length for Numeric DataType ?
Answers were Sorted based on User's Feedback
Answer / g.naveen
18 is Maximum Data length for Numeric Data Type.
| Is This Answer Correct ? | 24 Yes | 0 No |
Answer / shekh
BY USING COMPILER OPTION MATH, IT WILL INCREASE THE VARIABLE CAPACITY UP TO 31 DIGITS.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / muttaiah
The default is 18..which means the compiler option will be
Arith(compat)..
If you change the compiler option to Arith(extend) you can
use max 31 digits..
This is one of the famous interview question now a days.
Say i want to declare a variable with PIC 9(20) is it
possible?
People who doesn't know Arith(extend) compiler option they
will say it's not possible to declare a variable with PIC 9
(20) keeping 18 digits in mind. This is how it is.
| Is This Answer Correct ? | 3 Yes | 0 No |
Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?
88 class is used for
What is static and dynamic call in cobol?
Whtz the specialty of 77 level number ?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Write a program to concert an Indexed file into Sequential file?
What is SSRANGE, NOSSRANGE ?
I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..
What are the different types of condition in cobol and write their forms.
can i use multiple when statements in search & search all ? justify ur answer?
What is the difference between external and global variables in COBOL?
why 02 level number can't be use as a separate level number like 01 or 77 ?