Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|
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.
00010 LET V YEAR OF HIRE YRS DB EEM.HIRE_DATE 99999
99999 EXIT 99999