Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!ucbvax!CS.BU.EDU!encore!jcallen From: encore!jcallen@CS.BU.EDU (Jerry Callen) Newsgroups: comp.lang.asm370 Subject: Macro to dump a piece of core and the registers MVS/XA Message-ID: <8912142300.AA02524@brazos.rice.edu> Date: 14 Dec 89 22:07:45 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List Distribution: inet Organization: The Internet Lines: 22 >Under VSE there is a macro called JDUMP which is used to dump a piece of >core between two specified locations and dump the registers. It is a >handy debugger for batch assembler programs. Now that I'm working on >MVS/XA I have been pouring over the macro books and have not found an >equivalent. Can anybody point me in the right direction? Look at the SNAP macro. It is, unfortunately, somewhat cumbersome to use; you also have to set up a DCB for the SNAP to use to write the dump. The manuals you need are: Supervisor Services and Macros (for the SNAP macro) Data Administration Macro Reference (for DCB/OPEN/CLOSE macros) If you are going to be doing any extensive assembler work on MVS/XA you should get to know the TSO "TEST" command. TEST is an interactive debugger, and it's actually pretty good (if somewhat limited). It's biggest problem is that you can't simultaneously be debugging a program and looking at the source code (unless you either print out the program or use a session manager). Ugh. -- Jerry Callen jcallen@encore.encore.com