User Tools

Site Tools


cdc:nos2.source:nam5871:nvficne

NVFICNE

Table Of Contents

  • [00006] PROC NVFICNE
  • [00011] COMPLETE NVF EXECUTION.
  • [00036] PROC DFC
  • [00037] PROC NETOFF
  • [00038] PROC NETCHEK
  • [00039] PROC RECALL
  • [00040] PROC SSSAWR
  • [00041] PROC SSSPSI

Source Code

NVFICNE.txt
  1. *DECK NVFICNE
  2. USETEXT TEXTNVF
  3. USETEXT TEXTSS
  4. USETEXT TXINNVF
  5. USETEXT TXTANVF
  6. PROC NVFICNE;
  7. # TITLE NVFICNE - COMPLETE NVF EXECUTION. #
  8.  
  9. BEGIN # NVFICNE #
  10. #
  11. ** NVFICNE - COMPLETE NVF EXECUTION.
  12. *
  13. * A. LIM. 82/07/15.
  14. *
  15. * THIS PROCEDURE_S MAIN FUNCTION IS TO COMPLETE NVF EXECUTION
  16. * UPON *OTQ* FLUSHED AND COMPLETE BIT IN *NSUP* WORD SET.
  17. *
  18. * PROC NVFICNE
  19. *
  20. * ENTRY NONE.
  21. *
  22. * EXIT NVF NETTED OFF.
  23. *
  24. * METHOD NET OFF NVF WHEN LAST DATA IN *OTQ* HAS FLUSHED AND
  25. * COMPLETE BIT IN *NSUP* WORD SET, ELSE RECALL AND
  26. * MAKE A WORKLIST REQUEST.
  27. #
  28.  
  29.  
  30. #
  31. **** PROC NVFICNE XREF LIST
  32. #
  33.  
  34. XREF
  35. BEGIN
  36. PROC DFC; # DECREMENT FAMILY COUNT #
  37. PROC NETOFF; # TERMINATE NVF #
  38. PROC NETCHEK; # CHECK WORKLIST PROCESSING COMPLETION #
  39. PROC RECALL; # PLACE NVF IN RECALL STATE #
  40. PROC SSSAWR; # ACCEPT A WORKLIST REQUEST #
  41. PROC SSSPSI; # PREPARE SS STATISTICS INFORMATION #
  42. END
  43.  
  44. ITEM I I; # LOOP INDEX #
  45. ITEM J I; # LOOP INDEX #
  46.  
  47. #
  48. ****
  49. #
  50.  
  51.  
  52.  
  53.  
  54.  
  55. CONTROL EJECT;
  56.  
  57. #
  58. * NET OFF NVF WHEN *OTQ* EMPTY AND COMPLETE BIT SET, ELSE RECALL
  59. * AND ISSUE A WORKLIST REQUEST FOR SELF.
  60. #
  61.  
  62. IF ((OTQLNGTH EQ 0) AND (NSUP$COMP[0]))
  63. THEN
  64. BEGIN
  65. NETCHEK;
  66.  
  67. $BEGIN
  68. SSSPSI;
  69. $END
  70.  
  71. #
  72. * BEFORE NET OFF, SEARCH IFMC TABLE, FOR EACH IFMC$COUNT GREATER
  73. * THAN ZERO, ISSUE CPM73B REQUESTS TO DECREMENT FAMILY COUNTS(
  74. * EACH REQUEST ONLY DECREMENT ONE FAMILY COUNT) UNTIL IFMC$COUNT
  75. * EQUAL TO ZERO.
  76. #
  77. FOR I=0 STEP 1 UNTIL (IFCLNGTH-1)
  78. DO
  79. BEGIN
  80. FOR J=0 STEP 1 UNTIL (IFMC$COUNT[I]-1)
  81. DO
  82. BEGIN
  83. CPB$WORD[0]=0;
  84. CPB$FNAM[0]=IFMC$FNAM[I];
  85. DFC(CPMBUF); # CPM73B REQUEST #
  86. END
  87. END
  88.  
  89. NETOFF;
  90. STOP;
  91. END
  92. ELSE
  93. BEGIN
  94. RECALL(0);
  95. SSSAWR(WWDF"NICNE");
  96. END
  97.  
  98. END # NVFICNE #
  99.  
  100. TERM
cdc/nos2.source/nam5871/nvficne.txt ยท Last modified: 2023/08/05 17:23 by Site Administrator