Trying to correct the following logic so that I can see the correct figure from the input to the ouput. This is how the program is stated currently:
code]
01 IN-REC.
05 AMOUNT PIC S9(15)V9(02) COMP-3.
01 OUT-REC.
05 OUT-AMT PIC 9(9).
MOVE IN-REC to OUT-REC
[/code]
Would I change the OUT-REC to read:
05 OUT-AMT PIC9(15)V99?
code]
01 IN-REC.
05 AMOUNT PIC S9(15)V9(02) COMP-3.
01 OUT-REC.
05 OUT-AMT PIC 9(9).
MOVE IN-REC to OUT-REC
[/code]
Would I change the OUT-REC to read:
05 OUT-AMT PIC9(15)V99?