View previous topic :: View next topic
|
Author |
Message |
Huzefa
New User
Joined: 05 Dec 2006 Posts: 83 Location: Bangalore
|
|
|
|
Hi All,
I need to convert a Packed Decimal Variable to Decimal.
Below is the code am trying
ws-packed w 04 P
ws-decimal W 10 N
Move ws-packed to ws-decimal
When I try to write ws-decimal in the file I still get it in Hex format or so and not in a readable format. |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
use ws-decimal = ws-packed instead of move. |
|
Back to top |
|
|
Huzefa
New User
Joined: 05 Dec 2006 Posts: 83 Location: Bangalore
|
|
|
|
Thanks Craq
It Worked!!!! |
|
Back to top |
|
|
|