can u give result for the fallowing example...
05 a pic 9(2)
05 b redifines a pic x(2).
move 'xy' to b.
display a,b.
Answer Posted / neha
a=00
b=xy
because redefines only defines the length of the variables ,not the particular value.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Explain what you understand by passing by value.
What is difference between static and dynamic call in cobol?
i want a program using by if, evaluate , string, unstring, perform, occurs?
For rewrite, why is it mandatory that file needs to be opened?
When is inspect verb is used in cobol?
How can you get the ksds file records into your cobol program?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
State the various causes of s0c1, s0c5 and s0c7.
What is the compute verb? How is it used?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What are declaratives and what are their uses in cobol?
Write down the divisions of cobol program?
Which Search verb is equivalent to PERFORM…VARYING?
how do you reference the rrds file formats from cobol programs