Re: Deleting multiple data sets

2014-02-22 Thread Paul Gilmartin
On 2014-02-21, at 16:23, Neil Duffee wrote: > > Another thought... you wouldn't be lucky enough to use the same number of > levels in your test naming scheme ie. HLQ.LV1.LV2.LV3.LLQ[.DATA|.INDEX]? If > so, removing "Include Additional Qualifiers" would drop all the .DATA & > .INDEX entries. >

Re: Deleting multiple data sets

2014-02-22 Thread Jon Perryman
TSO delete allows a single * at the end of the dataset name (DELETE 'MY.DSN.*'). If you can change your datasets to follow this convention, then you can easily delete the datasets.  Jon Perryman -- For IBM-MAIN subscribe / si

Re: Deleting multiple data sets

2014-02-21 Thread Skip Robinson
efficient if coded right. If not, oops. . . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Program Co-Manager 626-302-7535 Office 323-715-0595 Mobile jo.skip.robin...@sce.com From: Neil Duffee To: IBM-MAIN@LISTSERV.UA.EDU, Date: 02/21/20

Re: Deleting multiple data sets

2014-02-21 Thread Neil Duffee
ginal Message- From: Paul Gilmartin [mailto:pau..g..bo...@ai...com] Sent: February 20, 2014 21:29 Subject: Re: Deleting multiple data sets On Thu, 20 Feb 2014 20:17:46 -0600, Mike Schwab wrote: >HDEL in front of each dataset name, instead of D. >Type HDEL on the first one, = on the rest. >

Re: Deleting multiple data sets

2014-02-21 Thread Pommier, Rex
-Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of R.S. Sent: Friday, February 21, 2014 8:07 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Deleting multiple data sets W dniu 2014-02-21 14:43, Pommier, Rex pisze: > Ant, > > Is DF/

Re: Deleting multiple data sets

2014-02-21 Thread Nims,Alva John (Al)
For IEFBR14 two things: #1. I constantly use; DISP=(MOD,DELETE), so if the data set exists; it will be allocated and then deleted, but if the data set does not exist; it will be created and then deleted. I use SPACE=(TRK,(0)) in the IEFBR14 step for a data set that I will later define with DISP

Re: Deleting multiple data sets

2014-02-21 Thread R.S.
W dniu 2014-02-21 14:43, Pommier, Rex pisze: Ant, Is DF/DSS smart enough to notice that if I am sending the output to DD DUMMY to not recall HSM migrated datasets before deleting them? AFAIK, DSS does not touch migrated datasets. It doesn't matter whether you want to dump it to real dataset

Re: Deleting multiple data sets

2014-02-21 Thread Pommier, Rex
, February 20, 2014 9:01 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Deleting multiple data sets DF/DSS can be useful for deleting datasets, with all its filtering capabilities on dataset attributes as well as dataset name... INCLUDE / EXCLUDE / BY Ant. -Original Message- From: IBM Mainframe

Re: Deleting multiple data sets

2014-02-21 Thread Elardus Engelbrecht
Sebastian Welton wrote: >Thanks for writing this. I couldn't find it anywhere although I knew it >existed...It now exists in my list of notes of things not to forget, ever! You're most welcome! It was my pleasure to be able to help you. Just don't forget to remember to preserve that list of no

Re: Deleting multiple data sets

2014-02-21 Thread Hunkeler, Peter
>HDEL doesn't have the option of confirming each dataset. And I don't >like to turn off the confirmation. I didn't say you should use HDEL. I said DSLIST will issue an HDEL if the data set is migrated. It does so only after the confirmation prompt, if you have delete confirmation on. BTW, in th

Re: Deleting multiple data sets

2014-02-21 Thread Sebastian Welton
On Fri, 21 Feb 2014 03:16:19 -0600, Elardus Engelbrecht wrote: Thanks for writing this. I couldn't find it anywhere although I knew it existed...It now exists in my list of notes of things not to forget, ever! > >Why? Use //D before first DSN and // at last one in =3.4 list. Turn off >confirm

Re: Deleting multiple data sets

2014-02-21 Thread Elardus Engelbrecht
Paul Gilmartin wrote: >Often, after finishing a series of tests, I have several dozen data sets to >delete. Actually, I'm careless; often I don't delete them until the next time >I want to run similar tests, by which time most are migrated. Others made good suggestions, but I believe my sugges

Re: Deleting multiple data sets

2014-02-21 Thread Mike Schwab
HDEL doesn't have the option of confirming each dataset. And I don't like to turn off the confirmation. On Fri, Feb 21, 2014 at 2:21 AM, Hunkeler, Peter wrote: >>HDEL in front of each dataset name, instead of D. >>Type HDEL on the first one, = on the rest. > > DSLIST is smart enough to recognize

Re: Deleting multiple data sets

2014-02-21 Thread Hunkeler, Peter
>HDEL in front of each dataset name, instead of D. >Type HDEL on the first one, = on the rest. DSLIST is smart enough to recognize when a data set is migrated. It will issue HDELETE in the background. -- Peter Hunkeler -- For I

Re: Deleting multiple data sets

2014-02-20 Thread Shane Ginnane
On Fri, 21 Feb 2014 12:31:15 +0930, Anthony Thompson wrote: >DF/DSS can be useful for deleting datasets, with all its filtering >capabilities on dataset attributes as well as dataset name... INCLUDE / >EXCLUDE / BY And just imagine if IDCAMS DELETE had full regex (PCRE even) support rather th

Re: Deleting multiple data sets

2014-02-20 Thread Anthony Thompson
, 21 February 2014 11:48 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Deleting multiple data sets HDEL in front of each dataset name, instead of D. Type HDEL on the first one, = on the rest. On Thu, Feb 20, 2014 at 8:05 PM, Paul Gilmartin wrote: > Often, after finishing a series of tests, I h

Re: Deleting multiple data sets

2014-02-20 Thread Paul Gilmartin
On Thu, 20 Feb 2014 20:17:46 -0600, Mike Schwab wrote: >HDEL in front of each dataset name, instead of D. >Type HDEL on the first one, = on the rest. > Some of them aren't migrated. But I could go back and get them later. Actually, I think DSLIST is smart enough to DTRT if I just type D. (But I

Re: Deleting multiple data sets

2014-02-20 Thread Mike Schwab
HDEL in front of each dataset name, instead of D. Type HDEL on the first one, = on the rest. On Thu, Feb 20, 2014 at 8:05 PM, Paul Gilmartin wrote: > Often, after finishing a series of tests, I have several dozen data sets > to delete. Actually, I'm careless; often I don't delete them until the