Erika, Simon
Thank you for coming back on this.

Up until the time of raising this thread, I was working with
RETENTIONMETHOD(EXPDT) specified, and getting the results I described.
Having sent my email, I moved on to RETENTIONMETHOD(VRSEL), but that didn't
help a lot - the EXPDT specified on the DD statements I was using had no
effect.
So I moved back to using EXPDT and UNCATALOG(N). My RETENTIONMETHOD
parameter is now:
RETENTIONMETHOD(EXPDT(CATLGDAYS(0) GDG(RETPD(0) WHILECATALOG(ON))
LASTREF(0) NOGDG(RETPD(0) WHILECATALOG(ON)) NOLASTREF RETAINBY(VOLUME)))
which gave results that were close to what I think should happen.

With this parameter in control, If I create a tape file with EXPDT=99000
specified then delete or uncatalog the file, and run the scratch
housekeeping job (EXPROC), then the tape that is used should be released,
to my way of thinking.
What actually happens is that the tape is tagged with an expiry date of
'today', sure, but it turns out there is also an expiry *time* to take in
to account. I don't know the exact method used to calculate this time
value, but it appears to be something like: 'current time plus 90 minutes,
rounded to the nearest hour'. So if I create a file at 9:00 and then delete
it, no amount of scratch processing will release the tape before 10:00. A
file created and deleted at 9:31 means that the associated tape volume
doesn't get released until 11:00.

*sigh* there's got to be a way around this. (going back to the manuals...)

Regards
Sean

On Tue, 30 Jul 2019 at 16:46, Erika Dawson <bro...@us.ibm.com> wrote:

> A good source of information on the different retention method options in
> RMM is the DFSMSrmm Primer:
> http://www.redbooks.ibm.com/abstracts/sg245983.html?Open ... this IBM
> Redbook provides a highlight of the different functions within RMM
> including the different retention methods that can be used ... retention
> through VRS policies RETENTIONMETHOD(VRSEL) and retention through
> expiration RETENTIONMETHOD(EXPDT).   After that you can look at Chapter 3
> Retention Methods in the following RMM manual ...
> https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R3sc236873/$file/idarm00_v2r3.pdf
> for an overview of each.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to