NN - Not In (List) #

The Not In (NN) operator checks to see if Operand 1 is NOT contained in the list found in Operand 2. See List Variable

Statement
If an employee is unionized, charge $2.50 for union dues (into PC 1017)

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010IFDBDUN.UNITE_CODE NN $L UC-NON UNION UNITS 00100 99999
00100LETPC1017EQN2.5 99999
99999 EXIT 99999

The UserCalc checks to see if the employee’s unit (Operand 1) is unionized by seeing that it is NOT included in the list of non-union units. If yes, the UserCalc goes to line 00100 to charge $5.


Notes #

Click to create a new notes page