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...

i want to store 20 digits . h will u do it in cobol ?

Answer Posted / paray2x

Most of the modern compilers support upto 31 digits. Try
compiling your program and you'll be able to find out.

Else, if your requirement is only to store and not do any
computation, you can have a group variable.

05 My-number.
10 My-number-part1 pic 9(15).
10 My-number-part2 pic 9(5).

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we get current date from system with century in COBOL?

1381


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1152


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

1152


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1256


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1153


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

5374


What is rmode(24)

1148


How do you differentiate between cobol and cobol-ii?

1213


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2011


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1329


what is the use of outrecord?

2222


what is amode(24), amode(31), rmode(24) and rmode(any)?

1153


What is the difference between Call and a Link?

1198


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2473


) how do u code after getting data?

2155