FREQ_COMMAND
Back to current versionRestore this version

FREQ - Frequency Check#

This command verifies that the pay for which the UserCalc is being performed meets all the criteria defined by the Processing Frequency (IPPF form) named in Operand1.

i.e. A specific pay period is the first of the month, all employees within a specified union will have a union deduction of 3.25 on their pay.

This command has a true path (If Goto) and a false path (Else Goto).

Statement: In the example below, the system will check to see if the pay passes the processing frequency (1st of Month). If so there is then a check if the employee is in a union. If the employee is, the command will create a union deduction (3.25), which is stored in PC 200.

LineCMDOTOperand 1OPEROTOperand2OTOperand3If GotoElse GoTo
00010 FREQ$F1ST OF MONTH 0002099999
00020 IFDBDUN.UNITS_CODEIN$LUNIONIZED UNITS 0010099999
00100 LETPC200EQN3.25 99999
99999 EXIT 99999