You can use SMF exit IEFU29 to dump. A sample IEFU29 exit routine is provided in SYS1.SAMPLIB in member IEEU29. This routine is entered when an SMF dataset is switched. On entry, the SMF data set name which was recording before the switch is passed to the routine. Depending on which data set name is passed, the sample exit uses SVC 34 to issue a START DUMPXY,DSNAME=dsname operator command.
A similar exit, IEFU29L, is available for dumping from logstreams. Details on both of these is in manual MVS Installation Exits on the MVS shelf. - Don Imbriale On Thu, Jan 14, 2010 at 11:07 AM, George Rodriguez < [email protected]> wrote: > Hi ListServ Listeners, > > > > I can't remember where, but I read that this program (SMFDUMP) can be > used to dump the SMF records from the standard SYS1.MAN_ datasets. I > found a copy of the source in SYS2.IPO1.SAMPLIB but before I implement > this new process, I need to ask a few questions. The reason I want to > change the process is because the utility that I currently use > (IFASMFDP) always ends with a return code (RC) of 8 and this program > (SMFDUMP) ends with a RC of 0. In short, the program (SMFDUMP) has > intelligence and knows which of the 3 SYS1.MAN_ datasets the operating > system is writing to and it does a switch to prevent the RC of 8. > > > > Now to the questions: > > > > 1. Is there a newer version of SMFDUMP? > > 2. If there is, where do I find it? > > 3. Is anyone using IFASMFDP to dump the SMF records? > > 4. How are you preventing the RC of 8? > > > > Here's the utility IFASMFDP JCL, in case I'm doing something wrong: > > > > //STEP1 EXEC PGM=IFASMFDP > > //DUMPIN1 DD DSN=SYS1.MAN1,DISP=SHR > > //DUMPIN2 DD DSN=SYS1.MAN2,DISP=SHR > > //DUMPIN3 DD DSN=SYS1.MAN3,DISP=SHR > > //DUMPOUT1 DD DISP=MOD,DSN=SYS2.SMF.WEEKLY.CICS.DUMP > > //DUMPOUT2 DD DISP=MOD,DSN=SYS2.SMF.WEEKLY.DB2.DUMP > > //DUMPOUT3 DD DISP=MOD,DSN=SYS2.SMF.WEEKLY.MVS.DUMP > > //SYSPRINT DD SYSOUT=X > > //SYSIN DD DSN=SYS2.PROCLIB(SMFDAY),DISP=SHR > > INDD(DUMPIN1,OPTIONS(ALL)) > > INDD(DUMPIN2,OPTIONS(ALL)) > > INDD(DUMPIN3,OPTIONS(ALL)) > > OUTDD(DUMPOUT1,TYPE(110)) > > OUTDD(DUMPOUT2,TYPE(100,101,102)) > > OUTDD(DUMPOUT3,NOTYPE(100,101,102,110)) > > /* > > > > George Rodriguez > > Specialist II - IT Solutions > > Application Support / Quality Assurance > > PX - 47652 > > (561) 357-7652 (office) > > (561) 707-3496 (mobile) > > School District of Palm Beach County > > 3348 Forest Hill Blvd. > > Room B-332 > > West Palm Beach, FL. 33406-5869 > > Florida's Only A-Rated Urban District For Five Consecutive Years > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

