View previous topic :: View next topic
|
Author |
Message |
karthikuma
New User
Joined: 29 Mar 2005 Posts: 62
|
|
|
|
whether redefine supports value clause?
01 A
02 a-1 pic x(8)
01 B redefine A
02 b-1 pic x(5) value spaces.
what is the output.whether it will show error. |
|
Back to top |
|
|
sribks2005
New User
Joined: 04 Apr 2005 Posts: 20 Location: Mysore
|
|
|
|
yes we get an error if we do like this.
The error message would be like given below.
==========================================
A "VALUE" clause was specified for an item that contained,or was subordinate to an item that contained, a "REDEFINES" clause. The "VALUE" clause was discarded
===========================================
But we can initialize the variable A with spaces. |
|
Back to top |
|
|
karthikuma
New User
Joined: 29 Mar 2005 Posts: 62
|
|
|
|
thankz a lot |
|
Back to top |
|
|
|