View previous topic :: View next topic
|
Author |
Message |
madhand
New User
Joined: 04 May 2005 Posts: 10
|
|
|
|
Hi
I have an requirement in which I need to move packed values to Numeric fields..The resultant field should also be suppressed.
I tried thru a Easy trieve program..
The declaration are as below::
Input field:: AA-CIND-UNIT-PRICE 78 06 P
Output field:: AB-CIND-UNIT-PRICE 78 11 N 4 MASK 'ZZZZZZ9.9999'
there is an intermediate working storage field which is declared as
WS-CIND-UNIT-PRICE W 11 N.
Initially AA-CIND-UNIT-PRICE is moved to WS-CIND-UNIT-PRICE
Then, WS-CIND-UNIT-PRICE is moved to AB-CIND-UNIT-PRICE
But still AB-CIND-UNIT-PRICE is displayed as packed values..Pls help me out..
Thanks
Madhan. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Madhan,
why u gave o/p field as
Output field:: AB-CIND-UNIT-PRICE 78 11 N 4 MASK 'ZZZZZZ9.9999'
when input field variable defination is 06 p i think u need to give
zzzzzzzzzzz9. |
|
Back to top |
|
|
|