User Tools

Site Tools


cdc:nos2.source:nam5871:ns_n09

NS$N09

Table Of Contents

  • [00007] PROC NS$N09(ERRCODE)
  • [00009] NS$N09 - PROCESS NPU/DT/N (LOAD NDCB).
  • [00013] PROCESS NPU/DT/N (LOAD NDCB).
  • [00043] PROC NS$DBG
  • [00049] PROC NETPUT
  • [00050] PROC NS$FBH
  • [00051] PROC NS$XPD
  • [00052] PROC RETTSB

Source Code

NS$N09.txt
  1. *DECK NS$N09
  2. USETEXT NAT$NS
  3. USETEXT PFC$NS
  4. USETEXT SMB$NS
  5. USETEXT SMD$NS
  6.  
  7. PROC NS$N09(ERRCODE); # PROCESS NPU/DT/N (LOAD NDCB) #
  8.  
  9. # TITLE NS$N09 - PROCESS NPU/DT/N (LOAD NDCB). #
  10.  
  11. BEGIN # NS$N09 #
  12. #
  13. ** NS$N09 - PROCESS NPU/DT/N (LOAD NDCB).
  14. *
  15. * J.C. LEE 1981
  16. *
  17. * THIS ROUTINE PROCESS NPU/DT/N (LOAD NDCB).
  18. *
  19. * PROC NS$N09(ERRCODE)
  20. *
  21. * ENTRY:
  22. * NPU TABLE ORDINAL.
  23. *
  24. * EXIT:
  25. * ERRCODE.
  26. *
  27. * METHOD:
  28. * CLEAR ERRCODE.
  29. * CLEAR NPU/DT/R RETRY COUNT.
  30. * FORMAT NPU/DT/C.
  31. * SEND NPU/DT/C.
  32. * RELEASE TSB FOR DUMP NDCB RESPONSE.
  33. * UPDATE NPU-ACTIVITY TABLE (NAT)
  34. * PROCESS NEXT XPCB DIRECTIVE.
  35. *
  36. #
  37.  
  38. ITEM ERRCODE U; # ERROR CODE #
  39.  
  40. $BEGIN
  41. XREF
  42. BEGIN
  43. PROC NS$DBG; # TRACE PROCEDURE CALL #
  44. END
  45. $END
  46.  
  47. XREF
  48. BEGIN
  49. PROC NETPUT; # NETPUT #
  50. PROC NS$FBH; # FORMAT ABH #
  51. PROC NS$XPD; # PROCESS NEXT XPCB DIRECTIVE #
  52. PROC RETTSB; # RETURN TSB #
  53. END
  54.  
  55. CONTROL EJECT;
  56.  
  57. $BEGIN
  58. NS$DBG("N09"); # TRACE CALL #
  59. $END
  60.  
  61. ERRCODE = 0;
  62. NAT$RETRYS[0] = 0;
  63.  
  64. NS$FBH(LNPUDTSC,TRUE); # FORMAT ABH #
  65.  
  66. PFCSFC[0] = NPUDT; # FORMAT NPU/DT/C (STARTC) #
  67. NPUPO[0] = NAT$PN[0];
  68. NPUSP[0] = NAT$SPN[0];
  69. NPULS[0] = NAT$LSN[0];
  70. NPUCC[0] = CMDCODE"CC$STRTC";
  71.  
  72. NETPUT(ABH$WORD,SMB$BUFFER); # SEND STARTC COMMAND #
  73.  
  74. RETTSB(NAT$SMTSBN[0]); # RELEASE TSB FOR DUMP NDCB RESP#
  75. NAT$SMTSBN[0] = 0; # UPDATE NAT #
  76. NS$XPD(ERRCODE); # PROCESS NEXT XPCB DIRECTIVE #
  77.  
  78. RETURN;
  79. END # NS$N09 #
  80. TERM
cdc/nos2.source/nam5871/ns_n09.txt · Last modified: 2023/08/05 17:22 by Site Administrator