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 / ashok
in x1 & x2 is haveing same value "abcd" and also memory
location also is same. thats why if u chang any values of
these atomatically chang both values.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are the various section in data division and briefly explain them.
What are literals?
how do you reference the printer file formats from cobol programs
What is the use of intialize verb?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What do you understand by psb and acb?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What are different data types in cobol?
How do define dynamic array in cobol.
Difference between array and sub-script ?
How to know whether the module is dynamical or statistical?
Can a Search can be done on a table with or without Index?
how to refer the data field?
Explain about different table spaces.