Table of Contents

UDIRECT Source

References

Source Listing

UDIRECT.COPY.txt
  1. *COPY UDIRECT 00001000
  2. PUSH PRINT 00001200
  3. AIF ('&SYSPARM' NE 'SUP').UDI01 00001400
  4. PRINT OFF,NOGEN 00001600
  5. .UDI01 ANOP 00001800
  6. LOCKBLOK DSECT 00005000
  7. SPACE 00006000
  8. *** LOCKBLOK - USERID LOCK CONTROL BLOCK 00007000
  9. * 00008000
  10. * 0 +-----------------------+-----------------------+ 00009000
  11. * | LOCKNEXT | LOCKQUE | 00010000
  12. * 8 +-----------------------+-----------------------+ 00011000
  13. * | LOCKNAME | 00012000
  14. * 10 +-----------------------------------------------+ 00013000
  15. * 00014000
  16. *** LOCKBLOK - USERID LOCK CONTROL BLOCK 00015000
  17. SPACE 00018000
  18. LOCKNEXT DS 1F POINTER TO THE NEXT LOCK BLOCK 00019000
  19. LOCKQUE DS 1F POINTER TO CPEXBLOK QUEUE 00020000
  20. LOCKNAME DS 1D THE NAME LOCKED 00021000
  21. SPACE 00022000
  22. LOCKSIZE EQU (*-LOCKBLOK)/8 LOCKBLOK SIZE IN DOUBLE WORDS 00023000
  23. SPACE 2 00024000
  24. UDIRBLOK DSECT 00025000
  25. SPACE 00026000
  26. *** UDIRBLOK - USER DIRECTORY CONTROL BLOCK 00027000
  27. * 00028000
  28. * 0 +-----------+-----------+-----------------------+ 00029000
  29. * | UDIRRSV1 | UDIRDISP | UDIRDASD | 00030000
  30. * 8 +-----------+-----------+-----------------------+ 00031000
  31. * | UDIRUSER | 00032000
  32. * 10 +-----------------------------------------------+ 00033000
  33. * | UDIRPASS | 00034000
  34. * 18 +-----------------------------------------------+ 00035000
  35. * 00036000
  36. *** UDIRBLOK - USER DIRECTORY CONTROL BLOCK 00037000
  37. SPACE 00040000
  38. UDIRRSV1 DS 1H RESERVED FOR FUTURE USE 00041000
  39. UDIRDISP DS 1H DISPLACEMENT OF THE NEXT BLOCK 00042000
  40. UDIRDASD DS 1F DASD ADDRESS OF THE NEXT BLOCK 00043000
  41. UDIRUSER DS 1D USERID 00044000
  42. UDIRPASS DS 1D USER PASSWORD 00045000
  43. SPACE 00046000
  44. UDIRSIZE EQU (*-UDIRBLOK)/8 UDIRBLOK SIZE IN DOUBLE WORDS 00047000
  45. EJECT 00048000
  46. UMACBLOK DSECT 00049000
  47. SPACE 00050000
  48. *** UMACBLOK - VIRTUAL MACHINE DIRECTORY BLOCK 00051000
  49. * 00052000
  50. * 0 +-----------+-----------+-----------------------+ 00053000
  51. * | UMACDVCT | UMACDISP | UMACDASD | 00054000
  52. * 8 +-----+-----+-----+-----+-----+-----+-----+-----+ 00055000
  53. * | U*1 | U*2 | U*3 | U*4 | U*5 | U*6 | U*7 | U*8 | 00056000
  54. * 10 +-----+-----+-----+-----+-----+-----+-----+-----+ 00057000
  55. * | UMACCORE | UMACMCOR | 00058000
  56. * 18 +-----------------------+-----------------------+ 00059000
  57. * | UMACACCT | 00060000
  58. * 20 +-----------------------------------------------+ 00061000
  59. * | UMACDIST | 00062000
  60. * 28 +-----------------------------------------------+ 00063000
  61. * | UMACIPL | 00064000
  62. * 30 +-----------------+-----+-----------------------+ 00065100
  63. * | UMACPUID | U*9 | UMACRSV2 | 00065200
  64. * 38 +-----------------+-----+-----------------------+ 00065300
  65. * 00066000
  66. *** UMACBLOK - VIRTUAL MACHINE DIRECTORY BLOCK 00067000
  67. SPACE 00070000
  68. UMACDVCT DS 1H NUMBER OF DEVICES 00071000
  69. UMACDISP DS 1H DISPLACEMENT OF THE NEXT BLOCK 00072000
  70. UMACDASD DS 1F DASD ADDRESS OF THE NEXT BLOCK 00073000
  71. UMACCLEV DS 1X U*1 COMMAND LEVEL FLAGS 00074000
  72. UMACPRIR DS 1X U*2 VIRTUAL MACHINE PRIORITY 00075000
  73. UMACOPT DS 1X U*3 VIRTUAL MACHINE OPTION FLAGS 00076000
  74. UMACOPT2 DS 1X U*4 VIRTUAL MACHINE OPTION FLAGS 00077000
  75. UMACLEND DS 1C U*5 TERMINAL LINE END SYMBOL 00078000
  76. UMACLDEL DS 1C U*6 TERMINAL LINE DELETE SYMBOL 00079000
  77. UMACCDEL DS 1C U*7 TERMINAL CHARACTER DELETE SYMBOL 00080000
  78. UMACES DS 1C U*8 TERMINAL ESCAPE CHARACTER 00081000
  79. UMACCORE DS 1F VIRTUAL MEMORY SIZE IN BYTES 00082000
  80. UMACMCOR DS 1F MAXIMUM VIRTUAL MEMORY SIZE IN BYTES 00083000
  81. UMACACCT DS 1D ACCOUNTING INFORMATION 00084000
  82. UMACDIST DS 1D USER MACHINE DISTRIBUTION INFORMATION 00085000
  83. UMACIPL DS 1D NAME OF SYSTEM TO BE IPLED AT LOGON TIME 00086000
  84. UMACPUID DS XL3 CPUID SERIAL IN BINARY 00086100
  85. UMACAFF DS 1X U*9 AFFINITY AND CPU ADDRESS @V4075A0 00086200
  86. UMACRSV2 DS 1F RESERVED FOR IBM USE 00086300
  87. SPACE 00087000
  88. UMACSIZE EQU (*-UMACBLOK)/8 UMACBLOK SIZE IN DOUBLE WORDS 00088000
  89. SPACE 00089000
  90. * BITS DEFINED IN UMACCLEV 00090000
  91. UMACCLA EQU X'80' CLASS A FUNCTIONS 00091000
  92. UMACCLB EQU X'40' CLASS B FUNCTIONS 00092000
  93. UMACCLC EQU X'20' CLASS C FUNCTIONS 00093000
  94. UMACCLD EQU X'10' CLASS D FUNCTIONS 00094000
  95. UMACCLE EQU X'08' CLASS E FUNCTIONS 00095000
  96. UMACCLF EQU X'04' CLASS F FUNCTIONS 00096000
  97. UMACCLG EQU X'02' CLASS G FUNCTIONS 00097000
  98. UMACCLH EQU X'01' CLASS H FUNCTIONS 00098000
  99. EJECT 00099000
  100. * BITS DEFINED IN UMACOPT 00100000
  101. UMACISAM EQU X'80' ISAM CCW CHECKING OPTION 00101000
  102. UMACECOP EQU X'40' EXTENDED CONTROL MODE OPTION 00102000
  103. UMACRT EQU X'20' REAL TIMER OPTION 00103000
  104. UMACVROP EQU X'10' VIRTUAL EQ REAL STORAGE OPTION 00104000
  105. UMACACC EQU X'08' ACCOUNTING OPTION 00105000
  106. UMACRSV4 EQU X'04' RESERVED 00106000
  107. UMACNSVC EQU X'02' SVCS NOT HANDLED BY VM ASSIST 00106100
  108. UMACBMX EQU X'01' VIRTUAL BLOCK MULTIPLEXER CHANNELS 00106110
  109. SPACE 00106120
  110. * BITS DEFINED IN UMACOPT2 00106130
  111. UMACCPU EQU X'80' CPUID ON OPTION STATEMENT 00106140
  112. UMADLNKN EQU X'40' LNKNOPAS OPTION STATEMENT HRC014DK 00106240
  113. UMAST1ST EQU X'20' STFIRST OPTION STATEMENT HRC068DK 00106340
  114. SPACE 1 @V4075A0 00106500
  115. * DEFINITION OF UMACAFF @V4075A0 00106510
  116. UMACFFON EQU X'40' AFFINITY IS SPECIFIED @V4075A0 00106520
  117. UMACFFAD DS 0BL6 CPU ADDRESS FOR AFFINITY @V4075A0 00106530
  118. SPACE 00107000
  119. UDEVBLOK DSECT 00108000
  120. SPACE 00109000
  121. *** UDEVBLOK - VIRTUAL DEVICE DIRECTORY BLOCK (LONG) 00110000
  122. * 00111000
  123. * 0 +-----------+-----------+-----------------------+ 00112000
  124. * | UDEVADD | UDEVDISP | UDEVDASD | 00113000
  125. * 8 +-----+-----+-----+-----+-----+-----+-----------+ 00114000
  126. * | U*1 | U*2 | U*3 | U*4 | U*5 | U*6 | UDEVNCYL | 00115000
  127. * 10 +-----+-----+-----+-----+-----+-----+-----------+ 00116000
  128. * | UDEVRELN | UDEVVSER | 00117000
  129. * 18 +-----------+-----------------------------------+ 00118000
  130. * | UDEVPASR | 00119000
  131. * 20 +-----------------------------------------------+ 00120000
  132. * | UDEVPASW | 00121000
  133. * 28 +-----------------------------------------------+ 00122000
  134. * | UDEVPASM | 00123000
  135. * 30 +-----------------------------------------------+ 00124000
  136. * 00125000
  137. *** UDEVBLOK - VIRTUAL DEVICE DIRECTORY BLOCK (LONG) 00126000
  138. SPACE 00129000
  139. UDEVADD DS 1H VIRTUAL DEVICE ADDRESS 00130000
  140. UDEVDISP DS 1H DISPLACEMENT OF THE NEXT BLOCK 00131000
  141. UDEVDASD DS 1F DASD ADDRESS OF THE NEXT BLOCK 00132000
  142. UDEVSTAT DS 1X U*1 DEVICE STATUS INFORMATION 00133000
  143. UDEVMODE DS 1X U*2 ACCESS MODE INFORMATION 00134000
  144. UDEVTYPC DS 1X U*3 VIRTUAL DEVICE CLASS 00135000
  145. UDEVTYPE DS 1X U*4 VIRTUAL DEVICE TYPE 00136000
  146. UDEVFTR DS 1X U*5 DEVICE FEATURE CODES 00137000
  147. UDEVMDL DS 1X U*6 DEVICE MODEL NUMBER 00138000
  148. UDEVNCYL DS 1H VIRTUAL DASD SIZE 00139000
  149. UDEVRELN DS 1H VIRTUAL DASD CYLINDER RELOCATION 00140000
  150. UDEVVSER DS 6C VOLUME SERIAL NUMBER 00141000
  151. UDEVPASR DS 1D PASSWORD FOR READ ACCESS 00142000
  152. UDEVPASW DS 1D PASSWORD FOR WRITE ACCESS 00143000
  153. UDEVPASM DS 1D PASSWORD FOR MULTIPLE ACCESS 00144000
  154. SPACE 00145000
  155. UDEVSIZE EQU (*-UDEVBLOK)/8 UDEVBLOK SIZE IN DOUBLE WORDS 00146000
  156. EJECT 00147000
  157. * BITS DEFINED IN UDEVSTAT 00148000
  158. UDEVDED EQU X'80' DEVICE TO BE DEDICATED TO THIS USER 00149000
  159. UDEVTDSK EQU X'40' T-DISK TO BE ALLOCATED 00150000
  160. UDEVLONG EQU X'20' DEVICE BLOCK IS FULL LENGTH (6 DBL WORDS) 00151000
  161. UDEVLKDV EQU X'10' DEVICE TO BE LINKED (AT LOGON TIME) 00152000
  162. UDEVSPOO EQU X'08' DEVICE IS A SPOOL DEVICE 00153000
  163. UDEV3158 EQU X'04' DEVICE IS A 3158 CONSOLE @VA02100 00153050
  164. UDEVVRR EQU X'02' VIRT. RESERVE RELEASE REQUESTED 00153055
  165. UDEVRDEF EQU X'01' DEVICE IS REDEFINE, IF CLASURO @VA12263 00153100
  166. SPACE 00154000
  167. * BITS DEFINED IN UDEVMODE 00155000
  168. UDEVLR EQU X'80' READ LINKS ALLOWED 00156000
  169. UDEVLW EQU X'40' WRITE LINKS ALLOWED 00157000
  170. UDEVLM EQU X'20' MULT-WRITE LINKS ALLOWED 00158000
  171. * 00159000
  172. UDEVR EQU 00 DEVICE TO BE IN 'R' LINK-MODE FOR OWNER 00160000
  173. UDEVRR EQU 04 DEVICE TO BE IN 'RR' LINK-MODE FOR OWNER 00161000
  174. UDEVW EQU 08 DEVICE TO BE IN 'W' LINK-MODE FOR OWNER 00162000
  175. UDEVWR EQU 12 DEVICE TO BE IN 'WR' LINK-MODE FOR OWNER 00163000
  176. UDEVM EQU 16 DEVICE TO BE IN 'M' LINK-MODE FOR OWNER 00164000
  177. UDEVMR EQU 20 DEVICE TO BE IN 'MR' LINK-MODE FOR OWNER 00165000
  178. UDEVMW EQU 24 DEVICE TO BE IN 'MW' LINK-MODE FOR OWNER 00166000
  179. SPACE 00167000
  180. ORG UDEVMDL USER DEVICE BLOCK (SHORT) 00168000
  181. UDEVCLAS DS 1C U*6 SPOOL DEVICE OUTPUT CLASS 00169000
  182. UDEVLINK DS 1H USER LINK TO DISK 00171000
  183. UDEVNORA EQU X'80' INIT FOR DEDICATE WITH NO RDEV @VA11411 00171010
  184. UDEVLKID DS 1D USER LINK TO USERID 00172000
  185. SPACE 2 00173000
  186. UDBFBLOK DSECT 00174000
  187. SPACE 00175000
  188. *** UDBFBLOK - USER DIRECTORY BUFFER BLOCK 00176000
  189. * 00177000
  190. * 0 +-----------------------------------------------+ 00178000
  191. * | | 00179000
  192. * = UDBFWORK = 00180000
  193. * | | 00181000
  194. * 38 +-----------------------+-----------------------+ 00182000
  195. * | UDBFVADD | UDBFDASD | 00183000
  196. * 40 +-----------------------+-----------------------+ 00184000
  197. * 00185000
  198. *** UDBFBLOK - USER DIRECTORY BUFFER BLOCK 00186000
  199. SPACE 00189000
  200. UDBFWORK DS 7D BUFFER WORK SPACE USED BY THE CALLER 00190000
  201. UDBFVADD DS 1F VIRTUAL ADD OF THE LAST DIRECTORY PAGE 00191000
  202. UDBFDASD DS 1F DASD ADD OF THE LAST DIRECTORY PAGE 00192000
  203. SPACE 00193000
  204. UDBFSIZE EQU (*-UDBFBLOK)/8 UDBFBLOCK SIZE IN DOUBLE WORDS 00194000
  205. EJECT 00195000
  206. POP PRINT 00196000
  207. SPACE 00197000