mcobolahan
Technical User
I'm back...
I have the following code, and receive "Operand must be a numberic data-name or a numeric literal" when compiled.
MOVE ER-PAY-RATE TO AC-GROSS-PAY
MULTIPLY ER-HOURS-W0RKED BY AC-GROSS-PAY
MOVE AC-GROSS-PAY TO EL-GROSS-PAY.
...and
MOVE ER-YTD TO AC-UPDATED-YTD
ADD AC-GROSS-PAY TO AC-UPDATED-YTD
MOVE AC-UPDATED-YTD TO EL-UPDATED-YTD.
...while I'm at it...
YTD must = zero suppression leading dollar digits, print decimal point, insert comma.
What PIC clause do I use/placed in input or output?
I have the following code, and receive "Operand must be a numberic data-name or a numeric literal" when compiled.
MOVE ER-PAY-RATE TO AC-GROSS-PAY
MULTIPLY ER-HOURS-W0RKED BY AC-GROSS-PAY
MOVE AC-GROSS-PAY TO EL-GROSS-PAY.
...and
MOVE ER-YTD TO AC-UPDATED-YTD
ADD AC-GROSS-PAY TO AC-UPDATED-YTD
MOVE AC-UPDATED-YTD TO EL-UPDATED-YTD.
...while I'm at it...
YTD must = zero suppression leading dollar digits, print decimal point, insert comma.
What PIC clause do I use/placed in input or output?