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 / abhishek_ibm
Both will be having the same value but the only difference
is when we use airthmetic operation then it will take hex
value .. I do think I am correct but kindly correct me if i
am mistaken.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is a scope terminator give example?
Write a program that uses move corresponding.
Can we change the password using ALTER? anyone tried and changed?
what is amode(24), amode(31), rmode(24) and rmode(any)?
how do you reference the variable block file formats from cobol programs
What is link edit in cobol?
What is static and dynamic call in cobol?
Write down the divisions of cobol program?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the usage of comp fields in cobol?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
Explain about different table spaces.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
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.
What are the pertinent COBOL commands?