I have to calculate the seniority of an individual as of the year 1995.
Hence, if Bob was hired in 2/18/79, his seniority would be (95-79).
How can I subtract the year field from 95 if the input is in the form: XX/XX/XX?
*The calculated result can only be 2 bytes long
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.