EQ - Quarter To Date Element Value#

EQ (Quarter to Date Element Value) refers to the value held in the element named for the calendar quarter to date. This includes only closed pays in history, and does not include the current pay run value of the element.

Statement: Let Pension hours be equal to quarter-to-date hours worked then exit.

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010 LET PC 296 EQ EQ REG HOURS 99999
99999 EXIT 99999

Statement: Let Pension hours be equal to total quarter-to-date hours (quarter-to-date plus current pay period) worked then exit.

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010 LET V QUARTER END EY $S PERIOD-START-DATE A +3M 00020
00020LETVHOURS TO QUARTER ENDELPLETREG HOURSVQUARTER END00030
00030 LET PC 296 ADD EQ REG HOURS V HOURS TO QUARTER END 99999
99999 EXIT 99999