Oh dear - I feel a bit guilty just trying to answer the original question, but anyway here's how we do it.
We use the tools System Automation and MXI in the process, and what we do is at every JES2 shutdown (i.e. pre-IPL shutdown as far as intent goes, and our IPLs are monthly), we run an SA REXX exec which builds and issues a string of start commands for a defrag proc sub=mstr (by parsing MXI output, which includes storage group). The started proc builds the Defrag input stream per instance (more REXX) (in particular excludes a few datasets (TWS and JES2 related)). As these jobs run at the end of the shutdown process, most subsystems are down, so fewer datasets are in use, and a more through effect. Within a sysplex, of course the effect would be diluted - we have code to focus on image-specific volumes where we can. We have a number of images that are not in a sysplex (at least as volume sharing goes) which is where the process was originally implemented, and is most effective. It adds a little to shutdown time, but for us that is OK. The output is saved in datasets, although we have never had a problem with this process yet. The process is home-grown and REXX heavy I'm afraid. Best regards, David Tidy Tel:(31)115-67-1745 IS Technical Management/SAP-Mf Fax:(31)115-67-1762 Dow Benelux B.V. Mailto:dt...@dow.com -----Original Message----- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Mark Pace Sent: 04 March 2010 19:23 To: IBM-MAIN@bama.ua.edu Subject: Defrag Each day I run a Compress, Release, and Defrag on each volume in my SMS DASD Storage group. Some of the volumes still remain pretty fragmented. Is there a way to defrag the Storage Group? -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317 ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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