View previous topic :: View next topic
|
Author |
Message |
rohitpb
New User
Joined: 04 Jan 2006 Posts: 5
|
|
|
|
Hi,
I have a file with a field having 8 P 2. This file is to FTPd on a server and so need to convert this packed decimal to normal format.
Hence i moved this field to another field having 15 N 2.
But I get a Data Exception error. Cant we move Packed Decimal to Zoned Decimal format? If not, how should I proceed?
Thanks in advance.
Rohit. |
|
Back to top |
|
|
prakash271082
New User
Joined: 09 Sep 2005 Posts: 53
|
|
|
|
Hi,
" Move " will not be satisfying your requirement.
Try this one,
Ex:
var1 8 p 2
var2 15 n 2
var2 EQ var1
This will work for you.
Hope this helps. |
|
Back to top |
|
|
rohitpb
New User
Joined: 04 Jan 2006 Posts: 5
|
|
|
|
Thanks for the reply..
I already solved it by using
field2 = field1 i.e. assignment operator. |
|
Back to top |
|
|
|