View previous topic :: View next topic
|
Author |
Message |
jpsiddharth
New User
Joined: 21 Feb 2005 Posts: 7
|
|
|
|
can we redefine x(50) field with a field of x(80). |
|
Back to top |
|
|
avalanches
New User
Joined: 10 May 2005 Posts: 28
|
|
|
|
Siddarth
We cannot do this. The redefining length should match the one to be redined.
Cheers,
avalanches. |
|
Back to top |
|
|
gvt460
New User
Joined: 04 Mar 2005 Posts: 23
|
|
|
|
we can do this one in the 01 level.
but we cant do in the other levels. |
|
Back to top |
|
|
subhasis_50
Moderator
Joined: 09 Mar 2005 Posts: 363 Location: Earth
|
|
|
|
Hi,
I agree with gvt460. Except 01 level number u can not do it. Otherwise it will give u compilation error. |
|
Back to top |
|
|
sree_2503
New User
Joined: 22 May 2005 Posts: 12 Location: Chennai,India
|
|
|
|
Hi Siddharth,
Yes, you can redefine X(50) by X(80) and the other way round too, but both the var should be of the same level, say 05 or 01.
U cannot redine a 05 level var with a 01 or vice versa.
However, you can also redefine fields of different type altogether. For example, redefining a character field as a binary field. |
|
Back to top |
|
|
jpsiddharth
New User
Joined: 21 Feb 2005 Posts: 7
|
|
|
|
thanks for ur reply |
|
Back to top |
|
|
|