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 ?

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / vaneesh

Just write PROCESS ARITH(EXTEND) before identification
division, you can use upto 9(31).

Is This Answer Correct ?    5 Yes 0 No

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

Answer / nitesh sethi

Use ARiTH(EXTEND) as compile option and you can extend
numeric field upto 30 digits

Is This Answer Correct ?    4 Yes 3 No

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

Answer / yogesh

U can use either tables(ARRAYS) or can store those values
as elementary data items

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

what is the maximum error code in mainframe

2 Answers  


How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.

5 Answers   TCS,


i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

5 Answers   HCL,


how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas

3 Answers   IBM,


Read filea And file b write the same records in both files? Records in a but not in b record in b but not in a

3 Answers   TCS,


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

0 Answers  


What is Comm?

2 Answers   IBM, Kemper Corporation,


What are the functions like c or c++ in cobol?

2 Answers  


how to transfer the file from pc to mainframe??

2 Answers  


Can we move SPACES to numeric field and ZEROES to alphabetic field? If yes what are the way doing this?

6 Answers   T systems,


Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.

2 Answers   IBM,


What are the cobol coding sheets?

0 Answers  


Categories