View previous topic :: View next topic
|
Author |
Message |
Damire
New User
Joined: 25 Aug 2006 Posts: 6
|
|
|
|
guys can you help me redefines these numeric value to an alphanumeric...
01 WS-ACCT-BAL PIC Z,ZZ9.99.
01 WS-TEMP-BAL X(10).
i would like WS-TEMP-BAL to contain the same value of WS-ACCT-BAL.
is it possible?
tnx in advance! |
|
Back to top |
|
|
senman
New User
Joined: 17 Aug 2006 Posts: 17 Location: Chennai
|
|
|
|
Hope the following code helps
01 WS-ACCT-BAL PIC Z,ZZ9.99.
01 WS-TEMP-BAL redefines WS-ACCT-BAL PIC X(10). |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Demire,
Just curious, if ws-acct-bal contains 1,234.56 what 10 chars do you expect to see in ws-temp-bal? |
|
Back to top |
|
|
Damire
New User
Joined: 25 Aug 2006 Posts: 6
|
|
|
|
tnx guys for helping.. dat really solved my problem
@mmwife i just max it to 10 but i'm really not expecting other values on it...
tnx again guys... |
|
Back to top |
|
|
|