View previous topic :: View next topic
|
Author |
Message |
hariharan4
New User
Joined: 06 Aug 2008 Posts: 22 Location: chennai
|
|
|
|
Hi
I need to move a packed decimal declared in easytrieve as 6 p 2.
I declared a numeric variable as 11 N 2. when i'm trying to move a -ve value in packed decimal to the above numeric item i'm getting junk value at the last byte..
please help in this regard |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
Did you use a MOVE statement or an ASSIGN statement? If a move, you might have better luck with assign. Easytrieve moves do not work the same way as COBOL moves. Try B = A instead of MOVE A TO B. |
|
Back to top |
|
|
hariharan4
New User
Joined: 06 Aug 2008 Posts: 22 Location: chennai
|
|
|
|
I used the assignment operation to move using = |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
My Easytrieve is a bit rusty, but can you post your exact code using BBCode? |
|
Back to top |
|
|
|