This page (revision-4) was last changed on 26-Nov-2021 10:22 by jmyers

This page was created on 26-Nov-2021 10:22 by JMyers

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
4 26-Nov-2021 10:22 932 bytes jmyers to previous
3 26-Nov-2021 10:22 945 bytes JMyers to previous | to last
2 26-Nov-2021 10:22 750 bytes JMyers to previous | to last
1 26-Nov-2021 10:22 737 bytes JMyers to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 changed one line
LIKE - Is Like
!!LIKE - Is Like
At line 4 changed one line
Statement: If the employee is in any sales department, give a bonus of $500.00 (stored in PC 5000).
;Statement:If the employee is in any sales department, give a bonus of $500.00 (stored in PC 5000).
At line 6 changed 3 lines
00010 IF DB DDP.DEPARTMENT_CODE LIKE A SALES% 00100 99999
00100 LET PC 5000 EQ N 500 99999
99999 EXIT 99999
|00010 |IF|DB| DDP.DEPARTMENT_CODE|LIKE|A|SALES%| | |00100| 99999
|00100| LET| PC| 5000| EQ| N| 500| | |99999 |
|99999| EXIT| | | | | | | |99999 |
At line 10 changed one line
In the example shown above, if the employee’s department began with the string ‘Sales’, the UserCalc would go to line 100 to give the bonus. Acceptable department codes would be ‘Sales-001’ or ’SalesHeadOffice’ but not ‘GroupSales’.
In the example shown above, if the employee’s department began with the string ‘SALES’, the UserCalc would go to line 100 to give the bonus. Acceptable department codes would be ‘SALES-001’ or ’SALESHeadOffice’ but not ‘GroupSALES’.
----
![Notes|Edit:Internal.LIKE_OPERATOR]
[{InsertPage page='Internal.LIKE_OPERATOR' default='Click to create a new notes page'}]