i want to store 20 digits . h will u do it in cobol ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
what is meant by binary search?
What does the initialize statement do ?
What is 88 level used for ?
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.
what is the advantage of using redefines instead of delaring the variables ?
can we display comp-3 variables. if we want to display what we have to do . give me one example
Which Search verb is equivalent to PERFORM…VARYING?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
Can a Search can be done on a table with or without Index?
How to convert bunch of words in a line to relvant ASCII values?
consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.
how to crack cts interview apps? NOVEMBER 21 2010