User Tools

Site Tools


cdc:nos2.source:nam5871:csoroo

CSOROO

Table Of Contents

  • [00005] PROC CSOROO
  • [00006] CSOROO - ROUTE OPERATOR OUTPUT
  • [00011] ROUTE OPERATOR OUTPUT.
  • [00035] PROC SSTRQE
  • [00036] PROC SSTAQE

Source Code

CSOROO.txt
  1. *DECK CSOROO
  2. USETEXT TEXTCS;
  3. USETEXT TEXTSS;
  4. USETEXT TXTAPSS;
  5. PROC CSOROO;
  6. # TITLE CSOROO - ROUTE OPERATOR OUTPUT #
  7.  
  8. BEGIN # CSOROO #
  9.  
  10. #
  11. ** CSOROO - ROUTE OPERATOR OUTPUT.
  12. *
  13. * C. BRION 82/05/12.
  14. *
  15. * THIS PROCEDURE EXTRACTS ENTRIES FROM THE OPERATOR DIRECTED EVENT
  16. * QUEUE AND THEN SETS UP THE ENTRY FOR QUEUING TO THE CONNECTION
  17. * TRAFFIC QUEUE.
  18. *
  19. * PROC CSOROO
  20. *
  21. * ENTRY
  22. * ENTRIES IN THE OPERATOR DIRECTED EVENT QUEUE(ODEQ).
  23. *
  24. * EXIT
  25. * TERMINAL TEXT TO THE CONNECTION TRAFFIC QUEUE(CNQ).
  26. *
  27. #
  28.  
  29. #
  30. **** PROC CSOROO XREF LIST.
  31. #
  32.  
  33. XREF
  34. BEGIN
  35. PROC SSTRQE; # SS-REMOVE QUEUE ENTRY #
  36. PROC SSTAQE; # SS-ACCEPT QUEUE ENTRY #
  37. END
  38. #
  39. ****
  40. #
  41.  
  42. ITEM I; # LOOP VAR #
  43.  
  44.  
  45.  
  46.  
  47. #
  48. * EXECUTION CONTINUES UNTIL OPERATOR DIRECTED EVENT QUEUE IS
  49. * EMPTIED.
  50. #
  51.  
  52. FOR I = 0 STEP 1 WHILE ODEQL NQ 0
  53. DO
  54. BEGIN
  55. SSTRQE(P<ODEQ>,WCBUF[0],ABH[0],MSGBUF[0]);
  56.  
  57. WCB$IAF[0] = FALSE; # RESET INPUT ALLOWED #
  58. WCB$SMID[0] = SMID"TTEXT"; # SET MSG ID #
  59.  
  60. #
  61. * SEND TO CONNECTION TRAFFIC QUEUE.
  62. #
  63.  
  64. SSTAQE(P<CNQ>,WCBUF[0],ABH[0],MSGBUF[0]);
  65. END
  66.  
  67. END # CSSROO #
  68. TERM
cdc/nos2.source/nam5871/csoroo.txt ยท Last modified: 2023/08/05 17:21 by Site Administrator