Table of Contents

DMTSYS Source

References

Source Listing

DMTSYS.ASSEMBLE.txt
  1. SYS TITLE 'DMTSYS (RSCS) VM/370 - RELEASE 6' 00001000
  2. *. 00002000
  3. * MODULE NAME - 00003000
  4. * 00004000
  5. * DMTSYS 00005000
  6. * 00006000
  7. * FUNCTION - 00007000
  8. * 00008000
  9. * THIS MODULE SERVES AS THE COMMON SYSTEM CONTROL 00009000
  10. * INFORMATION AREA WHICH IS SHARED BY ALL TASK LEVEL 00010000
  11. * FUNCTIONS OF RSCS. ALL INSTALLATION VARIABLE INFOR- 00011000
  12. * MATION USED BY AN RSCS SYSTEM IS REFLECTED IN THE 00012000
  13. * ASSEMBLY OF THIS MODULE, SO THIS MODULE IS THE ONLY 00013000
  14. * MODULE WHICH MUST BE ASSEMBLED AS PART OF AN RSCS 00014000
  15. * SYSTEM GENERATION. 00015000
  16. * 00016000
  17. * ATTRIBUTES - 00017000
  18. * 00018000
  19. * SHARED 00019000
  20. * 00020000
  21. * ENTRY POINTS - 00021000
  22. * 00022000
  23. * DMTSYSLK - START OF THE LINK TABLE CONTROL AREA 00023000
  24. * DMTSYSRT - START OF THE ROUTING TABLE CONTROL AREA 00024000
  25. * DMTSYSPT - START OF THE ALLOCATABLE PORT TABLE CONTROL AREA 00025000
  26. * DMTSYSTQ - START OF THE FILE TAG QUEUE CONTROL AREA 00026000
  27. * DMTSYSND - END OF DMTSYS, AND END OF THE REX TASK 00027000
  28. * 00028000
  29. * ENTRY CONDITIONS - 00029000
  30. * 00030000
  31. * THIS MODULE CONTAINS NO EXECUTABLE CODE. 00031000
  32. * 00032000
  33. * 00033000
  34. EJECT 00034000
  35. * EXTERNAL REFERENCES - 00035000
  36. * 00036000
  37. * NONE 00037000
  38. * 00038000
  39. * TABLES / WORKAREAS - 00039000
  40. * 00040000
  41. * 1. LINK TABLE - EACH ENTRY IN THE LINK TABLE SECTION 00041000
  42. * DESCRIBES A DEFINED LINK, OR REPRESENTS A 00042000
  43. * LINK WHICH MAY BE DEFINED BY CONSOLE COMMAND 00043000
  44. * 00044000
  45. * 2. ROUTING TABLE - EACH ENTRY IN THE ROUTING TABLE 00045000
  46. * DESCRIBES A LINK WHICH CAN HANDLE FILES 00046000
  47. * WHICH ARE ADDRESSED TO A PARTICULAR LOCATION 00047000
  48. * OTHER THAN THE LINK'S LOCATION 00048000
  49. * 00049000
  50. * 3. PORT TABLE - EACH ENTRY IN THE PORT TABLE DESCRIBES 00050000
  51. * A SWITCHED LINE PORT WHICH MAY BE ALLOCATED 00051000
  52. * FOR USE BY ANY LINK TO BE ACTIVATED 00052000
  53. * 00053000
  54. * 4. TAG QUEUE - EACH TAG QUEUE ELEMENT MAY REPRESENT 00054000
  55. * ONE SPOOL FILE WHICH IS TO BE PROCESSED BY 00055000
  56. * RSCS. INACTIVE FILE TAGS ARE ENQUEUED ON 00056000
  57. * THE LINK TABLE FOR THE LINK ON WHICH THEY 00057000
  58. * ARE TO BE TRANSMITTED. ACTIVE INPUT FILES 00058000
  59. * AND ACTIVE OUTPUT FILES ARE ENQUEUED ON 00059000
  60. * THEIR RESPECTIVE QUEUES, ANCHORED IN THE 00060000
  61. * TAG QUEUE CONTROL AREA. 00061000
  62. * NOTES - 00062000
  63. * 00063000
  64. * EACH OF THE FIELDS IN THE VARIOUS SHARED AREAS IS 00064000
  65. * ASSIGNED TO A PARTICULAR TASK FOR MODIFICATION. 00065000
  66. * OTHER TASKS MAY READ THE FIELDS, BUT MODIFICATION IS 00066000
  67. * PERMITTED ONLY BY THE TASK WHICH OWNS THE FIELD. 00067000
  68. * 00068000
  69. *. 00069000
  70. EJECT 00070000
  71. COPY LINKTABL 00071000
  72. EJECT 00072000
  73. COPY ROUTE 00073000
  74. EJECT 00074000
  75. COPY TAG 00075000
  76. EJECT 00076000
  77. DMTSYS CSECT 00077000
  78. ENTRY DMTSYSLK,DMTSYSRT,DMTSYSPT,DMTSYSTQ,DMTSYSND 00078000
  79. DMTSYSLK DC 0D'0',A((LINKEND-LINKS)/LINKLEN),AL2(16),AL2(0) 00079000
  80. LINKS EQU * 00080000
  81. COPY AXSLINKS 00081000
  82. LINKEND EQU * 00082000
  83. EJECT 00083000
  84. DMTSYSRT DC 0D'0',A((ROUTEND-ROUTES)/ROUTSIZE),A(0) 00084000
  85. ROUTES EQU * 00085000
  86. COPY AXSROUTE 00086000
  87. ROUTEND EQU * 00087000
  88. EJECT 00088000
  89. DMTSYSPT DC 0D'0',A((LINEND-LINES)/LINLEN),A(0) 00089000
  90. LINES EQU * 00090000
  91. COPY LAXLINES 00091000
  92. LINEND EQU * 00092000
  93. LINLEN EQU 2 00093000
  94. EJECT 00094000
  95. DMTSYSTQ DC 0D'0' TAG QUEUE CONTROL AREA 00095000
  96. SYSTFREE DC A(SYSTAGS) START OF FILE TAG SLOTS 00096000
  97. SYSACIN DC A(0) START OF ACTIVE INPUT QUEUE 00097000
  98. SYSACOUT DC A(0) START OF ACTIVE OUTPUT QUEUE 00098000
  99. SYSTGOT DC H'0' NUMBER OF FREE SLOTS LEFT 00099000
  100. SYSTHOLD DC H'0' NUMBER OF SLOTS TO BE HELD 00100000
  101. SPACE 00101000
  102. TAGWORDS EQU (TAGLEN+3)/4 LENGTH OF A FILE TAG IN WORDS 00102000
  103. SPACE 00103000
  104. COPY TAGQUEUE @VM01091 00104000
  105. SPACE 00105000
  106. DMTSYSND EQU * 00106000
  107. EJECT 00107000
  108. COPY RSSEQU 00108000
  109. END 00109000