User Tools

Site Tools


cdc:nos2.source:nam5871:nvfuprp

NVFUPRP

Table Of Contents

  • [00005] PROC NVFUPRP
  • [00006] NVFUPRP - PERFORM NVF REPRIEVE PROCESSING
  • [00010] PERFORM NVF REPRIEVE PROCESSING.
  • [00047] PROC DFC
  • [00048] PROC SPIDA
  • [00054] SPIDBLK - SETPIDA PARAMETER BLOCK.

Source Code

NVFUPRP.txt
  1. *DECK NVFUPRP
  2. USETEXT TEXTNVF
  3. USETEXT TEXTSS
  4. USETEXT TXTANVF
  5. PROC NVFUPRP;
  6. # TITLE NVFUPRP - PERFORM NVF REPRIEVE PROCESSING #
  7.  
  8. BEGIN
  9. #
  10. ** NVFUPRP - PERFORM NVF REPRIEVE PROCESSING.
  11. *
  12. * C. J. BRION 83/12/12.
  13. *
  14. * THIS ROUTINE PERFORMS THE REPRIEVE PROCESSING FUNCTIONS
  15. * THAT ARE UNIQUE FOR THE NVF PROGRAM. CURRENTLY, ONLY A GLOBAL
  16. * SPIDA CALL IS MADE IN ORDER TO INSURE THAT ALL PIDS DEFINED
  17. * FOR THE NHP NETWORK ARE SET UNAVAILABLE.
  18. *
  19. * A CALL IS THEN MADE TO THE PAT1 ENTRY POINT OF THE SS ROUTINE
  20. * SSSPAT IN ORDER TO COMPLETE REPRIEVE PROCESSING.
  21. *
  22. *
  23. * PROC NVFUPRP
  24. *
  25. * ENTRY NONE.
  26. *
  27. * EXIT GLOBAL SPIDA CALL MADE AND CONTROL TRANSFERRED
  28. * TO SSSPAT ENTRY POINT PAT1.
  29. #
  30.  
  31. #
  32. **** PROC NVFUPRP XDEF LIST.
  33. #
  34. XDEF
  35. BEGIN
  36. LABEL NVFPRPE; # EXT LABEL FOR REPRIEVE #
  37. END
  38. #
  39. ****
  40. #
  41.  
  42. #
  43. **** PROC NVFUPRP - XREF LIST.
  44. #
  45. XREF
  46. BEGIN
  47. PROC DFC; # DECREMENT FAMILY COUNT #
  48. PROC SPIDA; # MACREL SETPIDA I/F ROUTINE #
  49. LABEL PAT1; # SSPAT ENTRY POINT PAT1 #
  50. END
  51.  
  52.  
  53. #
  54. ** SPIDBLK - SETPIDA PARAMETER BLOCK.
  55. *
  56. * THIS PARAMETER BLOCK DEFINES THE SETPIDA FUNCTION PARAMETERS
  57. * FOR SETTING ALL NHP CONNECTED PIDS UNAVAILABLE.
  58. #
  59.  
  60. ARRAY SPIDBLK [00:00] S(2);
  61. BEGIN
  62. ITEM SPI$FC U(00,00,12) = [1]; # SET NW STATUS FC #
  63. ITEM SPI$NP U(00,12,12) = [1]; # NUMBER PIDS = 1 #
  64. ITEM SPI$NW U(00,24,12) = [1]; # NHP NW ID #
  65. ITEM SPI$RES1 U(00,36,23) = [0]; # RESERVED #
  66. ITEM SPI$CBIT B(00,59,01) = [TRUE]; # COMPLETE BIT #
  67. ITEM SPI$PID C(01,00,03) = ["***"]; # GLOBAL ALL PIDS #
  68. ITEM SPI$RES2 U(01,18,38) = [0]; # RESERVED #
  69. ITEM SPI$ST U(01,56,04) = [0]; # NETWORK UNAVAIL STATUS #
  70. END
  71.  
  72. ITEM BLKADDR I; # SPIDA ADDRESS CELL #
  73. ITEM I I; # LOOP COUNT #
  74. ITEM PTR I; # POINTER OF IFMC TABLE #
  75.  
  76. CONTROL EJECT;
  77.  
  78. NVFPRPE:
  79.  
  80. #
  81. * ISSUE SETPIDA MACREL CALL USING THE SPIDBLK PARAMETER BLOCK.
  82. #
  83.  
  84. BLKADDR = LOC(SPIDBLK[0]);
  85. SPIDA(BLKADDR);
  86.  
  87. #
  88. * SEARCH IFMC TABLE, FOR EACH IFMC$COUNT GREATER THAN ZERO,
  89. * ISSUE CPM73B REQUESTS TO DECREMENT FAMILY COUNTS UNTIL
  90. * IFMC$COUNT EQUAL TO ZERO.
  91. #
  92.  
  93. FOR PTR=0 STEP 1 UNTIL (IFCLNGTH-1)
  94. DO
  95. BEGIN
  96. FOR I=0 STEP 1 UNTIL (IFMC$COUNT[PTR]-1)
  97. DO
  98. BEGIN
  99. CPB$WORD[0]=0;
  100. CPB$FNAM[0]=IFMC$FNAM[PTR];
  101. DFC(CPMBUF);
  102. END
  103. END
  104.  
  105. #
  106. * CALL SSSPAT ENTRY POINT PAT1 TO CONTINUE REPRIEVE PROCESSING.
  107. * THERE IS NO RETURN FROM SSSPAT.
  108. #
  109.  
  110. GOTO PAT1;
  111.  
  112. END # NVFUPRP #
  113. TERM
cdc/nos2.source/nam5871/nvfuprp.txt ยท Last modified: 2023/08/05 17:23 by Site Administrator