User Tools

Site Tools


cdc:nos2.source:nam5871:cssdns

CSSDNS

Table Of Contents

  • [00006] PROC CSSDNS
  • [00007] CSSDNS - DISPATCH NPU SUPERVISION SMS
  • [00011] DISPATCH NPU SUPERVISION SMS.
  • [00029] PROC SSTRQE
  • [00030] PROC CSSANS
  • [00031] PROC CSSTNS

Source Code

CSSDNS.txt
  1. *DECK CSSDNS
  2. USETEXT TEXTSS
  3. USETEXT TEXTCS
  4. USETEXT TXTAPSS
  5. USETEXT TXTSMCS
  6. PROC CSSDNS;
  7. # TITLE CSSDNS - DISPATCH NPU SUPERVISION SMS #
  8. BEGIN #CSSDNS #
  9.  
  10. #
  11. ** CSSDNS - DISPATCH NPU SUPERVISION SMS.
  12. *
  13. * C. BRION 82/02/13.
  14. *
  15. * THIS PROC REMOVES NPU SUPERVISION SMS FROM THE NPU QUEUE AND
  16. * DISPATCHES THE CONTROL TO THE APPROPRIATE PROC FOR PROCESSING.
  17. *
  18. * PROC CSSDNS
  19. *
  20. * ENTRY AT LEAST ONE NPU SUPERVISION SM RESIDES IN THE NPU
  21. * SUPERVISION QUEUE (NPUQ).
  22. *
  23. * EXIT ALL NPU QUEUE ENTRIES HAVE BEEN PROCESSED.
  24. *
  25. **** PROC CSSDNS XREF LIST.
  26. #
  27. XREF
  28. BEGIN
  29. PROC SSTRQE; # REMOVE QUEUE ENTRY #
  30. PROC CSSANS; # ACQUIRE NPU SUPERVISION #
  31. PROC CSSTNS; # TERMINATE NPU SUPERVISION #
  32. END
  33. #
  34. ****
  35. #
  36.  
  37.  
  38. ITEM I; # LOOP VARIABLE #
  39.  
  40. # MAIN PROC START #
  41.  
  42. FOR I = 0 WHILE NPUQL NQ 0 # WHILE NPUQ ENTRY AVAIL #
  43. DO
  44. BEGIN
  45. SSTRQE(P<NPUQ>,WCBUF[0],ABH[0],CSSM[0]); # REMOVE ENTRY #
  46.  
  47. #
  48. * IF A SUP/IN/R SM, ROUTE TO CSSANS TO PROCESS. OTHERWISE MUST
  49. * BE A SUP/CB SM AND CSSTNS SHOULD BE CALLED TO PROCESS.
  50. #
  51.  
  52. IF WCB$SMID[0] EQ SMID"SUPIN"
  53. THEN
  54. CSSANS;
  55. ELSE
  56. CSSTNS;
  57. END
  58.  
  59. END
  60.  
  61. TERM
  62.  
cdc/nos2.source/nam5871/cssdns.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator