cdc:nos2.source:nam5871:ns_n09
Table of Contents
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
- *DECK NS$N09
- USETEXT NAT$NS
- USETEXT PFC$NS
- USETEXT SMB$NS
- USETEXT SMD$NS
- PROC NS$N09(ERRCODE); # PROCESS NPU/DT/N (LOAD NDCB) #
- # TITLE NS$N09 - PROCESS NPU/DT/N (LOAD NDCB). #
- BEGIN # NS$N09 #
- #
- ** NS$N09 - PROCESS NPU/DT/N (LOAD NDCB).
- *
- * J.C. LEE 1981
- *
- * THIS ROUTINE PROCESS NPU/DT/N (LOAD NDCB).
- *
- * PROC NS$N09(ERRCODE)
- *
- * ENTRY:
- * NPU TABLE ORDINAL.
- *
- * EXIT:
- * ERRCODE.
- *
- * METHOD:
- * CLEAR ERRCODE.
- * CLEAR NPU/DT/R RETRY COUNT.
- * FORMAT NPU/DT/C.
- * SEND NPU/DT/C.
- * RELEASE TSB FOR DUMP NDCB RESPONSE.
- * UPDATE NPU-ACTIVITY TABLE (NAT)
- * PROCESS NEXT XPCB DIRECTIVE.
- *
- #
- ITEM ERRCODE U; # ERROR CODE #
- $BEGIN
- XREF
- BEGIN
- PROC NS$DBG; # TRACE PROCEDURE CALL #
- END
- $END
- XREF
- BEGIN
- PROC NETPUT; # NETPUT #
- PROC NS$FBH; # FORMAT ABH #
- PROC NS$XPD; # PROCESS NEXT XPCB DIRECTIVE #
- PROC RETTSB; # RETURN TSB #
- END
- CONTROL EJECT;
- $BEGIN
- NS$DBG("N09"); # TRACE CALL #
- $END
- ERRCODE = 0;
- NAT$RETRYS[0] = 0;
- NS$FBH(LNPUDTSC,TRUE); # FORMAT ABH #
- PFCSFC[0] = NPUDT; # FORMAT NPU/DT/C (STARTC) #
- NPUPO[0] = NAT$PN[0];
- NPUSP[0] = NAT$SPN[0];
- NPULS[0] = NAT$LSN[0];
- NPUCC[0] = CMDCODE"CC$STRTC";
- NETPUT(ABH$WORD,SMB$BUFFER); # SEND STARTC COMMAND #
- RETTSB(NAT$SMTSBN[0]); # RELEASE TSB FOR DUMP NDCB RESP#
- NAT$SMTSBN[0] = 0; # UPDATE NAT #
- NS$XPD(ERRCODE); # PROCESS NEXT XPCB DIRECTIVE #
- RETURN;
- END # NS$N09 #
- TERM
cdc/nos2.source/nam5871/ns_n09.txt · Last modified: 2023/08/05 17:22 by Site Administrator