User Tools

Site Tools


cdc:nos2.source:nam5871:ndltblt

NDLTBLT

Table Of Contents

  • [00002] PROC NDLTBLT

Source Code

NDLTBLT.txt
  1. *DECK NDLTBLT
  2. PROC NDLTBLT;
  3. BEGIN
  4. CONTROL STEXT;
  5. DEF MAXDT # 2000 #; # INITIAL SIZE OF DEFINE TABLE IN CP WORDS#
  6. DEF MAXLT # 5000 #; # INITIAL SIZE OF LABEL TABLE IN CP WORDS #
  7. DEF MAXPAD # 64 #; # MAXIMUM PAD PARM LENGTH IN 6-BIT BYTES #
  8. DEF MAXPADW # 5 #; # MAXIMUM PAD LENGTH: TRUNC( 64*4 / 60)+1 #
  9. DEF MAXUDATA # 256 #; # MAX UDATA PARM LENGTH IN 6-BIT BYTES #
  10. DEF MAXUDATW # 18 #; # MAX UDATA LENGTH: TRUNC(256*4 / 60)+1 #
  11. DEF MXATAB # 100 #; # INITIAL SIZE OF APPL TABLE #
  12. DEF MXCM # 50 #; # INITIAL SIZE OF CONSOLE MAP TABLE #
  13. DEF MXCOUP # 33 #; # INITIAL SIZE OF COUPLER TABLE #
  14. DEF MXDXREF # 2000 #; # INITIAL SIZE OF DEVICE XREF TABLE #
  15. DEF MXHT # 20 #; # INITIAL SIZE OF HOST TABLE BUFFER #
  16. DEF MXITAB # 100 #; # INITIAL SIZE OF INCALL TABLE #
  17. DEF MXLCR # 25 #; # INITIAL SIZE OF LINE CONFIG INDEX #
  18. DEF MXLCRREC # 20 #; # INITIAL SIZE OF LINE CONFIG RECORD #
  19. DEF MXLC # 20 #; # INITIAL SIZE OF LINE$CON$REC BUFFER #
  20. DEF MXLINDX # 4000 #; # INITIAL SIZE OF LINE REC INDEX #
  21. DEF MXLKT # 20 #; # INITIAL SIZE OF LINK TABLE BUFFER #
  22. DEF MXLLINK # 255 #; # INITIAL SIZE OF LLT AND LNT #
  23. DEF MXLREC # 200 #; # INITIAL SIZE OF LINE RECORD AREA #
  24. DEF MXLXREF # 800 #; # INITIAL SIZE OF LINE XREF TABLE #
  25. DEF MXNCB # 200 #; # INITIAL SIZE OF NCB BUFFER #
  26. DEF MXNFINDX # 50 #; # INITIAL SIZE OF NCF INDEX #
  27. DEF MXOTAB # 100 #; # INITIAL SIZE OF OUTCALL TABLE #
  28. DEF MXPLINK # 100 #; # INITIAL SIZE OF PHYSICAL LINK TABLE #
  29. DEF MXPPTAB # 2 #; # INITIAL SIZE OF PATHPID TABLE #
  30. DEF MXSLINK # 100 #; # INITIAL SIZE OF SUPLINK TABLE #
  31. DEF MXSTBL # 60 #; # INITIAL SIZE OF STATEMENT TABLE #
  32. DEF MXSUPT # 10 #; # INITIAL SIZE OF SUPERVISOR TABLE BUFFER #
  33. DEF MXTBUFF # 20 #; # INITIAL SIZE OF TERMINAL STMT BUFFER #
  34. DEF MXTNI # 20 #; # INITIAL SIZE OF TNI TABLE #
  35. DEF MXTNN # 40 #; # INITIAL SIZE OF TNN TABLE #
  36. DEF MXUTAB # 100 #; # INITIAL SIZE OF USER TABLE #
  37. DEF MXNPU # 145 #; # INITIAL SIZE OF NPU TABLE #
  38. DEF MXTBLS # 32 #; # TOTAL NUMBER OF TABLES, INCLUDING -TEND-#
  39. DEF ATENTSZ # 1 #; # APPL TABLE ENTRY SIZE #
  40. DEF CTENTSZ # 1 #; # COUPLER TABLE ENTRY SIZE #
  41. DEF DCENTSZ # 1 #; # DEVICE XREF TABLE ENTRY SIZE #
  42. DEF HTENTSZ # 4 #; # HOST TABLE ENTRY SIZE #
  43. DEF LCRENTSZ # 2 #; # LINE CONFIGURE INDEX ENTRY SIZE #
  44. DEF LCTENTSZ # 1 #; # LINE XREF TABLE ENTRY SIZE #
  45. DEF LIENTSZ # 1 #; # LINE RECORD INDEX ENTRY SIZE #
  46. DEF LKTENTSZ # 1 #; # LINK TABLE ENTRY SIZE #
  47. DEF LLENTSZ # 2 #; # LOGLINK XREF TABLE ENTRY SIZE #
  48. DEF LLTENTSZ # 1 #; # LOGICAL LINK TABLE ENTRY SIZE #
  49. DEF LNTENTSZ # 1 #; # LOGLINK NODE TABLE ENTRY SIZE #
  50. DEF LTENTSZ # 1 #; # LABEL TABLE ENTRY SIZE #
  51. DEF NCFENTSZ # 2 #; # NCF INDEX ENTRY SIZE #
  52. DEF NPENTSZ # 2 #; # NPU XREF TABLE ENTRY SIZE #
  53. DEF NTENTSZ # 6 #; # NPU TABLE ENTRY SIZE #
  54. DEF PAD$FN$FIRST #113#;# FIRST FN VALUE FOR SEQUENCE OF PAD 8TETS#
  55. DEF PLENTSZ # 2 #; # PHYSICAL LINK XREF TABLE ENTRY SIZE #
  56. DEF RTENTSZ # 1 #; # ROUTING TABLE ENTRY SIZE #
  57. DEF SLTENTSZ # 1 #; # SUPLINK TABLE ENTRY SIZE #
  58. DEF TNIENTSZ # 1 #; # TNI TABLE ENTRY SIZE #
  59. DEF TNNENTSZ # 2 #; # TNN TABLE ENTRY SIZE #
  60. DEF STENTSZ # 1 #; # SUPERVISOR TABLE ENTRY SIZE #
  61. DEF UTENTSZ # 4 #; # USER TABLE ENTRY SIZE #
  62. COMMON TABLES;
  63. BEGIN
  64. ITEM NTAB; # TOTAL NUMBER OF TABLES #
  65. ITEM MEML; #BEGINNING MEMORY LOCATION OF MANAGED AREA#
  66. ITEM FL; # CURRENT TOTAL FIELD LENGTH #
  67. BASED ARRAY APPL$TABLE [0:0] S(1);
  68. BEGIN
  69. *CALL ATLCF
  70. END
  71. ITEM AT$LENG; # APPLICATION TABLE LENGTH #
  72. BASED ARRAY CONSOLE$MAP [0:0] S(1);
  73. BEGIN # CONSOLE DEFINED BIT MAP #
  74. ITEM CMWORD I(00,00,60);
  75. END
  76. ITEM CM$LENG; # CONSOLE MAP TABLE LENGTH #
  77. BASED ARRAY COUP$TABLE [0:0] S(1);
  78. BEGIN
  79. ITEM CTENT U(0,52,8); # NUMBER OF ENTRIES IN TABLE #
  80. ITEM CTNAME C(0,0,7); # COUPLER NAME #
  81. ITEM CTHNID U(0,44,8); # HOST/COUPLER NODE I.D. #
  82. ITEM CTNID U(0,52,8); # NPU NODE ID SUPPORTING COUPLER#
  83. ITEM CTWORD I(0,0,60);
  84. END
  85. ITEM CT$LENG; # COUPLER TABLE LENGTH #
  86. BASED ARRAY DEFINE$TABLE [0:0] S(1);
  87. BEGIN # DEFINE TABLE #
  88. ITEM DTWC U(0,42,18);# DEFINE TABLE WORD COUNT #
  89. ITEM DEFNAME C(0,0,7);
  90. ITEM DEFWCNT U(0,54,6);
  91. ITEM DEFSTRNG C(0,0,10);
  92. ITEM DTWORD U(0,0,60);
  93. END
  94. ITEM DT$LENG; # DEFINE TABLE LENGTH #
  95. BASED ARRAY DEVICE$XREF [0:0] S(1);
  96. BEGIN # DEVICE CROSS REFERENCE TABLE #
  97. *CALL DCNCF
  98. END
  99. ITEM DC$LENG; # DEVICE XREF TABLE LENGTH #
  100. BASED ARRAY HOST$TABLE [0:0] S(1);
  101. BEGIN
  102. ITEM HTNAME U(0,44,8); # TABLE IDENTIFIER #
  103. ITEM HT$ENT U(0,52,8); # ENTRY COUNT #
  104. ITEM HT$RO U(0,44,8); # ROUTING ORDINAL OF HOST #
  105. ITEM HT$SORT U(00,00,42); # HOST NAME TO BE SORTED #
  106. ITEM HT$CH1 U(0,44,8); # CHARACTER POSITION ONE #
  107. ITEM HT$CH2 U(0,52,8); # CHARACTER POSITION TWO #
  108. ITEM HTWORD (0,0,60);
  109. END
  110. ITEM HT$LENG; # HOST TABLE LENGTH #
  111. BASED ARRAY INCALL$TABLE [0:0] S(1);
  112. BEGIN
  113. *CALL IBLCF
  114. END
  115. ITEM IB$LENG; # INCALL BLOCK TABLE LENGTH #
  116. BASED ARRAY LABEL$TABLE [0:0] S(1);
  117. BEGIN
  118. ITEM LABLCNT U(0,42,18); # NUMBER OF LABELS IN TABLE #
  119. ITEM LABLNAM C(0,0,7); # LABEL-NAME #
  120. ITEM LABLPORT U(0,52,8); # PORT NUMBER FROM GROUP STMT #
  121. ITEM LABEL$WORD I(0,0,60);
  122. END
  123. ITEM LT$LENG; # LABEL TABLE LENGTH #
  124. BASED ARRAY LIN$CON$INDX [0:0] S(1);
  125. BEGIN # LINE CONFIGURATION RECORD INDEX #
  126. ITEM LCR$SUP$NAME C(0,30,5); # IDENTIFIES AS SUPIO INDEX #
  127. ITEM LCRWC U(0,48,12); # TABLE WORD COUNT #
  128. ITEM LCRNAME C(0,0,7); # NAME OF NPU SUPPORTING LINE #
  129. ITEM LCRENT U(0,42,8); # NUMBER OF LINES DEFINED ON NPU#
  130. ITEM LCRRL U(0,0,30); # RECORD LENGTH #
  131. ITEM LCRRANINDX U(0,30,30); # RELATIVE PRU ADDRESS #
  132. ITEM LCRWORD (0,0,60);
  133. END
  134. ITEM LCR$LENG; # INDEX TABLE LENGTH #
  135. BASED ARRAY LIN$CON$REC [0:0] S(1);
  136. BEGIN # LINE CONFIGURATION RECORD #
  137. ITEM LCNI U(0,44,8); # GROUP/ITERATION COUNT #
  138. ITEM LCWC U(0,52,8); # ENTRY WORD COUNT #
  139. ITEM LCPORT U(0,44,8); # PORT NUMBER OF LINE #
  140. ITEM LCSPORT U(0,52,8); # SUB PORT NUMBER #
  141. ITEM LCLTYPE U(0,44,8); # LINE TYPE #
  142. ITEM LCTTYP U(0,52,8); # TERMINAL TYPE #
  143. ITEM LCTTYP$A B(0,52,1); # FLAG SET IF AUTO REC LINE #
  144. ITEM LCTTYP$IP U(0,53,4); # NUMERICAL VALUE FOR TIPTYPE #
  145. ITEM LC$SRANGE B(0,59,1); # SPEED RANGE FOR AUTO REC LINES#
  146. ITEM LCST U(0,44,2); # LINE STATUS -- DI/EN #
  147. ITEM LC$ARSPEED B(0,58,1); # ARSPEED FLAG IN TT BYTE #
  148. ITEM LCFNFV U(0,52,8); # NUMBER OF FNFV PAIRS #
  149. ITEM LCFN U(0,44,8); # FN VALUE #
  150. ITEM LCFV U(0,52,8); # FV VALUE #
  151. ITEM LCWORD (0,0,60);
  152. END
  153. ITEM LC$LENG; # LINE CONFIG RECORD BUFFER LENG#
  154. BASED ARRAY LIN$REC$INDX [0:0] S(1);
  155. BEGIN # LINE RECORD INDEX #
  156. *CALL LINCF
  157. END
  158. ITEM LI$LENG; # LINE RECORD INDEX TABLE LENGTH#
  159. BASED ARRAY LINE$RECORD [0:0] S(1);
  160. BEGIN
  161. *CALL LRNCF
  162. END
  163. ITEM LR$LENG; # LINE RECORD TABLE LENGTH #
  164. BASED ARRAY LINE$XREF [0:0] S(1);
  165. BEGIN # LINE CROSS REFERENCE TABLE #
  166. *CALL LCTNCF
  167. END
  168. ITEM LCT$LENG; # LINE XREF TABLE LENGTH #
  169. BASED ARRAY LINK$TABLE [0:0] S(1);
  170. BEGIN
  171. ITEM LKTNAME U(0,44,8); # TABLE IDENTIFIER #
  172. ITEM LKT$ENT U(0,52,8); # ENTRY COUNT #
  173. ITEM LKT$TYP U(0,44,2); # LINE TYPE #
  174. ITEM LKT$ST U(0,46,2); # LINK STATUS #
  175. ITEM LKT$FRAME U(0,48,2); # FRAME CODE #
  176. ITEM LKT$ADD U(0,52,8); # LINK ADDRESS #
  177. ITEM LKTWORD (0,0,60);
  178. END
  179. ITEM LKT$LENG; # LINK TABLE LENGTH #
  180. BASED ARRAY LLINK$TABLE [0:0] S(2);
  181. BEGIN
  182. ITEM LLTENT U(0,48,12); # NUMBER OF ENTRIES IN TABLE #
  183. ITEM LLTNAME C(0,0,7); # LOGLINK NAME #
  184. ITEM LLTHNID U(0,44,8); # HOST NODE THAT LLINK ORIGINATE#
  185. ITEM LLTNID U(0,52,8); # TERMINAL NODE ID (HOST/NPU) #
  186. ITEM LLTHNAME U(1,18,42); # NAME OF HOST FOR THAT LINK #
  187. ITEM LLTWORD I(0,0,60);
  188. ITEM LLTWORD1 I(1,0,60);
  189. END
  190. ITEM LLT$LENG; # LOGLINK TABLE LENGTH #
  191. BASED ARRAY LL$NODE$TABL [0:0] S(1);
  192. BEGIN
  193. ITEM LNTENT U(0,48,12); # NUMBER OF ENTRIES IN TABLE #
  194. ITEM LNTNAME C(0,0,7); # TERMINAL NODE NAME #
  195. ITEM LNTWORD I(0,0,60);
  196. END
  197. ITEM LNT$LENG; # LOGLINK NODE TABLE LENGTH #
  198. BASED ARRAY LOGLINK$XREF [0:0] S(2);
  199. BEGIN # LOGICAL LINK CROSS REFERENCE TABLE #
  200. *CALL LLNCF
  201. END
  202. ITEM LL$LENG; # LOGLINK XREF TABLE LENGTH #
  203. BASED ARRAY NCB$BUFFER [0:0] S(1);
  204. BEGIN
  205. ITEM NCBWC (0,0,60); # WORD COUNT #
  206. ITEM NCBWORD U(0,0,60);
  207. END
  208. ITEM NCB$LENG; # NCB BUFFER LENGTH #
  209. BASED ARRAY NCF$INDEX [0:0] S(2);
  210. BEGIN
  211. *CALL NCFNCF
  212. END
  213. ITEM NCF$LENG; # NCF INDEX TABLE LENGTH #
  214. BASED ARRAY NPU$TABLE [0:0] S(2);
  215. BEGIN
  216. ITEM NTWC U(0,51,9); # NUMBER OF ENTRIES IN TABLE #
  217. ITEM NTCNP U(0,42,9); # POINTER TO CURRENT NPU HEADER #
  218. ITEM NTNAME C(0,0,7); # NPU NAME #
  219. ITEM NTSPLK B(0,42,1); # SUPLINK STMT EXISTS FLAG #
  220. ITEM NTNID U(0,52,8); # NODE I.D. OF NPU #
  221. ITEM NTWORD I(0,0,60);
  222. END
  223. ITEM NT$LENG; # NPU TABLE LENGTH #
  224. BASED ARRAY NPU$XREF [0:0] S(2);
  225. BEGIN # NPU CROSS REFERENCE TABLE #
  226. *CALL NPNCF
  227. END
  228. ITEM NP$LENG; # NPU XREF TABLE LENGTH #
  229. BASED ARRAY OUTCALL$TABL [0:0] S(1);
  230. BEGIN
  231. *CALL OBLCF
  232. END
  233. ITEM OB$LENG; # OUTCALL BLOCK TABLE LENGTH #
  234. BASED ARRAY PLINK$XREF [0:0] S(2);
  235. BEGIN # PHYSICAL LINK CROSS REFERENCE TABLE #
  236. *CALL PLNCF
  237. END
  238. ITEM PL$LENG; # PHYS LINK XREF TABLE LENGTH #
  239. BASED ARRAY PATHPID$TAB[0:0] S(1);
  240. BEGIN # PATH PID TABLE #
  241. *CALL PPLCF
  242. END
  243. ITEM PP$LENG; # PATH PID TABLE LENGTH #
  244. BASED ARRAY ROUTING$TABL [0:0] S(1);
  245. BEGIN
  246. ITEM RTNAME U(0,44,8); # TABLE IDENTIFIER #
  247. ITEM RT$ENT U(0,52,8); # ENTRY COUNT #
  248. ITEM RT$TYP U(0,44,2); # ROUTING TYPE #
  249. ITEM RT$RS U(0,46,6); # ROUTING STATUS #
  250. ITEM RT$LO U(0,52,8); # LINK ORDINAL -- PNTR TO LKT #
  251. ITEM RTWORD (0,0,60);
  252. END
  253. ITEM RT$LENG; # ROUTING TABLE LENGTH #
  254. BASED ARRAY STMT$TABLE [0:0] S(1); # STATEMENT TABLE #
  255. BEGIN
  256. ITEM STNAME C(00,00,03); # ABBREVIATED STMT NAME #
  257. ITEM STSTID U(00,18,06); # STATEMENT I.D. #
  258. ITEM STLNUM U(00,24,18); # LINE NUMBER OF STATEMENT #
  259. ITEM STWC U(00,42,18); # WORD COUNT OF STMT ENTRY #
  260. ITEM STLBPNTR U(00,00,15); # POINTER TO LABEL TABLE #
  261. ITEM STLBERR B(00,17,01); # LABEL ERROR FLAG #
  262. ITEM STLABEL C(00,18,07); # LABEL-NAME #
  263. ITEM STCMB U(00,00,06); # CONSOLE MAP BIT POINTER #
  264. ITEM STCMW U(00,06,10); # CONSOLE MAP WORD POINTER #
  265. ITEM STORD1 U(00,54,06); # ORDINAL ONE #
  266. ITEM STORD2 U(00,48,06); # ORDINAL TWO #
  267. ITEM STORD3 U(00,42,06); # ORDINAL THREE #
  268. ITEM STKWID U(00,00,09); # KEYWORD I.D. #
  269. ITEM STVALLEN U(00,09,06); # VALUE LENGTH IN CHARACTERS #
  270. ITEM STVLERR B(00,17,01); # VALUE ERROR FLAG #
  271. ITEM STVALNAM C(00,18,07); # VALUE CHARACTER STRING #
  272. ITEM STVALNUM U(00,18,42); # VALUE NUMBER #
  273. ITEM STWORD I(00,00,60);
  274. END
  275. ITEM STB$LENG; # STATEMENT TABLE LENGTH #
  276. BASED ARRAY SUP$TABLE [0:0] S(1);
  277. BEGIN
  278. ITEM ST$NAM U(0,44,8); # TABLE IDENTIFIER #
  279. ITEM ST$ENT U(0,52,8); # ENTRY COUNT #
  280. ITEM ST$TYP U(0,44,2); # SUPERVISOR TYPE - LOCAL/REMOTE#
  281. ITEM ST$RO U(0,52,8); # ROUTING ORDINAL -- PNTR TO RT #
  282. ITEM ST$WRD (0,0,60);
  283. END
  284. ITEM ST$LENG; # SUPERVISOR TABLE LENGTH #
  285. BASED ARRAY TERM$BUFFER [0:0] S(1); # TERMINAL STMT BUFFER #
  286. BEGIN
  287. ITEM TBNAME C(00,00,03); # ABBREVIATED STMT NAME #
  288. ITEM TBSTID U(00,18,06); # STATEMENT I.D. #
  289. ITEM TBLINE U(00,24,18); # STATEMENT LINE NUMBER #
  290. ITEM TBWC U(00,54,06); # BUFFER WORD COUNT #
  291. ITEM TBCMB U(00,00,06); # CONSOLE MAP BIT POINTER #
  292. ITEM TBCMW U(00,06,10); # CONSOLE MAP WORD POINTER #
  293. ITEM TBORD1 U(00,54,06); # ORDINAL ONE #
  294. ITEM TBORD2 U(00,48,06); # ORDINAL TWO #
  295. ITEM TBORD3 U(00,42,06); # ORDINAL THREE #
  296. ITEM TBKWID U(00,00,09); # KEYWORD I.D. #
  297. ITEM TBVALLEN U(00,09,06); # VALUE LENGTH IN CHARACTERS #
  298. ITEM TBVLERR B(00,17,01); # VALUE ERROR FLAG #
  299. ITEM TBVALNAM C(00,18,07); # VALUE CHARACTER STRING #
  300. ITEM TBVALNUM U(00,18,42); # VALUE NUMBER #
  301. ITEM TBWORD I(00,00,60);
  302. END
  303. ITEM TB$LENG; # TERMINAL STMT BUFFER LENGTH #
  304. BASED ARRAY SUPLINK$TABL [0:0] S(1);
  305. BEGIN
  306. ITEM SLTWC U(0,48,12); # TABLE WORD COUNT #
  307. ITEM SLTNAME C(0,0,7); # SUPLINK NAME #
  308. ITEM SLTTYPE U(0,42,2); # SUPLINK TYPE #
  309. ITEM SLTHNID U(0,44,8); # HOST NODE I.D #
  310. ITEM SLTNID U(0,52,8); # NPU NODE I.D. #
  311. ITEM SLTWORD (0,0,60);
  312. END
  313. ITEM SLT$LENG; # SUPLINK TABLE LENGTH #
  314. BASED ARRAY TNI$TABLE [0:0] S(1);
  315. BEGIN # TRUNK NODE I.D. TABLE #
  316. ITEM TNIWC U(00,42,18); # TABLE WORD COUNT #
  317. ITEM TNIN1 U(00,44,08); # N1 NODE I.D. VALUE #
  318. ITEM TNIN2 U(00,52,08); # N2 NODE I.D. VALUE #
  319. ITEM TNIWORD I(00,00,60);
  320. END
  321. ITEM TNI$LENG; # TNI TABLE LENGTH #
  322. BASED ARRAY TNN$TABLE [0:0] S(2);
  323. BEGIN # TRUNK NPU NAME TABLE #
  324. ITEM TNNEC U(01,42,18); # TABLE ENTRY COUNT #
  325. ITEM TNNN1 C(00,00,07); # N1 VALUE #
  326. ITEM TNNN2 C(01,00,07); # N2 VALUE #
  327. ITEM TNNWORD I(00,00,60);
  328. ITEM TNNWORD1 I(01,00,60);
  329. END
  330. ITEM TNN$LENG; # TNN TABLE LENGTH #
  331. BASED ARRAY USER$TABLE [0:0] S(1);
  332. BEGIN
  333. *CALL UTLCF
  334. END
  335. ITEM UT$LENG; # USER TABLE LENGTH #
  336. BASED ARRAY TEND [0:0] S(1); # DUMMY END ARRAY OF MANAGER #
  337. BEGIN
  338. ITEM F$TEND (0,0,60);# CONTAINS ADDRESS AT END OF FL #
  339. END
  340. ITEM L$TEND; # CONTAINS TOTAL STORAGE USED #
  341. END # TABLES COMMON #
  342. END
  343. TERM
cdc/nos2.source/nam5871/ndltblt.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator