YRS - Years This operator takes the year portion of Operand 2 and stores result in Operand 1 Statement: Find the employee’s year of hire and store it into the Variable Year of Hire.
LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010 LET V YEAR OF HIRE YRS DB EEM.HIRE_DATE 99999 99999 EXIT 99999