Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. 120-classify-employees.
  2. if (if_education-code equals "G") then
  3. if if-years-worked > constant-fifteen then
  4. move "ANALYST" to pg-position
  5. move "11.8%" to increase-percent
  6. move increase-percent to pg-increase
  7. add 1 to ec2-analyst
  8. end-if
  9. end-if
  10.  
  11. if (if_education-code equals "G") then
  12. if if-years-worked >= constant-seven and
  13. if-years-worked <= constant-fifteen then
  14. move "SEN PROG" to pg-position
  15. move "8.3%" to increase-percent
  16. move increase-percent to pg-increase
  17. add 1 to ec2-sen-prog
  18. end-if
  19. end-if
  20.  
  21. if (if_education-code equals "N") then
  22. if if-years-worked > constant-ten then
  23. move "PROG" to pn-position
  24. move "6.7%" to increase-percent
  25. move increase-percent to pn-increase
  26. add 1 to ec2-prog
  27. end-if
  28. end-if
  29.  
  30. if (if_education-code equals "G") then
  31. if if-years-worked < constant-seven and
  32. if-years-worked > constant-two then
  33. move "PROG" to pg-position
  34. move "6.7%" to increase-percent
  35. move increase-percent to pg-increase
  36. add 1 to ec2-prog
  37. end-if
  38. end-if
  39.  
  40. if (if_education-code equals "N") then
  41. if if-years-worked <= constant-ten and if-years-worked
  42. > constant-four then
  43. move "JR PROG" to pg-position
  44. move "4.2%" to increase-percent
  45. move increase-percent to pn-increase
  46. add 1 to ec2-jr-prog
  47. end-if
  48. end-if
  49.  
  50. if (if_education-code equals "N") then
  51. if if-years-worked <= constant-four then
  52. move spaces to pn-position
  53. move "0%" to increase-percent
  54. move increase-percent to pn-increase
  55. move 1 to ec2-unclassified
  56. end-if
  57. end-if
  58.  
  59. if (if_education-code equals "G") then
  60. if if-years-worked <= constant-two then
  61. move spaces to pg-position
  62. move "0%" to increase-percent
  63. move increase-percent to pg-increase
  64. move 1 to ec2-unclassified
  65. end-if
  66. end-if.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement