Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!FERRIS.CRAY.COM!dbc From: dbc@FERRIS.CRAY.COM (Daryl Coulthart) Newsgroups: comp.lang.asm370 Subject: Re: Macro to dump a piece of core and the registers MVS/XA Message-ID: <8912142004.AA00247@brazos.rice.edu> Date: 14 Dec 89 16:18:22 GMT References: <8912131906.AA11920@brazos.rice.edu> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List Distribution: inet Organization: The Internet Lines: 14 MVS has a set of macros to use to dump registers and storage. The main macro is snap. It should be used in conjunction with OPEN ... SNAP... CLOSE. There must be a DCB to define the file, and A JCL DD statement or a TSO allocate to define the snap file. OPEN (SNAP,OUTPUT) SNAP DBC=SNAP,id=001,pdata=(PSW,REGS), X STORAGE=(Start,end) CLOSE (SNAP) NAP DBC DDNAME=SNAPPRT,LRECL=125,BLKSIZE=882, X DSORG=PS,MACRF=(W),RECFM=VBA //SNAPPRT dd sysout=X