User Tools

Site Tools


cdc:nos2.source:nam5871:nvfsdqe

NVFSDQE

Table Of Contents

  • [00006] PROC NVFSDQE
  • [00007] NVFSDQE - DISPATCH QUEUE ENTRIES FOR MAINTAIN-APPL-STATUS PROC
  • [00011] DISPATCH QUEUE ENTRIES FOR MAINTAIN-APPL-STATUS PROCESS.
  • [00040] PROC NVFSNOF
  • [00041] PROC NVFSNON
  • [00042] PROC NVFSTIM
  • [00043] PROC SSTRQE

Source Code

NVFSDQE.txt
  1. *DECK NVFSDQE
  2. USETEXT TEXTNVF
  3. USETEXT TEXTSS
  4. USETEXT TXSANVF
  5.  
  6. PROC NVFSDQE;
  7. # TITLE NVFSDQE - DISPATCH QUEUE ENTRIES FOR MAINTAIN-APPL-STATUS PROC #
  8.  
  9. BEGIN # NVFSDQE #
  10. #
  11. ** NVFSDQE - DISPATCH QUEUE ENTRIES FOR MAINTAIN-APPL-STATUS PROCESS.
  12. *
  13. * E. THAVIKULWAT 81/12/18
  14. *
  15. * THIS PROCEDURE IS THE MAIN MODULE FOR MAINTAIN STATUS OF
  16. * APPLICATION PROCESS AND IS CALLED INTO EXECUTION WHENEVER THERE IS
  17. * DATA IN THE *ASQ* QUEUE. THE PROCEDURE'S MAIN FUNCTION IS TO
  18. * ROUTE EACH ENTRY IN ITS INPUT QUEUE TO THE APPROPRIATE ROUTINES.
  19. *
  20. * PROC NVFSDQE
  21. *
  22. * ENTRY:
  23. * ASQ - APPLICATION STATUS QUEUE
  24. *
  25. * EXIT:
  26. * ALL QUEUE ENTRIES PROCESSED.
  27. *
  28. * METHOD:
  29. * CALL *SSTRQE* TO COPY THE FIRST ENTRY IN THE QUEUE INTO THE
  30. * WORKING BUFFER. EACH ENTRY IS THEN ROUTED TO THE APPROPRIATE
  31. * ROUTINE TO BE PROCESSED.
  32. #
  33.  
  34. #
  35. **** PROC NVFSDQE - XREF LIST.
  36. #
  37.  
  38. XREF
  39. BEGIN
  40. PROC NVFSNOF; # PROCESS FAIL/APPL AND NET/OFF SM #
  41. PROC NVFSNON; # PROCESS NET/ON SM #
  42. PROC NVFSTIM; # PROCESS TIMEOUT OF REQUEST STARTED APPL #
  43. PROC SSTRQE; # TRANSFER QUEUE ENTRY TO FIXED BUFFER #
  44. END
  45.  
  46. #
  47. ****
  48. #
  49.  
  50. ITEM I I; # LOOP VARIABLE #
  51. ITEM SMID S:ASQSTAT; # SUBSCRIPT FOR GOTO SWITCH #
  52.  
  53. SWITCH SASWT:ASQSTAT
  54. LLFAIL : SFAIL, # LABEL FOR FAIL/APPL SM #
  55. LLNETON : SNETON, # LABEL FOR NET/ON SM #
  56. LLNETOF : SNETOFF, # LABEL FOR NET/OFF SM #
  57. LLTIME : TIMEOUT; # LABEL FOR TIMEOUT PROCESSING #
  58. #
  59. * DISPATCH ENTRIES FROM *ASQ* TO APPROPRIATE ROUTINES.
  60. #
  61. FOR I = 0 WHILE ASQLNGTH NQ 0
  62. DO
  63. BEGIN
  64. SSTRQE(P<ASQ>,WCBUF,ABHBUF,MSGBUF); # TRANSFER TO FIX BUFFER #
  65. SMID = WCB$SMID[0]; # GET INTERNAL SM IDENTIFIER #
  66. GOTO SASWT[SMID];
  67.  
  68. LLFAIL: # FAIL/APPL SM #
  69. LLNETOF: # NET/OFF SM #
  70. NVFSNOF; # PROCESS FAIL/APPL, NET/OFF SM #
  71. GOTO ENDSAS;
  72.  
  73. LLNETON: # NET/ON SM #
  74. NVFSNON; # PROCESS NET/ON SM #
  75. GOTO ENDSAS;
  76.  
  77. LLTIME:
  78. NVFSTIM; # TIMEOUT PROCESSING #
  79. GOTO ENDSAS;
  80.  
  81.  
  82. ENDSAS: # END OF CASE #
  83. END
  84.  
  85. END # END NVFSDQE #
  86.  
  87. TERM
cdc/nos2.source/nam5871/nvfsdqe.txt ยท Last modified: 2023/08/05 17:23 by Site Administrator