I tried it already.It is not working. I don't think it is possible within a structure as with individual variables.It works if it is declared in lvl 1 defined in terms of another variable like:
dcl x pic'(6)9' init(123456);
dcl 1 struct def x position(1),
2 a pic '99' ,
2 b pic '99' ,
2 c pic '99' ;
but what if i have to define between members ? Is that possible ?
Can anyone tell me if it is possible to use 'defined' or 'union' attribute in a structure (having different data types) other than level 1 .I tried using it but i get an error of 8 saying that the 'defined' or 'union' attribute is getting ignored.
Awaiting reply eagerly.
Pls let me know..............