Hi, I am doing
01 val1 pic 99v99999 comp.
01 val2 pic 9(7).
01 val3 pic 9(7).
Move val1 to val2.
divide val2 by 100 giving val3.
Question:
When i do this i an not getting right values.
Value for val1 is 0.324
value of val2 i am getting is 03452345 it is garbage...
please help what happen when we move comp values.
01 val1 pic 99v99999 comp.
01 val2 pic 9(7).
01 val3 pic 9(7).
Move val1 to val2.
divide val2 by 100 giving val3.
Question:
When i do this i an not getting right values.
Value for val1 is 0.324
value of val2 i am getting is 03452345 it is garbage...
please help what happen when we move comp values.