I have 3 packed decimal fields.I am doing a computation among the 1st 2 and storing it in the 3rd field(R).
The result(Suppose R) of the computation is producing some negative results.
Then I am moving the value of the result field to a field of an output file whose data type is numeric(Suppose F), as follows,
But in place of 'MINUS SIGN' of result(R), I am getting 'GARBAGE VALUE' in my file.
Could anyone tell me why it is happening and what should I do to rectify it?