User Tools

Site Tools


ibm:vm370-lib:copy:iobloks.copy_src

IOBLOKS Source

References

Source Listing

IOBLOKS.COPY.txt
  1. *COPY IOBLOKS 00001000
  2. PUSH PRINT 00001200
  3. AIF ('&SYSPARM' NE 'SUP').IOB01 00001400
  4. PRINT OFF,NOGEN 00001600
  5. .IOB01 ANOP 00001800
  6. IOBLOK DSECT 00002000
  7. SPACE 1 00003000
  8. *** IOBLOK - I/O TASK CONTROL BLOCK 00005000
  9. * 00006000
  10. * 0 +-----------+-----+-----+-----------------------+ 00007000
  11. * | IOBRADD | I*1 | I*2 | IOBLINK | 00008000
  12. * 8 +-----------+-----+-----+-----------------------+ 00009000
  13. * | IOBFPNT | IOBBPNT | 00010000
  14. * 10 +-----------+-----------+-----------------------+ 00011000
  15. * | IOBCYL | IOBVADD | IOBMISC | 00012000
  16. * 18 +-----------+-----------+-----------------------+ 00013000
  17. * | IOBUSER | IOBIRA | 00014000
  18. * 20 +-----------------------+-----------------------+ 00015000
  19. * | IOBCAW | IOBRCAW | 00016000
  20. * 28 +-----------------------+-----------------------+ 00017000
  21. * | IOBCSW | 00018000
  22. * 30 +-----------------------+-----------------------+ 00019000
  23. * | IOBIOER | IOBMISC2 | 00020000
  24. * 38 +-----+-----+-----------+-----------------------+ 00021000
  25. * | I*3 | I*4 | I*5 | RSV2| IOBRSV3 | 00022000
  26. * 40 +-----+-----+-----------+-----------------------+ 00023000
  27. * | I*6 | IOBRSV4 | IOBCTRQ | 00023100
  28. * 48 +-----------------------+-----------------------+ 00023300
  29. * 00024000
  30. *** IOBLOK - I/O TASK CONTROL BLOCK 00025000
  31. SPACE 1 00027000
  32. IOBRADD DS 1H REAL DEVICE ADDRESS FOR SIO 00028000
  33. IOBFLAG DS 1X I*1 IOBLOK FLAGS 00029000
  34. IOBSTAT DS 1X I*2 IOBLOK STATUS 00030000
  35. IOBLINK DS 1F POINTER FOR MULTI-PATH IOBLOK CHAIN 00031000
  36. IOBFPNT DS 1F POINTER TO NEXT IOBLOK IN QUEUE 00032000
  37. IOBBPNT DS 1F POINTER TO PREV IOBLOK IN QUEUE 00033000
  38. SPACE 1 00034000
  39. IOBMSIZE EQU (*-IOBLOK)/8 MULTIPLE PATH IOBLOK SIZE IN DBL. WDS. 00035000
  40. SPACE 1 00036000
  41. IOBCYL DS 1H DASD - SEEK CYLINDER FOR THIS IOBLOK 00037000
  42. IOBVADD DS 1H VIRTUAL DEVICE ADDRESS 00038000
  43. IOBMISC DS 1F USE VARIES ACCORDING TO CALLER 00039000
  44. IOBUSER DS 1F POINTER TO VMBLOK OF USER 00040000
  45. IOBIRA DS 1F IOBLOK INTERRUPT RETURN ADDRESS 00041000
  46. IOBCAW DS 1F POINTER TO CCW CHAIN 00042000
  47. IOBRCAW DS 1F POINTER TO RESTART CCW CHAIN 00043000
  48. IOBCSW DS 1D REAL CHANNEL STATUS WORD FOR IO OPERATION 00044000
  49. IOBIOER DS 1F POINTER TO IOERBLOK WITH SENSE 00045000
  50. IOBMISC2 DS 1F USE VARIES ACCORDING TO CALLER 00046000
  51. IOBSPEC DS 1X I*3 IOBLOK SPECIAL REQUESTS FLAG 00047000
  52. IOBSPEC2 DS 1X I*4 IOBLOK SPECIAL REQUESTS FLAG 2ND BYTE 00048000
  53. IOBSPEC3 DS 1X I*5 IOBLOK SPECIAL REQUESTS FLAG@VA08629 00049000
  54. * 3RD BYTE 00049100
  55. IOBRSV2 DS 1X RESERVED FOR FUTURE USE @VA08629 00049200
  56. IOBRSV3 DS 1F RESERVED FOR FUTURE USE 00050000
  57. IOBERCNT DS 1X I*6 CHAN CHECK ERROR COUNT @VA13318 00050100
  58. IOBRSV4 DS 3X RESERVED FOR FUTURE USE @VA13318 00050110
  59. IOBCTRQ DS 1F MSS CYL FAULT TRQBLOK POINTER @VA09957 00050300
  60. SPACE 1 00051000
  61. IOBSIZE EQU (*-IOBLOK)/8 IOBLOK SIZE IN DOUBLE WORDS 00052000
  62. SPACE 1 00053000
  63. * FOR CP IOBLOKS 00054000
  64. ORG IOBVADD 00055000
  65. IOBRCNT DS 1H RETRY COUNT 00056000
  66. SPACE 1 00058000
  67. * BITS DEFINED IN IOBFLAG 00059000
  68. IOBCP EQU X'80' CP GENERATED IO OPERATION 00060000
  69. IOBRSTRT EQU X'40' RESTARTED OPERATION - IOBRCAW 00061000
  70. IOBSPLT EQU X'20' DASD - CP SPLIT SEEK OPERATION 00062000
  71. IOBPAG EQU X'10' IOBLOK CREATED FOR PAGING IO 00063000
  72. IOBRELCU EQU X'08' CONTROL UNIT RELEASED AT INITIATION 00064000
  73. IOBERP EQU X'04' IO TASK IS UNDER CONTROL OF ERP 00065000
  74. IOBRES EQU X'02' IO TASK HAS BEEN RESET 00066000
  75. IOBHVC EQU X'01' IO INITIATED VIA HVC 00067000
  76. SPACE 1 00068000
  77. * BITS DEFINED IN IOBSTAT 00069000
  78. IOBFATAL EQU X'80' UNCORRECTABLE ERROR IN THIS I/O OPERATION 00070000
  79. IOBPATHF EQU X'20' PATH IS FIXED, USE IOBRADD VALUE 00071000
  80. IOBMINI EQU X'08' THIS IS A MINI IOBLOK 00072000
  81. IOBFLT EQU X'40' MSS CYL FAULT IN PROCESS @VMI2022 00072010
  82. IOBALTSK EQU X'04' DASD CHNL PRG HAS SEEK TO ALTERNATE TRK 00073100
  83. IOBCC0 EQU X'00' PROCESSING IO INTERRUPT 00075000
  84. IOBCC1 EQU X'01' PROCESSING CC 1, CSW STORED 00076000
  85. IOBCC2 EQU X'02' PROCESSING CC 2, CHANNEL BUSY 00077000
  86. IOBCC3 EQU X'03' PROCESSING CC 3, NOT AVAILABLE 00078000
  87. SPACE 00079000
  88. * BITS DEFINED IN IOBSPEC 00080000
  89. IOBTIO EQU X'80' IOBLOK REQUEST FOR A 'TIO' 00081000
  90. IOBHIO EQU X'40' IOBLOK REQUEST FOR A 'HIO' 00082000
  91. IOBSIOF EQU X'20' IOBLOK DUE TO VIRTUAL 'SIOF' 00082100
  92. IOBIMSTK EQU X'10' SHUTDOWN SDR FUNCTION @VA05361 00082110
  93. IOBUNSL EQU X'08' IOBLOK DUE TO UNSOLICITED INTERRUPT 00082500
  94. IOBCOPY EQU X'04' IOBLOK ASSOCIATED WITH A COPY REQUEST 00082510
  95. IOBSENS EQU X'02' SENSE OPERATION FOR COPY REQUEST 00082515
  96. IOBTRPND EQU X'01' VIRT.TRACE PENDING ON THIS IOBLOK 00082518
  97. * BITS DEFINED IN IOBSPEC2 00082550
  98. IOBWRAP EQU X'80' IO TASK FOR AUTOPOLL WRAP LIST 00082600
  99. IOBCLN EQU X'40' VDEVBLOK LOCKED WHEN CCW GOT CNTRL 00082650
  100. IOBUNREL EQU X'20' IOTASK CONTAINS RELEASE, UNTRN MUST PROC 00082700
  101. IOBUC EQU X'10' UNIT CHECK STATUS 00082750
  102. IOBSNSIO EQU X'08' NORMAL SENSE OPERATION IN PROGRESS 00082800
  103. IOBREL EQU X'04' CHANNEL PGM CONTAINS CP RELEASE 00082825
  104. IOBRETRY EQU X'02' CPEXBLOK STACKED FOR RETRY @VA08119 00082835
  105. * BITS DEFINED IN IOBSPEC3 00082850
  106. IOBSENSE EQU X'80' DON'T EXECUTE SENSE ON HARDWARE @VA08629 00082900
  107. IOBPST EQU X'40' PASS INTERRUPT TO USER @VA09137 00082925
  108. EJECT 00082950
  109. CONTASK DSECT 00084000
  110. SPACE 1 00085000
  111. *** CONTASK - CONSOLE I/O PACKAGE 00086500
  112. * 00087000
  113. * 0 +-----------------------+-----------------------+ 00087500
  114. * | CONPNT | CONRETN | 00088000
  115. * 8 +-----+-----+-----------+-----------------------+ 00088500
  116. * | C*1 | C*2 | CONTSKSZ | CONUSER | 00089000
  117. * 10 +-----+-----+-----------+-----------------------+ 00089500
  118. * | C*3 |RSVD | RESERVED | RESERVED HRC101DK 00089600
  119. * 10 +-----+-----+-----------+-----------------------HRC101DK 00089700
  120. * | CONCCW1 | 00090000
  121. * 18 +-----------------------------------------------+ 00090500
  122. * | CONCCW2 | 00091000
  123. * 20 +-----------------------------------------------+ 00091500
  124. * | CONCCW3 | 00092000
  125. * 28 +-----------------------------------------------+ 00092500
  126. * | CONCCW4 | 00093000
  127. * 30 +-----------------------------------------------+ 00093500
  128. * | | 00094000
  129. * = CONDATA = 00094500
  130. * | | 00095000
  131. * +-----------------------------------------------+ 00095500
  132. * 00096000
  133. *** CONTASK - CONSOLE I/O PACKAGE 00096500
  134. SPACE 1 00097000
  135. CONPNT DS 1F POINTER TO NEXT CONTASK 00097500
  136. CONRETN DS 1F POINTER TO SAVEAREA FOR RETURN 00098000
  137. CONSTAT DS 1X CONTASK STATUS CONTROL FLAGS 00098500
  138. CONPARM DS 1X DMKQCN PARAMETER FLAGS (SEE EQU COPY) 00099000
  139. CONTSKSZ DS 1H CONTASK SIZE IN DOUBLE WORDS 00099500
  140. CONUSER DS 1F ADDRESS OF VMBLOK FOR DESTINATION USER 00100000
  141. CONFSS DS 1X C*3 FLAG BYTES FOR FULL SCREEN SUPPORHRC101DK 00100100
  142. DS 1X RESERVED HRC101DK 00100200
  143. DS 1H RESERVED HRC101DK 00100300
  144. DS 1F RESERVED HRC101DK 00100400
  145. CONCCW1 DS 1D FIRST CONSOLE I/O CCW 00100500
  146. CONCCW2 DS 1D SECOND... 00101000
  147. CONCCW3 DS 1D THIRD... 00101500
  148. CONCCW4 DS 1D FOURTH... 00102000
  149. CONDATA DS 0C OUTPUT DATA AREA (VARIABLE LENGTH) 00102500
  150. SPACE 00103000
  151. CONTSIZE EQU (*-CONTASK)/8 CONTASK SIZE IN DOUBLE WORDS 00103500
  152. SPACE 00104000
  153. * BITS DEFINED IN CONSTAT: 00104500
  154. CONOUTPT EQU X'80' OUTPUT CONTASK 00105000
  155. CONRESP EQU X'40' RESPONSE EXPECTED FROM THIS CONTASK 00105500
  156. CONACTV EQU X'20' CONTASK IS ACTIVE ON REAL DEVICE 00106000
  157. CONCNTL EQU X'10' THIS IS A CONTROL CONTASK ONLY 00106500
  158. CONESCP EQU X'08' CONTASK CONTAINS DEVICE DEPENDENT DATA 00107000
  159. CONRTRY EQU X'04' RETRY OPERATION IN PROGRESS 00107500
  160. CONSPLT EQU X'02' OUTPUT DATA BEING SPLIT VIA RDEVLLEN 00108000
  161. CONSYNC EQU X'01' CONTASK FOR SYNCHRONIZATION ONLY 00108500
  162. SPACE , HRC101DK 00108570
  163. * BITS DEFINED IN CONFSS: HRC101DK 00108640
  164. CONPREV EQU X'80' ADDR LINE TO LAST CHAR OF PREV HRC101DK 00108710
  165. * LINE (FOR HILIGHT) HRC101DK 00108780
  166. CONLOLIT EQU X'40' GRF FLAG TO PUT ADDR OF LAST HRC101DK 00108850
  167. * BYTE OF LINE IN END OF DATA HRC101DK 00108920
  168. EJECT 00109000
  169. * CONCCW DEFINITION 00109500
  170. ORG CONCCW1 00110000
  171. CONADDR DS 1F CCW DATA ADDRESS 00110500
  172. CONFLAG DS 1X CCW FLAG BITS 00111000
  173. CONDWC DS 1X DIAGNOSE WRITE CONTROL 00111600
  174. CONCNT DS 1H CCW BYTE COUNT 00112000
  175. ORG CONADDR 00112500
  176. CONCOMND DS 1X CCW COMMAND CODE 00113000
  177. SPACE 00113500
  178. * RE-DEFINITION FOR 3704/3705 NETWORK CONTROL PROGRAM 00114000
  179. ORG CONCCW3+2 00114500
  180. CONSRID DS 1H SOURCE IDENTIFIER 00115000
  181. CONDEST DS 1H DESTINATION RESOURCE ID 00115500
  182. CONRTAG DS 1H REQUEST TAG FOR THIS CONTASK 00116000
  183. CONSYSR DS 1X 370X SYSTEM RESPONSE BYTE 00116500
  184. CONEXTR DS 1X 370X EXTENDED RESPONSE BYTE 00117000
  185. CONTCMD DS 1H BTU COMMAND/MODIFIER (SEE TELEQU COPY) 00117500
  186. CONFUNC DS 1X BDU FUNCTION CONTROL FLAGS 00118000
  187. CONDFLG DS 1X BDU DATA CONTROL FLAGS 00118500
  188. CONDCNT DS 1H TEXT DATA LENGTH 00119000
  189. SPACE 1 00119100
  190. * RE-DEFINITION FOR 3270 REMOTE SUPPORT 00119200
  191. ORG CONCCW4 00119300
  192. CONLABEL DS 1X RETURN INDEX VALUE 00119400
  193. CONSTX DS 1X START TEXT CHARACTER 00119500
  194. CONESC DS 1X ESCAPE CHARACTER 00119600
  195. CONCMD DS 1X COMMAND CODE FOR REMOTE STATION 00119700
  196. CONWCC DS 1X WRITE CONTROL CHARACTER 00119800
  197. CONSBA DS 1X START BUFFER ADDRESS 00119900
  198. DS 1H BUFFER ADDRESS 00120000
  199. EJECT 00130000
  200. RCWTASK DSECT 00131000
  201. SPACE 1 00132000
  202. *** RCWTASK - TRANSLATED VIRTUAL I/O CCW PACKAGE 00134000
  203. * 00135000
  204. * 0 +-----------------------+-----------------------+ 00136000
  205. * | RCWPNT | RCWVCAW | 00137000
  206. * 8 +-----------+-----------+-----------+-----------+ 00138000
  207. * | RCWVCNT | RCWRCNT | RCWHEAD | RCWCCNT | 00139000
  208. * 10 +-----------+-----------+-----------+-----------+ 00140000
  209. * | | 00141000
  210. * = RCWCCW = 00142000
  211. * | | 00143000
  212. * +-----------------------------------------------+ 00144000
  213. * 00145000
  214. *** RCWTASK - TRANSLATED VIRTUAL I/O CCW PACKAGE 00146000
  215. SPACE 1 00148000
  216. RCWPNT DS 1F POINTER TO NEXT RCWTASK 00149000
  217. RCWVCAW DS 1F VIRTUAL ADDRESS OF CCW CHAIN 00150000
  218. RCWVCNT DS 1H VIRTUAL CCW COUNT 00151000
  219. RCWRCNT DS 1H REAL CCW COUNT 00152000
  220. RCWHEAD DS 1H RCWTASK HEADER MARK X'FFFF' 00153000
  221. RCWCCNT DS 1H RCWTASK CONTROL WORD COUNT 00154000
  222. RCWCCW DS 1D ONE OR MORE CCWS FOR DEVICE IO 00155000
  223. SPACE 1 00156000
  224. * RCWCCW DEFINITION 00157000
  225. ORG RCWCCW 00158000
  226. RCWADDR DS 1F CCW DATA ADDRESS 00159000
  227. RCWFLAG DS 1X CCW FLAG BITS 00160000
  228. RCWCTL DS 1X CCW CP CONTROL BITS 00161000
  229. RCWCNT DS 1H CCW BYTE COUNT 00162000
  230. ORG RCWADDR 00163000
  231. RCWCOMND DS 1X CCW COMMAND CODE 00164000
  232. SPACE 1 00165000
  233. * BITS DEFINED IN RCWCTL 00166000
  234. RCWIO EQU X'80' IO DATA PAGE LOCKED 00167000
  235. RCWGEN EQU X'40' CP GENERATED CCW 00168000
  236. RCWHMR EQU X'20' DMKUNT TO RELOCATE HOME ADDRESS/RECORD R0 00169000
  237. RCWREL EQU X'10' CCW ADDRESS RELOCATABLE IF CCWS MOVED 00170000
  238. RCWISAM EQU X'08' ISAM MODIFYING CCW 00171000
  239. RCW2311 EQU X'04' TYP2311T-B PSEUDO 2311 ON 2314 00172000
  240. RCWINVL EQU X'02' CCW OP CODE OR ADDRESS IS INVALID 00173000
  241. RCWSHR EQU X'01' 'SHARED' USER PAGE WAS COPIED. 00173100
  242. EJECT 00174000
  243. VCONCTL DSECT 00175000
  244. SPACE 1 00176000
  245. *** VCONCTL - VIRTUAL CONSOLE CONTROL BLOCK 00177000
  246. * 00178000
  247. * 0 +-----------------------+-----------------------+ 00179000
  248. * | VCONCAW | VCONBUF | 00180000
  249. * 8 +-----------------------+-----------------------+ 00181000
  250. * | VCONCCW | 00182000
  251. * 10 +-----+-----+-----+-----+-----------------------+ 00183000
  252. * | VCONBFSZ | V*1 | V*2 | VCONIDAP HRC101DK 00184490
  253. * 18 +-----+-----+-----+-----+-----------+-----+-----+ 00185000
  254. * | VCONRBUF | VCONRCNT | VCONRBSZ HRC101DK 00186490
  255. * 20 +-----------------------+-----------+-----+-----+ 00187000
  256. * | VCONWBUF | VCONWCNT | V*3 | V*4 HRC101DK 00188490
  257. * 28 +-----------------------+-----------+-----+-----+ 00189000
  258. * 00190000
  259. *** VCONCTL - VIRTUAL CONSOLE CONTROL BLOCK 00191000
  260. SPACE 1 00192000
  261. VCONCAW DS 1F VIRTUAL ADDRESS OF USER CCW 00193000
  262. VCONBUF DS 1F POINTER TO DATA BUFFER 00194000
  263. VCONCCW DS 1D CURRENT USER CCW 00195000
  264. VCONBFSZ DS 1H DATA BUFFER SIZE IN DOUBLE WORDS HRC101DK 00196990
  265. VCONFSS DS 1X V*1 FULL SCREEN DIAGNOSE FLAGS HRC101DK 00197980
  266. VCONOPT DS 1X V*2 CONSOLE OPTIONS HRC101DK 00198970
  267. VCONIDAP DS 1F FOR IDA PTR TO CURRENT IDAW 00200000
  268. VCONRBUF DS 1F ADDRESS OF READ DATA BUFFER 00200100
  269. VCONRCNT DS 1H DATA COUNT IN READ BUFFER 00200200
  270. VCONRBSZ DS 1H READ BUFFER SIZE IN DOUBLE WORDS HRC101DK 00200390
  271. VCONWBUF DS 1F ADDRESS OF WRITE DATA BUFFER 00200500
  272. VCONWCNT DS 1H DATA COUNT IN WRITE BUFFER 00200600
  273. VCONWBSZ DS 1X V*3 WRITE BUFFER SIZE IN DOUBLE WORDSHRC101DK 00200790
  274. VCONRSV8 DS 1X V*4 RESERVED FOR FUTURE USE HRC101DK 00200880
  275. SPACE 00201000
  276. VCONSIZE EQU (*-VCONCTL)/8 VCONCTL SIZE IN DOUBLE WORDS 00202000
  277. SPACE 1 00203000
  278. * VCONCCW DEFINITION 00204000
  279. ORG VCONCCW 00205000
  280. VCONADDR DS 1F CCW DATA ADDRESS 00206000
  281. VCONFLAG DS 1X CCW FLAG BITS 00207000
  282. VCONDWC DS 1X DIAGNOSE WRITE CONTROL 00208100
  283. VCONCNT DS 1H CCW BYTE COUNT 00209000
  284. ORG VCONADDR 00210000
  285. VCONCOMD DS 1X CCW COMMAND CODE 00211000
  286. EJECT 00212000
  287. POP PRINT 00213000
  288. SPACE 00214000
ibm/vm370-lib/copy/iobloks.copy_src.txt ยท Last modified: 2023/08/06 13:36 by Site Administrator