User Tools

Site Tools


cdc:nos2.source:nam5871:ns_n08

NS$N08

Table Of Contents

  • [00003] PROC NS$N08(ERRCODE)
  • [00005] NS$N08 - PROCESS NPU/DT/N (LOAD).
  • [00009] PROCESS NPU/DT/N (LOAD).
  • [00039] PROC NS$DBG
  • [00045] PROC NS$SLB
  • [00046] PROC NS$SLT
  • [00047] PROC NS$XPD

Source Code

NS$N08.txt
  1. *DECK NS$N08
  2. USETEXT NAT$NS
  3. PROC NS$N08(ERRCODE); # PROCESS NPU/DT/N (LOAD) #
  4.  
  5. # TITLE NS$N08 - PROCESS NPU/DT/N (LOAD). #
  6.  
  7. BEGIN # NS$N08 #
  8. #
  9. ** NS$N08 - PROCESS NPU/DT/N (LOAD).
  10. *
  11. * J.C. LEE 1981
  12. *
  13. * THIS ROUTINE PROCESS THE NPU/DT/N (LOAD).
  14. *
  15. * PROC NS$N08(ERRCODE)
  16. *
  17. * ENTRY:
  18. * NONE.
  19. *
  20. * EXIT:
  21. * ERRCODE.
  22. *
  23. * METHOD:
  24. * CLEAR ERRCODE.
  25. * CLEAR NPU/DT/R RETRY COUNT.
  26. * IF CURRENT DIRECTIVE DONE:
  27. * PROCESS NEXT XPCB DIRECTIVE.
  28. * ELSE
  29. * SEND LOAD BATCH.
  30. * START RESPONSE TIMER.
  31. *
  32. #
  33.  
  34. ITEM ERRCODE U; # ERROR CODE #
  35.  
  36. $BEGIN
  37. XREF
  38. BEGIN
  39. PROC NS$DBG; # TRACE CALL #
  40. END
  41. $END
  42.  
  43. XREF
  44. BEGIN
  45. PROC NS$SLB; # SEND LOAD BATCH #
  46. PROC NS$SLT; # START RESPONSE TIMER #
  47. PROC NS$XPD; # PROCESS NEXT XPCB DIRECTIVE #
  48. END
  49.  
  50. CONTROL EJECT;
  51.  
  52. $BEGIN
  53. NS$DBG("N08"); # TRACE PROCEDURE CALL #
  54. $END
  55.  
  56. ERRCODE = 0;
  57. NAT$RETRYS[0] = 0;
  58.  
  59. IF NAT$F$DP[0]
  60. THEN # CURRENT DIRECTIVE DONE #
  61. NS$XPD(ERRCODE); # PROCESS NEXT XPCB DIRECTIVE #
  62.  
  63. ELSE # MORE LOAD DATA TO SEND #
  64. BEGIN
  65. NS$SLB(NAT$LMNAME[0],NAT$NRRI[0],ERRCODE); # SEND LOAD BATCH #
  66.  
  67. IF ERRCODE EQ 0
  68. THEN # LOAD BATCH SENT #
  69. NS$SLT; # START RESPONSE TIMER #
  70. END
  71.  
  72. RETURN;
  73. END # NS$N08 #
  74. TERM
cdc/nos2.source/nam5871/ns_n08.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator