What is the maximum data length for Numeric DataType ?

Answers were Sorted based on User's Feedback



What is the maximum data length for Numeric DataType ?..

Answer / g.naveen

18 is Maximum Data length for Numeric Data Type.

Is This Answer Correct ?    24 Yes 0 No

What is the maximum data length for Numeric DataType ?..

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

What is the maximum data length for Numeric DataType ?..

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

Post New Answer

More COBOL Interview Questions

what is Pic 9v99 Indicates?

2 Answers  


can we display comp-3 variables. if we want to display what we have to do . give me one example

6 Answers   CGI, Deloitte,


) how do u code after getting data?

0 Answers   IBM,


what is the difference between start and startbr?

2 Answers  


C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE

1 Answers   TCS,






what are the utilities for load and unload the DB2 tables

1 Answers   L&T,


What is the difference between Call and a Link?

0 Answers  


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

0 Answers   Accenture,


What is the difference between copy and include in cobol?

1 Answers  


Have you used comp and comp-3 in your project? And how?

0 Answers   IBM,


I know my query will return more than one row but I don't want cursor what should I do?

1 Answers  


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

0 Answers   HCL,


Categories