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 find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
In COBOL, what is the different between index and subscript?
In which area will you utilize 88 level items in cobol?
What is the compute verb? How is it used?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is the Purpose of Pointer in the string?
Write a program that uses move corresponding.
What are declaratives and what are their uses in cobol?
What is the usage of comp fields in cobol?
Can you please let me know the centre name of INS certification in Kolkata.
Difference between array and sub-script ?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
how do you reference the variable unblock file formats from cobol programs
how do you reference the variable block file formats from cobol programs