User Tools

Site Tools


cdc:nos2.source:nam5871:nvfadqe

NVFADQE

Table Of Contents

  • [00007] PROC NVFADQE
  • [00008] NVFADQE DISPATCH A-A PROCESS QUEUE ENTRIES
  • [00013] DISPATCH A-A PROCESS QUEUE ENTRIES.
  • [00037] PROC SSTRQE
  • [00038] PROC NVFARVD
  • [00039] PROC NVFAACC
  • [00040] PROC NVFATAC
  • [00041] PROC SSTAQE
  • [00042] PROC NVFASPC

Source Code

NVFADQE.txt
  1. *DECK NVFADQE
  2. USETEXT TEXTNVF;
  3. USETEXT TEXTSS;
  4. USETEXT TXTANVF;
  5. USETEXT TXTAPSS;
  6. USETEXT TXTSUSS;
  7. PROC NVFADQE;
  8. # TITLE NVFADQE DISPATCH A-A PROCESS QUEUE ENTRIES #
  9.  
  10. BEGIN # NVFADQE #
  11.  
  12. #
  13. ** NVFADQE - DISPATCH A-A PROCESS QUEUE ENTRIES.
  14. *
  15. * C. BRION 82/06/03, 83/04/22, 83/12/12.
  16. *
  17. * THIS PROCEDURE IS THE MAIN DISPATCHER FOR THE A-A PROCESS.
  18. *
  19. * PROC NVFADQE
  20. *
  21. * ENTRY:
  22. * AAINPQ - A-A INPUT QUEUE ENTRIES.
  23. *
  24. * EXIT:
  25. * THE AAINPQ WILL BE EXHAUSTED OF ENTRIES.
  26. *
  27. #
  28.  
  29. CONTROL EJECT;
  30.  
  31. #
  32. **** PROC NVFADQE XREF LIST
  33. #
  34.  
  35. XREF
  36. BEGIN
  37. PROC SSTRQE; # SS-REMOVE QUEUE ENTRY #
  38. PROC NVFARVD; # A-A PROCESS VCB DATA #
  39. PROC NVFAACC; # PROCESS CR/ACC SM #
  40. PROC NVFATAC; # TERMINATE A-A CONNECTION #
  41. PROC SSTAQE; # SS-ALLOCATE QUEUE ENTRY #
  42. PROC NVFASPC; # SWITCH PENDING CONNECTIONS #
  43. END
  44.  
  45. #
  46. ****
  47. #
  48.  
  49. ITEM I I; # LOOP VAR #
  50.  
  51. #
  52. * AASWT - SWITCH FOR ROUTING THE A-A SMS.
  53. #
  54.  
  55. SWITCH AASWT:CTQSTAT
  56. AACRACC:SACC, # CR/ACC SM #
  57. AACRCB:SCB, # CR/CB SM #
  58. AACRRCN:SRCN, # CR/RCN SM #
  59. AACRIAP:SIAP, # CR/IAP SM #
  60. AACRRAP:SRAP, # CR/RAP SM #
  61. AANETN:SNETN, # NET/ON/N SM #
  62. AANETA:SNETA, # NET/ON/A SM #
  63. AAFAIAP:SFAI, # FAI/APP/N SM #
  64. AAINAC:SINA; # FC/INACT SM #
  65.  
  66.  
  67. #
  68. * DISPATCH ENTRIES FROM THE AAINPQ TO THE APPROPRIATE ROUTINE.
  69. #
  70.  
  71. FOR I = 0 WHILE AAQL NQ 0
  72. DO
  73. BEGIN
  74. SSTRQE(P<AAINPQ>,WCBUF,ABHBUF,MSGBUF);
  75. GOTO AASWT[WCB$SMID[0]];
  76.  
  77. AACRACC:
  78. NVFAACC;
  79. GOTO ENDCASE;
  80.  
  81. AACRCB:
  82. AACRRCN:
  83. AAINAC:
  84. NVFATAC;
  85. GOTO ENDCASE;
  86.  
  87. AACRIAP:
  88. AAFAIAP:
  89. SSTAQE(P<OUTSMQ>,WCBUF,ABHBUF,MSGBUF);
  90. GOTO ENDCASE;
  91.  
  92. AACRRAP:
  93. SSTAQE(P<INSMQ>,WCBUF,ABHBUF,MSGBUF);
  94. GOTO ENDCASE;
  95. AANETN:
  96. AANETA:
  97. NVFASPC;
  98. GOTO ENDCASE;
  99.  
  100. ENDCASE:
  101. END
  102.  
  103. #
  104. * CALL PROC NVFARVD TO PROCESS ENTRIES FROM THE VCB RECEIVE DATA
  105. * QUEUE - AAVCBRDQ.
  106. #
  107.  
  108. FOR I = 0 WHILE AAVCLNGTH NQ 0
  109. DO
  110. BEGIN
  111. SSTRQE(P<AAVCBRDQ>,WCBUF,ABHBUF,MSGBUF);
  112. NVFARVD;
  113. END
  114.  
  115. #
  116. * REMOVE QUEUE ENTRIES FROM AALPID RETURN FUNCTION QUEUE AND
  117. * ENTER INTO THE LPIDFXQ SO AS TO CAUSE THE OUTCALL REQUEST
  118. * OVERLAY TO BE LOADED IF NEEDED AND NVFAIAP EXECUTED.
  119. #
  120. FOR I = 0 WHILE AALPIDL NQ 0
  121. DO
  122. BEGIN
  123. SSTRQE(P<AALPID>,WCBUF,ABHBUF,MSGBUF);
  124. SSTAQE(P<LPIDFXQ>,WCBUF,ABHBUF,MSGBUF);
  125. END
  126.  
  127. END # NVFADQE #
  128. TERM
cdc/nos2.source/nam5871/nvfadqe.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator