User Tools

Site Tools


cdc:nos2.source:nam5871:csodoo

CSODOO

Table Of Contents

  • [00006] PROC CSODOO
  • [00007] DISPATCH OPERATOR OUTPUT.
  • [00010] DISPATCH OPERATOR OUTPUT.
  • [00030] PROC SSTAQE
  • [00031] PROC SSTRQE

Source Code

CSODOO.txt
  1. *DECK CSODOO
  2. USETEXT TEXTCS
  3. USETEXT TEXTSS
  4. USETEXT TXTAPSS
  5. USETEXT TXTSMCS
  6. PROC CSODOO;
  7. # TITLE - DISPATCH OPERATOR OUTPUT. #
  8. BEGIN
  9. #
  10. ** CSODOO - DISPATCH OPERATOR OUTPUT.
  11. *
  12. * D.K. ENDO 82/04/08
  13. *
  14. * THIS ROUTINE MAKES ENTRIES IN THE HISTORY BUFFER AND SENDS TEXT
  15. * OUT TO THE APPROPRIATE OPERATORS BASED ON THE GROUP NUMBER.
  16. *
  17. * PROC CSODOO
  18. *
  19. * ENTRY 1. ENTRIES IN THE OPERATOR RESPONSE QUEUE.
  20. *
  21. * EXIT 1. ENTRIES IN THE HISTORY BUFFER.
  22. * 2. TEXT SENT TO THE APPROPRIATE OPERATORS.
  23. *
  24. #
  25. #
  26. **** PROC CSODOO - XREF LIST BEGINS.
  27. #
  28. XREF
  29. BEGIN
  30. PROC SSTAQE; # ADD QUEUE ENTRY #
  31. PROC SSTRQE; # REMOVE QUEUE ENTRY #
  32. END
  33. #
  34. ****
  35. #
  36.  
  37. ITEM I; # LOOP INDUCTION VARIABLE #
  38.  
  39. CONTROL EJECT;
  40. # #
  41. # CSODOO CODE BEGINS HERE #
  42. # #
  43. #
  44. * WHILE THERE ARE ENTRIES IN THE OPERATOR RESPONSE QUEUE SEND THEM
  45. * TO THE APPROPRIATE AUDIENCE GROUP BASED ON THE GROUP NUMBER.
  46. #
  47. FOR I=0 WHILE ORQL GR 0
  48. DO
  49. BEGIN
  50. SSTRQE(P<ORQ>,WCBUF[0],ABH[0],CSSM[0]);
  51. WCB$WORD[1] = WCB$WORD[0];
  52. WCB$SMID[1] = SMID"TTEXT";
  53. WCB$IAF[1] = FALSE;
  54. ABHWORD[1] = ABHWORD[0];
  55. ABHADR[1] = HOPORD$;
  56. SSTAQE(P<CNQ>,WCBUF[1],ABH[1],CSSM[0]);
  57. END
  58.  
  59. RETURN; # **** RETURN **** #
  60. END # CSODOO #
  61. TERM
cdc/nos2.source/nam5871/csodoo.txt ยท Last modified: 2023/08/05 17:21 by Site Administrator