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 you reference the fixed unblock file formats from cobol programs

1211


What is the difference between next sentence and continue in cobol programing language?

1195


how do you reference the rrds file formats from cobol programs

1550


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

1243


What are the different open modes available in cobol?

1174


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1177


Whats the difference between search & search ALL?

6492


Write a program to enter and display the names of students in a class using the occurs clause.

1188


Explain about different table spaces.

1079


What are the different rules for performing sort operation?

1201


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7854


What rules are to be followed while using the corresponding options?

1047


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

1989


What is amode(24)?

1219


what is the use of outrecord?

2182