User Tools

Site Tools


cdc:nos2.source:nam5871:cssrss

CSSRSS

Table Of Contents

  • [00007] PROC CSSRSS
  • [00008] ROUTE SOLICITED STATUS.
  • [00011] ROUTE SOLICITED STATUS.
  • [00030] PROC CSSCSR
  • [00031] PROC SSTAQE
  • [00032] PROC SSTRQE

Source Code

CSSRSS.txt
  1. *DECK CSSRSS
  2. USETEXT TEXTCS
  3. USETEXT TEXTSS
  4. USETEXT TXTAPSS
  5. USETEXT TXTSUSS
  6. USETEXT TXTSMCS
  7. PROC CSSRSS;
  8. # TITLE - ROUTE SOLICITED STATUS. #
  9. BEGIN
  10. #
  11. ** CSSRSS - ROUTE SOLICITED STATUS.
  12. *
  13. * D.K. ENDO 82/04/12
  14. *
  15. * THIS PROCEDURE ROUTES THE SOLICITED STATUS SM-S TO THE EVENT QUEUE
  16. * WITH THE CN SET TO THE CURRENT STATUS OPERATOR FOR THE NPU.
  17. *
  18. * PROC CSSRSS
  19. *
  20. * ENTRY 1. ENTRY IN SOLICITED STATUS QUEUE.
  21. *
  22. * EXIT 2. ENTRY IN THE EVENT QUEUE.
  23. *
  24. #
  25. #
  26. **** PROC CSSRSS - XREF LIST BEGINS.
  27. #
  28. XREF
  29. BEGIN
  30. PROC CSSCSR; # COMPLETE STATUS REQUEST #
  31. PROC SSTAQE; # ACCEPT QUEUE ENTRY #
  32. PROC SSTRQE; # REMOVE QUEUE ENTRY #
  33. END
  34. #
  35. ****
  36. #
  37.  
  38.  
  39. ITEM I; # LOOP INDUCTION VARIABLE #
  40. ITEM J; # LOOP INDUCTTION VARIABLE #
  41. CONTROL EJECT;
  42. # #
  43. # CSSRSS CODE BEGINS HERE #
  44. # #
  45. #
  46. * FOR EACH ENTRY IN THE SOLICITED STATUS QUEUE: SEARCH THE NPUCS-S
  47. * FOR THE NPU THAT SENT THIS SM. IF FOUND, CHECK THE CURRENT STATUS
  48. * OPERATOR FOR THIS NPU, AND IF SET, CHECK THE PFC VALUE. IF THE
  49. * PFC IS -STU-, THEN SEND THE SM TO THE EVENT QUEUE WITH THE CN SET
  50. * TO THE OCB ORDINAL FOR THIS OPERATOR, OTHRWISE IT MUST BE A NORMAL
  51. * RESPONSE TO A STATUS REQUEST, SO CALL THE COMPLETE STATUS RESPONSE
  52. * PROC.
  53. #
  54. FOR I=0 WHILE SSQL GR 0
  55. DO
  56. BEGIN
  57. SSTRQE(P<SSQ>,WCBUF[0],ABH[0],CSSM[0]);
  58.  
  59.  
  60. FOR J=0 STEP 1 WHILE ABHSN[0] NQ NPU$NID[J] AND
  61. J LS CSNPCNT
  62. DO
  63. BEGIN
  64. END
  65. IF J LS CSNPCNT
  66. THEN
  67. BEGIN
  68. IF PFC[0] EQ STU
  69. THEN
  70. BEGIN
  71. IF NPU$OPST[J] GQ HOPORD$ AND
  72. NPU$OPST[J] LQ MAXACN$
  73. THEN
  74. BEGIN
  75. ABHCN[0] = NPU$OPST[J];
  76. SSTAQE(P<EVQ>,WCBUF[0],ABH[0],CSSM[0]);
  77. END
  78. END
  79. ELSE
  80. BEGIN
  81. CSSCSR;
  82. END
  83. END
  84. END
  85.  
  86.  
  87. RETURN; # **** RETURN **** #
  88. END # CSSRSS #
  89. TERM
cdc/nos2.source/nam5871/cssrss.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator