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
What is the utilization of copybook in cobol?
What is the difference between comp and comp-3 usage?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
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.
What is rmode(24)
How you can characterize tables in cobol?
State the various causes of s0c1, s0c5 and s0c7.
how do you reference the fixed unblock file formats from cobol programs
What is static and dynamic call in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What the difference is between continue and next sentence?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What are declaratives and what are their uses in cobol?
Define static linking and dynamic linking.