MTH_OPERATOR
Back to current versionRestore this version

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. Line CMD OT Operand 1 OPER OT Operand2 OT Operand3 If Goto Else GoTo 00010 LET V MONTH MTH DB EEM.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)