Angie,
You are checking a 2 digit year field against 1994. The 2 digit year will always be less.
Shouldn't you have something like this?
IF EMP-HIRE-DATE-YY < 94 AND EMP-HIRE-DATE > 20
COMPUTE IND-BONUS = EMPLOYEE-ANNUAL-SALARY * IND-BONUS
ELSE
MOVE ZERO TO IND-BONUS.
I stuck the >...
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.