User Tools

Site Tools


cdc:nos2.source:nam5871:sssawr

SSSAWR

Table Of Contents

  • [00003] PROC SSSAWR (WNUM)
  • [00004] SSSAWR - ACCEPT WORKLIST REQUEST.
  • [00008] ACCEPT WORKLIST REQUEST.
  • [00038] PROC SSSAOR
  • [00039] PROC SSBSBW

Source Code

SSSAWR.txt
  1. *DECK SSSAWR
  2. USETEXT TEXTSS
  3. PROC SSSAWR (WNUM);
  4. # TITLE SSSAWR - ACCEPT WORKLIST REQUEST. #
  5.  
  6. BEGIN # SSSAWR #
  7. #
  8. ** SSSAWR - ACCEPT WORKLIST REQUEST.
  9. *
  10. * S. H. FISCHER. 81/09/02.
  11. *
  12. * THIS ROUTINE ACCEPTS WORKLIST REQUESTS.
  13. *
  14. * PROC SSSASWR (WNUM)
  15. *
  16. * ENTRY WNUM = WORKLIST NUMBER.
  17. *
  18. * EXIT WORKLIST REQUEST SCHEDULED.
  19. *
  20. * METHOD
  21. *
  22. * FETCH WORKLIST DEFINITION CORRESPONDING TO WORKLIST NUMBER.
  23. * IF TYPE 0 THEN SET CORRESPONDING BIT IN WORKLIST REQUEST QUEUE.
  24. * IF TYPE 1 THEN INCREMENT CELL AT ADDRESS IN WORKLIST DEF.
  25. * IF TYPE 2 THEN PASS WORKLIST DEFINITION TO OVERLAY REQUEST
  26. * ACCEPTER.
  27. *
  28. #
  29.  
  30.  
  31.  
  32.  
  33. #
  34. **** PROC SSSAWR XREF LIST.
  35. #
  36. XREF
  37. BEGIN
  38. PROC SSSAOR; # ACCEPT OVERLAY WORKLIST REQUEST #
  39. PROC SSBSBW; # SET BIT IN WORD #
  40. END
  41. #
  42. ****
  43. #
  44.  
  45.  
  46.  
  47.  
  48. BASED ARRAY CADD [00:00] S(1);
  49. BEGIN
  50. ITEM CADD$WD U(00,00,60);
  51. END
  52.  
  53. ITEM I I; # SCRATCH CELL #
  54. ITEM WNUM I; # WORKLIST NUMBER #
  55.  
  56.  
  57.  
  58.  
  59. IF WDF$TYPE[WNUM] EQ 0
  60. THEN
  61. BEGIN
  62. I = WNUM + 1;
  63. SSBSBW( WRQ, I ); # SET BIT CORRESPONDING TO WORKLIST REQ #
  64. RETURN;
  65. END
  66. ELSE IF WDF$TYPE[WNUM] EQ 1
  67. THEN
  68. BEGIN
  69. P<CADD> = WDF$CADD[WNUM];
  70. CADD$WD[0] = CADD$WD[0] + 1;
  71. RETURN;
  72. END
  73. ELSE # TYPE 2 OVERLAY REQUEST #
  74. BEGIN
  75. SSSAOR( WDF$OVN[WNUM], WDF$OEN[WNUM] ); # MAKE OVL REQUEST #
  76. RETURN;
  77. END
  78.  
  79. RETURN;
  80.  
  81.  
  82.  
  83.  
  84. END # SSSAWR #
  85. TERM
cdc/nos2.source/nam5871/sssawr.txt ยท Last modified: 2023/08/05 17:23 by Site Administrator