Thanks everyone. Dennis
On Fri, 10 Apr 2009 16:27:37 -0500, Mark Zelden <mark.zel...@zurichna.com> wrote: >On Fri, 10 Apr 2009 14:18:41 -0700, Schwarz, Barry A ><barry.a.schw...@boeing.com> wrote: > >>Unfortunately, the quotes are only valid for PATH, not DATASET. >> >>I cannot find any way to eliminate the HLQ from the TO operand. >> >>The following will work >> CHANGE DATASET(ZOSMST.SYS1.*,SYS1.*). >>but you will have to generate a command for each "real" HLQ (EOY, CEE, >>TCPIP, ...) > >Yep... here is a sample I have saved in my jcl lib: > >SET BDY(tgt_zone) . >ZONEEDIT DDDEF . >CHANGE DA(TGTSYS.GIM.*,GIM.*) . >CHANGE DA(TGTSYS.ICQ.*,ICQ.*) . >CHANGE DA(TGTSYS.ISF.*,ISF.*) . >CHANGE DA(TGTSYS.ISP.*,ISP.*) . >CHANGE DA(TGTSYS.ISR.*,ISR.*) . >CHANGE DA(TGTSYS.SYS1.*,SYS1.*) . >CHANGE VOLUME(OLDVOL,NEWVOL). >ENDZONEEDIT . >SET BDY(tgt_zone) . >ZONEEDIT DDDEF . >CHANGE PATH('/'*,'/service/'*). >ENDZONEEDIT. > >But most shops I've been at in the last 10 years use SYS1 as the HLQ for >pretty much everything now. > >If all else fails.. > >SET BDY(tgt_zone) . >UNLOAD DDDEF. > >Modify the output, and feed back in. > >Mark >-- >Mark Zelden >Sr. Software and Systems Architect - z/OS Team Lead >Zurich North America / Farmers Insurance Group - ZFUS G-ITO >mailto:mark.zel...@zurichna.com >z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/ >Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.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 ---------------------------------------------------------------------- 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