Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the maximum data length for Numeric DataType ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What the difference is between continue and next sentence?

1174


Which Search verb is equivalent to PERFORM…VARYING?

1043


What are various search techniques in cobol? Explain.

1073


How do you get the data to code the BMS macro?

1975


What is the difference between PIC 9.99 and 9v99 in COBOL?

1334


How many bytes S(8) comp field occupy and its maximum value?

2144


What is the difference between structured cobol programming and object alternativelyiented cobol?

1254


What is the LINKAGE SECTION used in COBOL?

1530


how do you define single dimensional array and multidimensional array in your cobol?

1110


What is Pic 9v99 Indicates in COBOL?

1264


What is rmode(24)

1150


What are the different data types in cobol?

1449


How to print 10 to 1 if the input have only 10 digit number?

1264


what is search and searchall?what is the diffrence between them?give an best example?

6837


Write the code to count the sum of n natural numbers.

1210