If I have the following code and the WS-WORK-1-ND is pic 9(2) and contains 1 what is the value of WS-WORK3-ND?
DIVIDE WS-WORK-1-ND BY 2 GIVING WS-WORK-2-ND
REMAINDER WS-WORK-3-ND
I what I am assuming is that everytime I have an odd value, WS-WORK-3-ND will be 1 and when I have a even value, the result will be zero. Is that correct?
Thanks a lot!
Fabio