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
Explain how to differentiate call by context by comparing it to other calls?
Name the sections present in data division.
What is the difference between structured cobol programming and object alternativelyiented cobol?
What are the rules of the move verb?
how to convert the recors form vsam file to db2 table tru file aid
What is amode(31)
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Can a Search can be done on a table with or without Index?
What is the LINKAGE SECTION used in COBOL?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What are various search techniques in cobol? Explain.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
i need a small 3d program using inline and outline.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?