User Tools

Site Tools


cdc:nos2.source:nam5871:csedeq

CSEDEQ

Table Of Contents

  • [00006] PROC CSEDEQ
  • [00007] DISPATCH EVENT QUEUE ENTRY.
  • [00010] DISPATCH EVENT QUEUE ENTRY.
  • [00029] PROC CSESAM
  • [00030] PROC CSESCM
  • [00031] PROC CSESCS
  • [00032] PROC CSESCT
  • [00033] PROC CSESDA
  • [00034] PROC CSESDE
  • [00035] PROC CSESDM
  • [00036] PROC CSESDS
  • [00037] PROC CSESEC
  • [00038] PROC CSESES
  • [00039] PROC CSESIM
  • [00040] PROC CSESLL
  • [00041] PROC CSESLS
  • [00042] PROC CSESNS
  • [00043] PROC CSESOD
  • [00044] PROC CSESOM
  • [00045] PROC CSESSM
  • [00046] PROC CSESTR
  • [00047] PROC CSESTS
  • [00048] PROC CSESVC
  • [00049] PROC SSTRQE

Source Code

CSEDEQ.txt
  1. *DECK CSEDEQ
  2. USETEXT TEXTCS
  3. USETEXT TEXTSS
  4. USETEXT TXTAPSS
  5. USETEXT TXTSMCS
  6. PROC CSEDEQ;
  7. # TITLE - DISPATCH EVENT QUEUE ENTRY. #
  8. BEGIN
  9. #
  10. ** CSEDEQ - DISPATCH EVENT QUEUE ENTRY.
  11. *
  12. * D.K. ENDO 82/03/12
  13. *
  14. * THIS PROCEDURE REMOVES ENTRIES FROM THE EVENT QUEUE AND CALLS THE
  15. * APPROPRIATE PROC TO PROCESS THE ENTRY.
  16. *
  17. * PROC CSEDEQ
  18. *
  19. * ENTRY 1. THE EVENT QUEUE WITH ONE OR MORE ENTRIES.
  20. *
  21. * EXIT 2. EMPTY EVENT QUEUE.
  22. *
  23. #
  24. #
  25. **** PROC CSEDEQ - XREF LIST BEGINS.
  26. #
  27. XREF
  28. BEGIN
  29. PROC CSESAM; # SEND ALARM (AND ERROR LOG) MESSAGE #
  30. PROC CSESCM; # SEND (OPERATOR) CONTROL MESSAGE #
  31. PROC CSESCS; # SEND COUPLER STATUS #
  32. PROC CSESCT; # SEND COMMAND TEXT #
  33. PROC CSESDA; # SEND DI ACCOUNTING DATA #
  34. PROC CSESDE; # SEND DIAGNOSTICS END MESSAGE #
  35. PROC CSESDM; # SEND (STATUS) DONE MESSAGE #
  36. PROC CSESDS; # SEND DEBUG SIGNAL #
  37. PROC CSESEC; # SEND (DISABLED) ELEMENT COUNT #
  38. PROC CSESES; # SEND ELEMENT-S STATISTICS #
  39. PROC CSESIM; # SEND IDLE-DOWN MESSAGE #
  40. PROC CSESLL; # SEND LOGICAL LINK STATUS #
  41. PROC CSESLS; # SEND LINE STATUS #
  42. PROC CSESNS; # SEND NPU STATUS #
  43. PROC CSESOD; # SEND ONLINE DIAGNOSTIC #
  44. PROC CSESOM; # SEND OPERATOR MESSAGE #
  45. PROC CSESSM; # SEND SUPERVISION MESSAGE #
  46. PROC CSESTR; # SEND TRUNK STATUS #
  47. PROC CSESTS; # SEND TERMINAL STATUS #
  48. PROC CSESVC; # SEND ARCHETYPE SVC STATUS #
  49. PROC SSTRQE; # REMOVE QUEUE ENTRY #
  50. END
  51. #
  52. ****
  53. #
  54. ITEM I; # LOOP INDUCTION VARIABLE #
  55. ITEM J; # LOOP INDUCTION VARIABLE #
  56. CONTROL EJECT;
  57. # #
  58. # CSEDEQ CODE BEGINS HERE #
  59. # #
  60. #
  61. * FOR EACH ENTRY IN THE EVENT QUEUE, ROUTE IT TO THE APPROPRIATE
  62. * ROUTINE TO PROCESS THE ENTRY.
  63. #
  64. FOR I=0 WHILE EVQL GR 0
  65. DO
  66. BEGIN
  67. FOR J=0 STEP 1 UNTIL MSBFAPL - 1
  68. DO
  69. BEGIN
  70. MSG$WORD[J] = 0;
  71. END
  72.  
  73.  
  74. SSTRQE(P<EVQ>,WCBUF[0],ABH[0],CSSM[0]);
  75.  
  76.  
  77. IF WCB$SMID[0] EQ SMID"STUTE" OR
  78. WCB$SMID[0] EQ SMID"STUTEN" OR
  79. WCB$SMID[0] EQ SMID"MSGTEA"
  80. THEN
  81. BEGIN
  82. CSESTS;
  83. END
  84. ELSE IF WCB$SMID[0] EQ SMID"STULI" OR
  85. WCB$SMID[0] EQ SMID"STULIN" OR
  86. WCB$SMID[0] EQ SMID"MSGLIA"
  87. THEN
  88. BEGIN
  89. CSESLS;
  90. END
  91. ELSE IF WCB$SMID[0] EQ SMID"STUNP" OR
  92. WCB$SMID[0] EQ SMID"STUNPN"
  93. THEN
  94. BEGIN
  95. CSESNS;
  96. END
  97. ELSE IF WCB$SMID[0] EQ SMID"STULL" OR
  98. WCB$SMID[0] EQ SMID"STULLN" OR
  99. WCB$SMID[0] EQ SMID"MSGLLA"
  100. THEN
  101. BEGIN
  102. CSESLL;
  103. END
  104. ELSE IF WCB$SMID[0] EQ SMID"STUTR" OR
  105. WCB$SMID[0] EQ SMID"STUTRN"
  106. THEN
  107. BEGIN
  108. CSESTR;
  109. END
  110. ELSE IF WCB$SMID[0] EQ SMID"STUCP" OR
  111. WCB$SMID[0] EQ SMID"STUCPN"
  112. THEN
  113. BEGIN
  114. CSESCS;
  115. END
  116. ELSE IF WCB$SMID[0] EQ SMID"STUVC" OR
  117. WCB$SMID[0] EQ SMID"STUVCN"
  118. THEN
  119. BEGIN
  120. CSESVC;
  121. END
  122. ELSE IF WCB$SMID[0] EQ SMID"STUFIN"
  123. THEN
  124. BEGIN
  125. CSESDM;
  126. END
  127. ELSE IF WCB$SMID[0] EQ SMID"CMDTXT"
  128. THEN
  129. BEGIN
  130. CSESCT;
  131. END
  132. ELSE IF WCB$SMID[0] EQ SMID"OLDDT"
  133. THEN
  134. BEGIN
  135. CSESOD;
  136. END
  137. ELSE IF WCB$SMID[0] EQ SMID"OLDINN" OR
  138. WCB$SMID[0] EQ SMID"OLDINA"
  139. THEN
  140. BEGIN
  141. CSESDE;
  142. END
  143. ELSE IF WCB$SMID[0] EQ SMID"SUPINN" OR
  144. WCB$SMID[0] EQ SMID"SUPCB" OR
  145. WCB$SMID[0] EQ SMID"SUPINA" OR
  146. WCB$SMID[0] EQ SMID"SUPGO" OR
  147. WCB$SMID[0] EQ SMID"SUPGOI" OR
  148. WCB$SMID[0] EQ SMID"SUPINUN"
  149. THEN
  150. BEGIN
  151. CSESSM;
  152. END
  153. ELSE IF WCB$SMID[0] EQ SMID"SHUINS"
  154. THEN
  155. BEGIN
  156. CSESIM;
  157. END
  158. ELSE IF WCB$SMID[0] EQ SMID"CTRLOFF" OR
  159. WCB$SMID[0] EQ SMID"CTRLON"
  160. THEN
  161. BEGIN
  162. CSESCM;
  163. END
  164. ELSE IF WCB$SMID[0] EQ SMID"ALMOP" OR
  165. WCB$SMID[0] EQ SMID"LOGER"
  166. THEN
  167. BEGIN
  168. CSESAM;
  169. END
  170. ELSE IF WCB$SMID[0] EQ SMID"CDITE" OR
  171. WCB$SMID[0] EQ SMID"CDILI" OR
  172. WCB$SMID[0] EQ SMID"CDILL" OR
  173. WCB$SMID[0] EQ SMID"CDITR"
  174. THEN
  175. BEGIN
  176. CSESEC;
  177. END
  178. ELSE IF WCB$SMID[0] EQ SMID"MSGOP"
  179. THEN
  180. BEGIN
  181. CSESOM;
  182. END
  183. ELSE IF WCB$SMID[0] EQ SMID"STINP" OR
  184. WCB$SMID[0] EQ SMID"STITR" OR
  185. WCB$SMID[0] EQ SMID"STILI"
  186. THEN
  187. BEGIN
  188. CSESES;
  189. END
  190. ELSE IF WCB$SMID[0] EQ SMID"STIAP" OR
  191. WCB$SMID[0] EQ SMID"STITE"
  192. THEN
  193. BEGIN
  194. CSESDA;
  195. END
  196. ELSE
  197. #
  198. * IF THIS SM IS NOT RECOGNIZABLE OR IS AN ERR/LGL SM, THEN SEND AN
  199. * UNSOLICITED STATUS REPORT TO THE HOP AND THE CONTROLLING NOP, AND
  200. * MAKE AN ENTRY IN THE NETWORK LOG FILE TO RECORD THE ANOMALY.
  201. #
  202. BEGIN
  203. CSESDS;
  204. END
  205. END # FOR LOOP #
  206. RETURN; # **** RETURN **** #
  207. END # CSEDEQ #
  208. TERM
cdc/nos2.source/nam5871/csedeq.txt ยท Last modified: 2023/08/05 17:21 by Site Administrator