User Tools

Site Tools


cdc:nos2.source:nam5871:sssewp

SSSEWP

Table Of Contents

  • [00003] PROC SSSEWP(ACTIVE)
  • [00004] SSSEWP - EXECUTE WORKLIST PROGRAM.
  • [00008] EXECUTE WORKLIST PROGRAM.
  • [00039] PROC SSSCRR
  • [00040] PROC SSBCBW
  • [00041] PROC SSBFPB

Source Code

SSSEWP.txt
  1. *DECK SSSEWP
  2. USETEXT TEXTSS
  3. PROC SSSEWP(ACTIVE);
  4. # TITLE SSSEWP - EXECUTE WORKLIST PROGRAM. #
  5.  
  6. BEGIN # SSSEWP #
  7. #
  8. ** SSSEWP - EXECUTE WORKLIST PROGRAM.
  9. *
  10. * S. H. FISCHER. 81/10/19.
  11. *
  12. * THIS PROCEEDURE CHECKS FOR QUEUED WORKLIST REQUESTS AND IF ANY
  13. * ARE PRESENT THE HIGHEST PRIORITY ONE IS EXECUTED.
  14. *
  15. * PROC SSSEWP(ACTIVE)
  16. *
  17. * ENTRY:
  18. * NONE.
  19. *
  20. * EXIT:
  21. * ACTIVE = TRUE IF ONE *WLE* WAS EXECUTED.
  22. *
  23. * METHOD:
  24. * IF ANY WORKLIST REQUESTS ARE PRESENT, THE HIGHEST PRIORITY
  25. * REQUEST IS DETERMINED, CLEARED AND EXECUTED. ONLY ONE REQUEST
  26. * IS PERFORMED EACH CALL WITH THE FORMAL PARAMETER SET TRUE
  27. * ON RETURN IF A *WLE* WAS EXECUTED.
  28. *
  29. #
  30.  
  31.  
  32.  
  33.  
  34. #
  35. **** PROC SSSEWP XREF LIST.
  36. #
  37. XREF
  38. BEGIN
  39. PROC SSSCRR; # CALL REQUESTED ROUTINES #
  40. PROC SSBCBW; # CLEAR BIT IN WORD #
  41. PROC SSBFPB; # FIND PRIORITY BIT #
  42. END
  43. #
  44. ****
  45. #
  46.  
  47.  
  48.  
  49.  
  50. ITEM ACTIVE B; # FORMAL PARAMETER #
  51. ITEM I I; # SCRATCH CELL #
  52.  
  53.  
  54.  
  55.  
  56. ACTIVE = FALSE;
  57. IF WRQ EQ 0
  58. THEN
  59. RETURN;
  60. ELSE
  61. BEGIN
  62. SSBFPB( WRQ, I); # FIND HIGHEST PRIORITY WORKLIST REQUEST #
  63. SSBCBW( WRQ, I); # CLEAR THE REQUEST #
  64. I = I - 1; # ADJUST FOR BIAS IN WRQ #
  65. SSSCRR( WDF$RADD[I]);# EXECUTE WORKLIST REQUEST #
  66. ACTIVE = TRUE;
  67. RETURN;
  68. END
  69.  
  70.  
  71.  
  72.  
  73. END # SSSEWP #
  74. TERM
cdc/nos2.source/nam5871/sssewp.txt ยท Last modified: 2023/08/05 17:23 by Site Administrator