abkumarch wrote:01 A pic X(02)
01 B pic X(03)
01 C pic X(04) VALUE 'c'.
01 C REDEFINES A
DISPLAY C ? how will C look like ?
It's hard to say exactally, I would have to guess......
I dont want yr 'guess' ?
Plz ans those who have "tried & tested" . OK
That's the problem, as it is, it can not be "tried & tested" since it won't compile....
C does not follow A immediately....
If C does actually redefine A, then C can not have a value.....
The second definition of C is an unqualifiable duplicate....
The second definition of C does not have a pic or subordinate entries....
Try setting up the storage correctly and we can figure it out without guessing.....