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

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

1157


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

1293


Why did you choose to work with ibm mainframe cobol programming?

1036


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?

7739


How you can read the file from bottom?

1086


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1157


What is the difference between binary search and sequential search?

1047


What is the local-storage section?

1105


Explain how you can characterize tables in cobol?

1010


Explain the configuration section of a cobol program with examples of syntax.

1125


How do you reference the following file formats from cobol programs?

1123


What are different data types in cobol?

1231


What is link edit in cobol?

1153


Whats the difference between search & search ALL?

6365


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2548