MTH - Months #

This operator takes the month portion of Operand 2 and stores the result in Operand 1.

Statement: Store the Month portion of the employee’s Seniority Date into Variable Month.

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010 LETVMONTHMTHDBEEM.SENIORITY_DATE 99999
99999 EXIT 99999
The result of the MTH Operator is a 3-character alpha value, NOT a number (i.e. Dec NOT 12)