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

What is the utilization of copybook in cobol?

657


What is the difference between comp and comp-3 usage?

681


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8657


What is the Purpose of POINTER Phrase in STRING command in COBOL?

721


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1783






What is rmode(24)

681


How you can characterize tables in cobol?

719


State the various causes of s0c1, s0c5 and s0c7.

665


how do you reference the fixed unblock file formats from cobol programs

712


What is static and dynamic call in cobol?

597


What is the difference between structured cobol programming and object alternativelyiented cobol?

755


What the difference is between continue and next sentence?

663


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

676


What are declaratives and what are their uses in cobol?

714


Define static linking and dynamic linking.

669