This is exactly what I've recently done and it works perfect on 1.09 On Fri, Nov 20, 2009 at 6:29 PM, Donald Russell <russell....@gmail.com>wrote:
> On Fri, Nov 20, 2009 at 10:34, Tim Hare <tim.h...@ssrc.myflorida.com> > wrote: > > > In a 2008 thread on people using IEFBR14 to do deletes there as this: > > > > "Indeed, how should Allocation know whether the program about to execute > > wants to "do something" with the dataset(s) before deleting it/them? > > Perhaps Allocation could be "educated" to issue HDELETE iff the dataset > > is migrated *AND* DISP=(,DELETE) *AND* PGM=IEFBR14." > > > > > //S1 EXEC PGM=IEFBR14 > //FILE1 DD DSN=...,DISP=(OLD,DELETE),UNIT=(,,DEFER) > > I believe this will delete a migrated dataset without recalling it, because > IIRC the DEFER option on UNIT says, don't allocate a device for this until > the dataset is opened... since IEFBR14 doesn't open the dataset, it's not > allocated to a device and there's no need to recall it. > > YMMV... It's been a while. :-) > > ---------------------------------------------------------------------- > 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