View previous topic :: View next topic
|
Author |
Message |
amalli
New User
Joined: 06 Sep 2005 Posts: 17
|
|
|
|
hi
01 a
02 num1 pic 9 value 1.
01 b
02 num1 pic 9 value 2.
display num1?
what is num1 value 1 or 2 or Any error?
thanks
malli |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi,
Quote: |
hi
01 a
02 num1 pic 9 value 1.
01 b
02 num1 pic 9 value 2.
display num1?
what is num1 value 1 or 2 or Any error? |
It will give error.
Code: |
"NUM1" was not a uniquely defined name. |
Regards
Rupesh |
|
Back to top |
|
|
cheli
New User
Joined: 21 Jul 2005 Posts: 11
|
|
|
|
U r absolutely correct. |
|
Back to top |
|
|
Renuvaidy
New User
Joined: 17 Sep 2005 Posts: 14 Location: Singapore
|
|
|
|
it will give error.
with luv,
renu |
|
Back to top |
|
|
cheli
New User
Joined: 21 Jul 2005 Posts: 11
|
|
|
|
It will give compilation error,saying that it was not a uniquely defined name. |
|
Back to top |
|
|
Umesh Kumar
New User
Joined: 06 Jul 2005 Posts: 2 Location: NOIDA (INDIA)
|
|
|
|
You will have to use qualified data names such as:
DISPLAY NUM1 OF A.
Output: 1
OR
DISPLAY NUM1 OF B.
Output: 2
Regards,
Umesh |
|
Back to top |
|
|
|