View previous topic :: View next topic |
Author |
Message |
swaasum Beginner
Joined: 14 Jun 2004 Posts: 2 Topics: 2
|
Posted: Fri Mar 23, 2007 8:41 am Post subject: Redefine COMP-3 |
|
|
Hi all,
I defined two variables as below
01 A PIC S9(10)V USAGE COMP-3.
01 B REDEFINES A.
05 C PIX X(06).
I moved 000001 to variable A
When i displayed A and B, A have 000001 but B have only spaces.
Any problem in my redefination. Please suggest.
Thanks,
Raj. _________________ Raj |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
Posted: Fri Mar 23, 2007 8:51 am Post subject: |
|
|
Quote: |
When i displayed A and B, A have 000001 but B have only spaces.
|
swaasum,
It is NOT spaces. If you set HEX on you will find that B actually has
which is the same as what has A has
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|