01 var1 pic x(10)
01 var2 redefines var1 pic 9(10).
then in procedure division
move 'abcde' to var1 then waht is the value of var1 and var2
Answer Posted / s.v.venkata sivaprasad
redefines will reuse the memory with irrespective of date
type var1 is abcde and var2 also abcde.
Is This Answer Correct ? | 22 Yes | 0 No |
Post New Answer View All Answers
How to print 10 to 1 if the input have only 10 digit number?
What is static and dynamic call in cobol?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
how do you define single dimensional array and multidimensional array in your cobol?
What are 77 levels used for?
A table has two indexes defined. Which one will be used by the SEARCH?
how to refer the data field?
Difference between cobol and cobol-ii?
How to remove 2 duplicate records and copy only one using job control language?
how do you reference the rrds file formats from cobol programs
Write a cobol program making use of the redefine clause.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is comp-1 and comp-2?