View previous topic :: View next topic
|
Author |
Message |
avadhoot
New User
Joined: 22 Jan 2007 Posts: 3 Location: Mumbai
|
|
|
|
Can we pass a simple decimal value to a packed decimal format with the help of MOVE statement?
Can we move CHAR to decimal with the help of MOVE? If not whats the process to move it?
Thanks,
regards,
Avadhoot |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
avadhoot wrote: |
Can we pass a simple decimal value to a packed decimal format with the help of MOVE statement?
Can we move CHAR to decimal with the help of MOVE? If not whats the process to move it? |
Yes, quoting the Fine Manual:
Quote: |
An elementary move is one in which the receiving item is an elementary item, and the sending item is an elementary item or a literal. Any necessary conversion of data from one form of internal representation to another takes place during the move, along with any specified editing in, or de-editing implied by, the receiving item. |
|
|
Back to top |
|
|
avadhoot
New User
Joined: 22 Jan 2007 Posts: 3 Location: Mumbai
|
|
|
|
Thanks a lot for a quick reply,
Needed a YES/NO kind of anwer so that I can go ahead with coding...
Thank you again,
Avadhoot Jathar |
|
Back to top |
|
|
|