Hi, The following is my program:
In this above program the calculated value for C = -200,But when am moving this value to character field D, the value 000000020} is getting assigned. I need the value 0000000200 to be get assigned.
Can you please help me.
Thank you.
PHP Code:
D A S 10S 0 INZ(-6)
D B S 10S 0 INZ(3)
D C S 10S 0
D D S 10A
C EVAL C = 100 * (A/B)
C C DSPLY
C MOVE C D
C D DSPLY
C SETON LR
Can you please help me.
Thank you.
Comment