View previous topic :: View next topic
|
Author |
Message |
raviprabhu
New User
Joined: 20 Oct 2006 Posts: 29
|
|
|
|
Hi
I have a requirement where I need to move S9(07) to S9(07)V99.
The receiving should have interger value get from sending variable and two decimal places as zeros.
S9(07) value 00001234
S9(07)V99 value 00001234.00
Please let me know how to do this |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Note that V is an implied decimal point; whilst it will align properly, it will not display a decimal point glyph. To do so, define your second variable a PICTURE of S9(8).99, and simply move the first variable to the second. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
What does redefining 2 different length fields accomplish? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Why do you not think the MOVE statement will do what you want? |
|
Back to top |
|
|
|