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 refer the data field?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Can a Search can be done on a table with or without Index?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is the difference between comp and comp-3?
What do you understand by psb and acb?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
A table has two indexes defined. Which one will be used by the SEARCH?
Name the sections present in data division.
What are the different types of condition in cobol and write their forms.
what is the use of outrecord?
What is rmode(24)
What are the various section in data division and briefly explain them.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?