Thompson, Steve wrote: > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On > Behalf Of Don Poitras > Sent: Wednesday, January 06, 2010 12:10 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Where have the control blocks gone? > > <SNIPPAGE> > > Use FREE=CLOSE on the SYSMDUMP DD. > <Snip> > > That only works if you are not interested in any other ABEND or dump > producing event that occurs. > > If DISP=MOD would work for SYSMDUMP, I could figure out how to split the > dumps by processing the file with REXX or some such. > > [I have a special case with my stuff -- the things I work on are > multi-threaded, multi-tasking and one failure may not be related at all > to another.] > > Let me give you an example: Program "DRIVER" is running. In a daughter > TCB a program is writing to DASD and gets an Sx37. Let's say that 10 > seconds later, under a different TCB the program I am interested in > (SHUCKS) finally gets the S0C3 I set up. That's the dump I really want > to look at. > > But let's have even more fun. Before I can get to the dump DSN with > IEBGENER (which would have to be invoked within this JOBSTEP to deal > with the DISP=OLD...), another program under a different TCB ABENDS. I > just lost the dump I'm really interested in. In this case, my only > choice for this is a SLIP. > > So the SYSMDUMP just can't handle this level of complexity. > > Welcome to the world of a developer. Thankfully, I have the ability to > issue MVS commands and can set SLIPs when and as I need them. > > But for the typical programmer/analyst in a production world situation > that does get to use IPCS, you don't get to do this. > > There's the rub.
You can have multiple SYSMDUMPs. e.g. //SYSMDUMP DD DISP=SHR,DSN=SASDTP.SYSMDUMP,FREE=CLOSE //SYSMDUMP DD DISP=SHR,DSN=SASDTP.SYSMDUM2,FREE=CLOSE and if you just can't stand not getting _every_ dump, code a SYSUDUMP as the last one (without FREE=CLOSE): -- Don Poitras - zSeries R & D - SAS Institute Inc. - SAS Campus Drive mailto:sas...@sas.com (919)531-5637 Fax:677-4444 Cary, NC 27513 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html