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

Which mode is used to operate the sequential file?

1195


Can we change the password using ALTER? anyone tried and changed?

2008


In which area will you utilize 88 level items in cobol?

1161


Define static linking and dynamic linking.

1182


A table has two indexes defined. Which one will be used by the SEARCH?

1281


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5366


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5733


example for sub strings ? and refernce modifications whit output pls

2308


Explain what you understand by passing by value.

1144


In COBOL programming, what is PERFORM? What is VARYING?

1140


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1343


Explain how you can characterize tables in cobol?

1055


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1194


how to access the file from prodution from changeman tool and to submit a file to production

7531


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9093