User Tools

Site Tools


ibm:vm370-lib:cms:dmsdmp.assemble_src

DMSDMP Source

References

Source Listing

DMSDMP.ASSEMBLE.txt
  1. DMP TITLE 'DMSDMP (CMS) VM/370 - RELEASE 6' 00001000
  2. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00002000
  3. *. * 00003000
  4. * MODULE NAME: * 00004000
  5. * DMSDMP * 00005000
  6. * * 00006000
  7. * FUNCTION: * 00007000
  8. * DMSDMP IS THE SIMULATED $$BDUMP/$$BPDUMP ROUTINE * 00008000
  9. * UNDER CMS/DOS. DMSDMP IS ENTERED WHENEVER A DUMP OR * 00009000
  10. * JDUMP MACRO IS ISSUED. DMSPDP IS AN ENTRY POINT FOR * 00010000
  11. * PDUMP REQUESTS. IN BOTH CASES, A 'CP DUMP' COMMAND * 00011000
  12. * IS ISSUED DIRECTING THE DUMP TO AN OFFLINE PRINTER. * 00012000
  13. * * 00013000
  14. * ATTRIBUTES: * 00014000
  15. * REENTRANT * 00015000
  16. * DISCONTIGUOUS SHARED SEGMENT * 00016000
  17. * * 00017000
  18. * ENTRY POINTS: * 00018000
  19. * DMSDMP, DMSPDP * 00019000
  20. * * 00020000
  21. * ENTRY CONDITIONS: * 00021000
  22. * DMSDMP IS INVOKED IN RESPONSE TO THE ISSUING OF A * 00022000
  23. * DUMP/JDUMP MACRO. AN SVC 2 IS ISSUED FOR $$BDUMP IN * 00023000
  24. * THE MACRO EXPANSION. DMSDMP WILL HANDLE CMS/DOS * 00024000
  25. * REQUESTS TO $$BDUMP. NO SPECIAL ENTRY CONDITIONS ARE * 00025000
  26. * ESTABLISHED. DMSPDP IS INVOKED IN RESPONSE TO THE * 00026000
  27. * ISSUING OF A PDUMP MACRO. AN SVC 2 IS ISSUED FOR * 00027000
  28. * $$BPDUMP. DMSPDP WILL HANDLE CMS/DOS REQUESTS TO * 00028000
  29. * $$BPDUMP. AT ENTRY TO DMSPDP, THE USER'S REGISTER 0 * 00029000
  30. * POINTS TO THE PDUMP ADDRESSES. * 00030000
  31. * * 00031000
  32. * EXIT CONDITIONS: * 00032000
  33. * DMSPDP - EXIT VIA SVC 11 (RETURN TO PROBLEM PROGRAM * 00033000
  34. * AFTER DUMP IS COMPLETE. * 00034000
  35. * * 00035000
  36. * DMSDMP - EXIT VIA SVC 6 (CANCEL). * 00036000
  37. * * 00037000
  38. * ERROR MESSAGES ISSUED BY THIS PROGRAM: * 00038000
  39. * * 00039000
  40. * DMSDMP020W INVALID PDUMP ADDRESS 'ADDRESS' - * 00040000
  41. * NO DUMP OPERATION PERFORMED * 00041000
  42. * * 00042000
  43. * EXPLANATION: ONE OF THE FOLLOWING * 00043000
  44. * CONDITIONS OCCURRED WHILE * 00044000
  45. * PERFORMING A PDUMP REQUEST: * 00045000
  46. * * 00046000
  47. * 1. ADD1/ADD2 NEGATIVE * 00047000
  48. * 2. ADD1 > EOCADR IN BGCOM 00048000
  49. * 3. ADD1 > OR = ADD2 * 00049000
  50. * * 00050000
  51. * CALLS TO OTHER ROUTINES: * 00051000
  52. * DMSFREB -OBTAIN FREE STORAGE * 00052000
  53. * DIAGNOSE (CODE 8) TO PERFORM PDUMP FUNCTION. * 00053000
  54. * DMSERR - ERROR MESSAGE * 00054000
  55. * * 00055000
  56. * EXTERNAL REFERENCES: * 00056000
  57. * NUCON, REGEQU, BGCOM, DOSAVE * 00057000
  58. * * 00058000
  59. * CALLED BY: * 00059000
  60. * DMSDMP WILL BE INVOKED IN RESPONSE TO SVC 2 FOR $$BDUMP* 00060000
  61. * OR $$BJDUMP. DMSPDP WILL BE INVOKED IN RESPONSE TO * 00061000
  62. * SVC 2 FOR $$BPDUMP. * 00062000
  63. * * 00063000
  64. * TABLES AND WORK AREAS: * 00064000
  65. * PLIST - 'CP DUMP' PLIST * 00065000
  66. * FREE - ACQUIRED FREE STORAGE FOR PURPOSES * 00066000
  67. * OF ADDRESSES, SWITCHES AND PLISTS SINCE * 00067000
  68. * DMSDMP/DMSPDP IS REENTRANT AND CANNOT MODIFY * 00068000
  69. * ITS OWN STORAGE. * 00069000
  70. * * 00070000
  71. * REGISTER USAGE: * 00071000
  72. * R0 - WORK REGISTER * 00072000
  73. * R1 - PLIST POINTER, WORK REGISTER * 00073000
  74. * R2 - FREE STORAGE POINTER * 00074000
  75. * R3 - WORK REGISTER * 00075000
  76. * R4 - WORK REGISTER * 00076000
  77. * R5 - ADD1 * 00077000
  78. * R6 - BAL RETURN REGISTER * 00078000
  79. * R7 - ADD2 * 00079000
  80. * R8 - NOT USED * 00080000
  81. * R9 - NOT USED * 00081000
  82. * R10 - NOT USED * 00082000
  83. * R11 - NOT USED * 00083000
  84. * R12 - BASE REGISTER * 00084000
  85. * R13 - NOT USED * 00085000
  86. * R14 - NOT USED * 00086000
  87. * R15 - NOT USED * 00087000
  88. * * 00088000
  89. * OPERATION: * 00089000
  90. * DMSDMP PERFORMS THE CP CONSOLE FUNCTION 'DUMP' AND * 00090000
  91. * DUMPS FROM LOCATION 0 TO THE TOP OF VIRTUAL STORAGE. * 00091000
  92. * DMSDMP EXITS WITH AN SVC 6 (CANCEL). * 00092000
  93. * * 00093000
  94. * DMSPDP FIRST VERIFIES THAT ADD1 AND ADD2 DO NOT VIOLATE* 00094000
  95. * ANY OF THE RULES FOR ADDRESSES AS OUTLINED ABOVE UNDER * 00095000
  96. * ERROR MESSAGES. IF ADD2 > EOCADR IN BGCOM, ONLY * 00096000
  97. * STORAGE UP TO EOCADR IS DUMPED. PDUMP IS ACCOMPLISHED * 00097000
  98. * VIA DIAGNOSE (CODE 8). PROCESSING CONTINUES AFTER * 00098000
  99. * THE DUMP OPERATION EXIT IS MADE FROM DMSPDP VIA * 00099000
  100. * SVC 11. * 00100000
  101. * * 00101000
  102. * * 00102000
  103. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00103000
  104. SPACE 2 00104000
  105. DMSDMP CSECT @V305066 00105000
  106. USING FREE,R2 FREE STORAGE ADDRESSABILITY @V305066 00106000
  107. DC CL8'$$BDUMP' @V305066 00107000
  108. ENTRY DMSPDP @V305066 00108000
  109. BALR R12,0 ESTABLISH OWN ADDRESSABILIIY @V305066 00109000
  110. USING *,R12 @V305066 00110000
  111. LA R1,PLIST PLIST POINTER @V305066 00111000
  112. LA R3,LEN1 LENGTH OF DUMP PLIST @V305066 00112000
  113. DC X'83130008' DIAGNOSE FOR DUMP @V305066 00113000
  114. SVC SVC6 CANCEL JOB @V305066 00114000
  115. EJECT 00115000
  116. DMSPDP EQU * ENTRY POINT FOR PDUMP @V305066 00116000
  117. USING BGCOM,R3 PART. COMREG ADDRESSABILITY @V305066 00117000
  118. USING NUCON,R0 @V305066 00118000
  119. DC CL8'$$BPDUMP' @V305066 00119000
  120. BALR R12,0 ESTABLISH OWN ADDRESSABILIY @V305066 00120000
  121. USING *,R12 @V305066 00121000
  122. L R3,ASYSREF ADDRESS PART. COMM. REGION @V305066 00122000
  123. LR R4,R0 SAVE POINTER TO PDUMP ADDRESSES @V305066 00123000
  124. LA R0,FOUR OBTAIN FOUR DOUBLEWORDS @VA05214 00124000
  125. DMSFREE DWORDS=(0),TYPE=NUCLEUS,TYPCALL=BALR @V305066 00125000
  126. LR R2,R1 R2 CONTAINS FREE STORAGE POINTER @V305066 00126000
  127. L R5,0(R4) PDUMP ADD1 @V305066 00127000
  128. L R7,4(,R4) ADD2 @V305066 00128000
  129. CR R5,R7 ADD2 MUST BE > ADD1 @V305066 00129000
  130. BNL ERR20W IF NOT, ERROR @V305066 00130000
  131. LTR R5,R5 ADD1 MUST NOT BE NEGATIVE @V305066 00131000
  132. BM ERR20W ERROR IF NEGATIVE @V305066 00132000
  133. C R5,EOCADR ADD1 > EOCADR IN BGCOM @V305066 00133000
  134. BH ERR20W YES, NO OPERATION @V305066 00134000
  135. BAL R6,CONVERT CVT HEX ADD TO ZONED FORMAT @V305066 00135000
  136. MVC ADD1(6),ZONE ADD1 TO PLIST @V305066 00136000
  137. LTR R7,R7 ADD2 MUST NOT BE NEGATIVE @V305066 00137000
  138. BM ERR20W ERROR, NO OPERATION @V305066 00138000
  139. C R7,EOCADR ADD2 > EOCADR IN BGCOM @V305066 00139000
  140. BH DUMPPART YES, ONLY DUMP AS FAR AS PPEND @V305066 00140000
  141. LR R5,R7 ADD2 TO R5 @V305066 00141000
  142. CVT BAL R6,CONVERT CVT HEX ADD TO ZONED FORMAT @V305066 00142000
  143. MVC ADD2(6),ZONE ADD2 TO PLIST @V305066 00143000
  144. MVC FREE(16),PLIST MOVE 'CP DUMP' TO PLIST @V305066 00144000
  145. MVI DASH,HYPHEN MOVE ADDRESS DELIMITER TO PLIST @V305066 00145000
  146. LA R1,FREE PLIST POINTER @V305066 00146000
  147. LA R4,LEN2 LENGTH OF PDUMP PLIST @V305066 00147000
  148. DC X'83140008' DIAGNOSE FOR PDUMP @V305066 00148000
  149. RELEASE LR R1,R2 FREE STORAGE POINTER @V305066 00149000
  150. LA R0,FOUR @VA05214 00150000
  151. DMSFRET DWORDS=(0),LOC=(1),TYPCALL=BALR @VA05214 00150100
  152. SVC SVC11 RETURN TO PROBLEM PROGRAM @V305066 00151000
  153. DUMPPART L R5,EOCADR DUMP AS FAR AS EOCADR @V305066 00152000
  154. B CVT GO TO CONVERT ADDRESS @V305066 00153000
  155. CONVERT ST R5,WORK STORE ADDRESS @VA05214 00154000
  156. UNPK ZONE,WORK+1(4) UNPACK TO ZONED FORMAT @VA05214 00155000
  157. TR ZONE(6),TRTAB-240 CONVERT TO READABLE @VA05214 00156000
  158. BR R6 RETURN TO EXECUTE DUMP REQUEST @V305066 00157000
  159. EJECT 00158000
  160. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00159000
  161. * ERROR MESSAGES * 00160000
  162. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00161000
  163. SPACE 2 00162000
  164. ERR20W ST R5,SAVEAD STORE INVALID ADDRESS @V305066 00163000
  165. LA R5,SAVEAD POINT TO INVALID ADDRESS @V305066 00164000
  166. DMSERR NUM=20,LET=W,SUB=(HEX4A,(R5)),TEXT='INVALID PDUMP ADDRE*00165000
  167. SS ''........'' - NO DUMP OPERATION PERFORMED' @V305066 00166000
  168. B RELEASE NO OPERATION, CONTINUE PROCESSING@V305066 00167000
  169. EJECT 00168000
  170. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00169000
  171. * CONSTANTS * 00170000
  172. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00171000
  173. SPACE 2 00172000
  174. PLIST DC CL8'CP' @V305066 00173000
  175. DC CL8'DUMP' @V305066 00174000
  176. DC 6X'F0' @V305066 00175000
  177. DC CL1'-' @V305066 00176000
  178. LEN1 EQU *-PLIST LENGTH OF DUMP PLIST @V305066 00177000
  179. TRTAB DC C'0123456789ABCDEF' @VA05214 00177500
  180. EJECT 00178000
  181. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00179000
  182. * * 00180000
  183. * EQUATES * 00181000
  184. * * 00182000
  185. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00183000
  186. SPACE 2 00184000
  187. SVC6 EQU 6 SVC 6 @V305066 00185000
  188. SVC11 EQU 11 SVC 11 @V305066 00186000
  189. FOUR EQU 4 @VA06180 00187000
  190. HYPHEN EQU C'-' DASH @V305066 00188000
  191. EBCDIC EQU X'F0' INSURE PRINTABLE CHARACTER @V305066 00189000
  192. EJECT 00190000
  193. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00191000
  194. * DSECTS * 00192000
  195. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00193000
  196. SPACE 2 00194000
  197. FREE DSECT @V305066 00195000
  198. DS CL8 @V305066 00196000
  199. DS CL8 @V305066 00197000
  200. ADD1 DS CL6 @V305066 00198000
  201. DASH DS CL1 @V305066 00199000
  202. ADD2 DS CL6 @V305066 00200000
  203. LEN2 EQU *-FREE LENGTH OF PDUMP PLIST @V305066 00201000
  204. ORG FREE @VA05214 00201500
  205. SAVEAD DS 0F @VA05214 00202000
  206. WORK DS CL5 @VA05214 00203000
  207. ZONE DS CL7 @VA05214 00204000
  208. EJECT 00205000
  209. NUCON @V305066 00206000
  210. EJECT 00207000
  211. REGEQU @V305066 00208000
  212. EJECT 00209000
  213. BGCOM @V305066 00210000
  214. DMSDMP CSECT @V305066 00211000
  215. LTORG @V305066 00212000
  216. ORG DMSDMP+X'300' @V305066 00213000
  217. END 00214000
  218. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00216000
  219. *. * 00217000
  220. * MODULE NAME: * 00218000
  221. * DMSDMP * 00219000
  222. * * 00220000
  223. * FUNCTION: * 00221000
  224. * DMSDMP IS THE SIMULATED $$BDUMP/$$BPDUMP ROUTINE * 00222000
  225. * UNDER CMS/DOS. DMSDMP IS ENTERED WHENEVER A DUMP OR * 00223000
  226. * JDUMP MACRO IS ISSUED. DMSPDP IS AN ENTRY POINT FOR * 00224000
  227. * PDUMP REQUESTS. IN BOTH CASES, A 'CP DUMP' COMMAND * 00225000
  228. * IS ISSUED DIRECTING THE DUMP TO AN OFFLINE PRINTER. * 00226000
  229. * * 00227000
  230. * ATTRIBUTES: * 00228000
  231. * REENTRANT * 00229000
  232. * DISCONTIGUOUS SHARED SEGMENT * 00230000
  233. * * 00231000
  234. * ENTRY POINTS: * 00232000
  235. * DMSDMP, DMSPDP * 00233000
  236. * * 00234000
  237. * ENTRY CONDITIONS: * 00235000
  238. * DMSDMP IS INVOKED IN RESPONSE TO THE ISSUING OF A * 00236000
  239. * DUMP/JDUMP MACRO. AN SVC 2 IS ISSUED FOR $$BDUMP IN * 00237000
  240. * THE MACRO EXPANSION. DMSDMP WILL HANDLE CMS/DOS * 00238000
  241. * REQUESTS TO $$BDUMP. NO SPECIAL ENTRY CONDITIONS ARE * 00239000
  242. * ESTABLISHED. DMSPDP IS INVOKED IN RESPONSE TO THE * 00240000
  243. * ISSUING OF A PDUMP MACRO. AN SVC 2 IS ISSUED FOR * 00241000
  244. * $$BPDUMP. DMSPDP WILL HANDLE CMS/DOS REQUESTS TO * 00242000
  245. * $$BPDUMP. AT ENTRY TO DMSPDP, THE USER'S REGISTER 0 * 00243000
  246. * POINTS TO THE PDUMP ADDRESSES. * 00244000
  247. * * 00245000
  248. * EXIT CONDITIONS: * 00246000
  249. * DMSPDP - EXIT VIA SVC 11 (RETURN TO PROBLEM PROGRAM * 00247000
  250. * AFTER DUMP IS COMPLETE. * 00248000
  251. * * 00249000
  252. * DMSDMP - EXIT VIA SVC 6 (CANCEL). * 00250000
  253. * * 00251000
  254. * ERROR MESSAGES ISSUED BY THIS PROGRAM: * 00252000
  255. * * 00253000
  256. * DMSDMP020W INVALID PDUMP ADDRESS 'ADDRESS' - * 00254000
  257. * NO DUMP OPERATION PERFORMED * 00255000
  258. * * 00256000
  259. * EXPLANATION: ONE OF THE FOLLOWING * 00257000
  260. * CONDITIONS OCCURRED WHILE * 00258000
  261. * PERFORMING A PDUMP REQUEST: * 00259000
  262. * * 00260000
  263. * 1. ADD1/ADD2 NEGATIVE * 00261000
  264. * 2. ADD1 > PPEND IN BGCOM * 00262000
  265. * 3. ADD1 > OR = ADD2 * 00263000
  266. * * 00264000
  267. * CALLS TO OTHER ROUTINES: * 00265000
  268. * DMSFREB -OBTAIN FREE STORAGE * 00266000
  269. * DIAGNOSE (CODE 8) TO PERFORM PDUMP FUNCTION. * 00267000
  270. * DMSERR - ERROR MESSAGE * 00268000
  271. * * 00269000
  272. * EXTERNAL REFERENCES: * 00270000
  273. * NUCON, REGEQU, BGCOM, DOSAVE * 00271000
  274. * * 00272000
  275. * CALLED BY: * 00273000
  276. * DMSDMP WILL BE INVOKED IN RESPONSE TO SVC 2 FOR $$BDUMP* 00274000
  277. * OR $$BJDUMP. DMSPDP WILL BE INVOKED IN RESPONSE TO * 00275000
  278. * SVC 2 FOR $$BPDUMP. * 00276000
  279. * * 00277000
  280. * TABLES AND WORK AREAS: * 00278000
  281. * PLIST - 'CP DUMP' PLIST * 00279000
  282. * FREE - ACQUIRED FREE STORAGE FOR PURPOSES * 00280000
  283. * OF ADDRESSES, SWITCHES AND PLISTS SINCE * 00281000
  284. * DMSDMP/DMSPDP IS REENTRANT AND CANNOT MODIFY * 00282000
  285. * ITS OWN STORAGE. * 00283000
  286. * * 00284000
  287. * REGISTER USAGE: * 00285000
  288. * R0 - WORK REGISTER * 00286000
  289. * R1 - PLIST POINTER, WORK REGISTER * 00287000
  290. * R2 - FREE STORAGE POINTER * 00288000
  291. * R3 - WORK REGISTER * 00289000
  292. * R4 - WORK REGISTER * 00290000
  293. * R5 - ADD1 * 00291000
  294. * R6 - BAL RETURN REGISTER * 00292000
  295. * R7 - ADD2 * 00293000
  296. * R8 - NOT USED * 00294000
  297. * R9 - NOT USED * 00295000
  298. * R10 - NOT USED * 00296000
  299. * R11 - NOT USED * 00297000
  300. * R12 - BASE REGISTER * 00298000
  301. * R13 - NOT USED * 00299000
  302. * R14 - NOT USED * 00300000
  303. * R15 - NOT USED * 00301000
  304. * * 00302000
  305. * OPERATION: * 00303000
  306. * DMSDMP PERFORMS THE CP CONSOLE FUNCTION 'DUMP' AND * 00304000
  307. * DUMPS FROM LOCATION 0 TO THE TOP OF VIRTUAL STORAGE. * 00305000
  308. * DMSDMP EXITS WITH AN SVC 6 (CANCEL). * 00306000
  309. * * 00307000
  310. * DMSPDP FIRST VERIFIES THAT ADD1 AND ADD2 DO NOT VIOLATE* 00308000
  311. * ANY OF THE RULES FOR ADDRESSES AS OUTLINED ABOVE UNDER * 00309000
  312. * ERROR MESSAGES. IF ADD2 > PPEND IN BGCOM, ONLY STORAGE* 00310000
  313. * UP TO PPEND IS DUMPED. THE PDUMP IS ACCOMPLISHED * 00311000
  314. * VIA DIAGNOSE (CODE 8). PROCESSING CONTINUES AFTER * 00312000
  315. * THE DUMP OPERATION EXIT IS MADE FROM DMSPDP VIA * 00313000
  316. * SVC 11. * 00314000
  317. * * 00315000
  318. * * 00316000
  319. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00317000
  320. SPACE 2 00318000
  321. DMSDMP CSECT @V305066 00319000
  322. USING FREE,R2 FREE STORAGE ADDRESSABILITY @V305066 00320000
  323. DC CL8'$$BDUMP' @V305066 00321000
  324. ENTRY DMSPDP @V305066 00322000
  325. BALR R12,0 ESTABLISH OWN ADDRESSABILIIY @V305066 00323000
  326. USING *,R12 @V305066 00324000
  327. LA R1,PLIST PLIST POINTER @V305066 00325000
  328. LA R3,LEN1 LENGTH OF DUMP PLIST @V305066 00326000
  329. DC X'83',X'13',XL2'0008' DIAGNOSE FOR DUMP @V305066 00327000
  330. SVC 6 CANCEL JOB @V305066 00328000
  331. EJECT 00329000
  332. DMSPDP EQU * ENTRY POINT FOR PDUMP @V305066 00330000
  333. USING BGCOM,R3 PART. COMREG ADDRESSABILITY @V305066 00331000
  334. USING NUCON,0 @V305066 00332000
  335. DC CL8'$$BPDUMP' @V305066 00333000
  336. BALR R12,0 ESTABLISH OWN ADDRESSABILIY @V305066 00334000
  337. USING *,R12 @V305066 00335000
  338. L R3,ASYSREF ADDRESS PART. COMM. REGION @V305066 00336000
  339. LR R4,R0 SAVE POINTER TO PDUMP ADDRESSES @V305066 00337000
  340. LA R0,7 OBTAIN 7 DOUBLEWORDS FREE STOR. @V305066 00338000
  341. DMSFREE DWORDS=(0),TYPE=NUCLEUS,TYPCALL=BALR @V305066 00339000
  342. LR R2,R1 R2 CONTAINS FREE STORAGE POINTER @V305066 00340000
  343. L R5,0(R4) PDUMP ADD1 @V305066 00341000
  344. L R7,4(,R4) ADD2 @V305066 00342000
  345. CR R5,R7 ADD2 MUST BE > ADD1 @V305066 00343000
  346. BNL ERR20W IF NOT, ERROR @V305066 00344000
  347. LTR R5,R5 ADD1 MUST NOT BE NEGATIVE @V305066 00345000
  348. BM ERR20W ERROR IF NEGATIVE @V305066 00346000
  349. C R5,PPEND ADD1 > PPEND IN BGCOM @V305066 00347000
  350. BH ERR20W YES, NO OPERATION @V305066 00348000
  351. BAL R6,CONVERT CVT HEX ADD TO ZONED FORMAT @V305066 00349000
  352. MVC ADD1(6),ZONE ADD1 TO PLIST @V305066 00350000
  353. LTR R7,R7 ADD2 MUST NOT BE NEGATIVE @V305066 00351000
  354. BM ERR20W ERROR, NO OPERATION @V305066 00352000
  355. C R7,PPEND ADD2 > PPEND @V305066 00353000
  356. BH DUMPPART YES, ONLY DUMP AS FAR AS PPEND @V305066 00354000
  357. LR R5,R7 ADD2 TO R5 @V305066 00355000
  358. CVT BAL R6,CONVERT CVT HEX ADD TO ZONED FORMAT @V305066 00356000
  359. MVC ADD2(6),ZONE ADD2 TO PLIST @V305066 00357000
  360. MVC FREE(16),PLIST MOVE 'CP DUMP' TO PLIST @V305066 00358000
  361. MVI DASH,C'-' MOVE ADDRESS DELIMITER TO PLIST @V305066 00359000
  362. LA R1,FREE PLIST POINTER @V305066 00360000
  363. LA R4,LEN2 LENGTH OF PDUMP PLIST @V305066 00361000
  364. DC X'83',X'14',XL2'0008' DIAGNOSE FOR PDUMP @V305066 00362000
  365. RELEASE LR R1,R2 FREE STORAGE POINTER @V305066 00363000
  366. DMSFRET DWORDS=7,LOC=(1),TYPCALL=BALR @V305066 00364000
  367. SVC 11 RETURN TO PROBLEM PROGRAM @V305066 00365000
  368. DUMPPART L R5,PPEND DUMP AS FAR AS PPEND @V305066 00366000
  369. B CVT GO TO CONVERT ADDRESS @V305066 00367000
  370. CONVERT CVD R5,DOUBLE CVT HEX ADD TO DECIMAL @V305066 00368000
  371. UNPK ZONE(6),DOUBLE+5(3) UNPACK TO ZONED FORMAT @V305066 00369000
  372. OI ZONE+5,X'F0' MAKE LAST CHARARATER PRINTABLE @V305066 00370000
  373. BR R6 RETURN TO EXECUTE DUMP REQUEST @V305066 00371000
  374. EJECT 00372000
  375. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00373000
  376. * ERROR MESSAGES * 00374000
  377. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00375000
  378. SPACE 2 00376000
  379. ERR20W ST R5,SAVEAD STORE INVALID ADDRESS @V305066 00377000
  380. LA R5,SAVEAD POINT TO INVALID ADDRESS @V305066 00378000
  381. DMSERR NUM=20,LET=W,SUB=(HEX4A,(R5)),TEXT='INVALID PDUMP ADDRE*00379000
  382. SS ''........'' - NO DUMP OPERATION PERFORMED' @V305066 00380000
  383. B RELEASE NO OPERATION, CONTINUE @V305066 00381000
  384. EJECT 00382000
  385. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00383000
  386. * CONSTANTS * 00384000
  387. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00385000
  388. SPACE 2 00386000
  389. PLIST DC CL8'CP' @V305066 00387000
  390. DC CL8'DUMP' @V305066 00388000
  391. DC 6X'F0' @V305066 00389000
  392. DC CL1'-' @V305066 00390000
  393. LEN1 EQU *-PLIST LENGTH OF DUMP PLIST @V305066 00391000
  394. EJECT 00392000
  395. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00393000
  396. * DSECTS * 00394000
  397. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00395000
  398. SPACE 2 00396000
  399. FREE DSECT @V305066 00397000
  400. DS CL8 @V305066 00398000
  401. DS CL8 @V305066 00399000
  402. ADD1 DS CL6 @V305066 00400000
  403. DASH DS CL1 @V305066 00401000
  404. ADD2 DS CL6 @V305066 00402000
  405. LEN2 EQU *-FREE LENGTH OF PDUMP PLIST @V305066 00403000
  406. DOUBLE DS D @V305066 00404000
  407. ZONE DS CL6 @V305066 00405000
  408. SAVEAD DS F @V305066 00406000
  409. EJECT 00407000
  410. NUCON @V305066 00408000
  411. REGEQU @V305066 00409000
  412. BGCOM @V305066 00410000
  413. DMSDMP CSECT @V305066 00411000
  414. LTORG @V305066 00412000
  415. ORG DMSDMP+X'300' @V305066 00413000
  416. END 00414000
ibm/vm370-lib/cms/dmsdmp.assemble_src.txt ยท Last modified: 2023/08/06 13:35 by Site Administrator