On Sat, Nov 21, 2009 at 08:08, Paul Gilmartin <paulgboul...@aim.com> wrote:

> On Fri, 20 Nov 2009 21:25:38 -0700, Sam Siegel wrote:
>
> >This is exactly what I've recently done and it works perfect on 1.09
> >
> How did you verify that the data set was not recalled before it
> was deleted.
>
> >On Fri, Nov 20, 2009 at 6:29 PM, Donald Russell wrote:
> >
> >> //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. :-)
> >>
> This is partly rendered moot by changes in 1.11.
>
> I suspect this doesn't work as you wish for a couple reasons:
>
> o Verifiably, on 1.10.  I migrated a data set, then ran the job step:
>
>      //STEP     EXEC  PGM=IEFBR14
>      //D         DD   DISP=OLD,UNIT=(,,DEFER),
>      //  DSN=&SYSUID...
>
>  The data set was recalled.  Even a better test:  We have a test
>  system on which HSM is not enabled.  There, I submitted the
>  job with DISP=(OLD,DELETE),UNIT=(,,DEFER).  There, it hung on WTOR:
>
>      ARC0050A DFSMSHSM IS NOT ACTIVE - START DFSMSHSM
>
> o Suspected; not verifiable.  Delete processing in allocation may
>  require that the data set reside on a real volume, not merely be
>  defined in the MCDS.
>
>

I suspect your "better test" isn't very conclusive:
Because there's a WTOR saying to start HSM doesn't mean the data set is
going to be recalled. I would expect HSM must be running in order to delete
a migrated dataset... HSM has to be told at some level to delete it.

Your first test I assume you see messages in the job log about the dataset
being recalled?
Does it make a difference if the dataset is migrated to second level or not?

I don't know which messages you saw that lead you to believe is was
recalled.

I think a conclusive test would be ...
A - migrate a dataset
B - IEFBR14 DISP=OLD,UNIT=(,,DEFER)
C - Is dataset recalled or not?

Repeat with step A being "migrate to second level" (just for fun)

I doubt very much the DISP parm matters, either the dataset will be recalled
or it won't, based on the DEFER option.

----------------------------------------------------------------------
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

Reply via email to