ARCHLOG Datasets that are Migrated by HSM

Bob Hale

ARCHLOG Datasets that are Migrated by HSM
We send our Archlogs to dasd and then let HSM migrate them to tape. DB2
is setup to retain the logs for 15 days. HSM was setup to retain them
for 14 days. Problem is that the migrated files never get deleted. Has
anyone else run into this issue? Or does DB2 delete the logs by volser
number?



Bob

From: DB2 Data Base Discussion List [mailto:[login to unmask email] On
Behalf Of [login to unmask email]
Sent: Wednesday, December 10, 2008 7:41 AM
To: [login to unmask email]
Subject: [DB2-L] CF questions when recovering a db2 sysplex setup at DR




HI all

We are about to mirror just dasd from our prod site to our dr site...
How is a DB2 recover handled when pages in the coupling facility are not
at the dr site.

Tom



________________________________

IDUG 2009 - North America * May 11-15, 2009 * Denver, CO, USA
< http://idug.org/lsNA >

The IDUG DB2-L Listserv is only part of your membership in IDUG. The
DB2-L list archives, FAQ, and delivery preferences are at IDUG.ORG
< http://www.idug.org/lsidug > under the Listserv tab. While at the site,
you can also access the IDUG Online Learning Center, Tech Library and
Code Place, see the latest IDUG conference information
< http://www.idug.org/lsconf > , and much more. If you have not yet signed
up for Basic Membership in IDUG, available at no cost, click on Member
Services < http://www.idug.org/lsms >


-----------------------------------------------------

The information transmitted is intended only for the person
or entity to which it is addressed and may contain confidential
and/or privileged material.
Any review, retransmission, dissemination or other use of,
or taking of any action in reliance upon this information
by persons or entities other than the intended recipient is
prohibited.
If you received this in error, please contact the sender
and delete the material from any computer.

-----------------------------------------------------

______________________________________________________________________

* IDUG 2009 Denver, CO, USA * May 11-15, 2009 * http://IDUG.ORG/lsNA *
______________________________________________________________________



The IDUG DB2-L Listserv is only part of your membership in IDUG. The DB2-L list archives, FAQ, and delivery preferences are at http://www.idug.org/lsidug under the Listserv tab. While at the site, you can also access the IDUG Online Learning Center, Tech Library and Code Place, see the latest IDUG conference information and much more. If you have not yet signed up for Basic Membership in IDUG, available at no cost, click on Member Services at http://www.idug.org/lsms

Sandra Lakenburger

Re: ARCHLOG Datasets that are Migrated by HSM
(in response to Bob Hale)
If you're writing your archives to dasd, you'll need to scratch them manually
once they pass their expiration date. It doesn't happen automatically the way
it does with tape.

Sandra Lakenburger
USDA-NITC

______________________________________________________________________

* IDUG 2009 Denver, CO, USA * May 11-15, 2009 * http://IDUG.ORG/lsNA *
______________________________________________________________________



The IDUG DB2-L Listserv is only part of your membership in IDUG. The DB2-L list archives, FAQ, and delivery preferences are at http://www.idug.org/lsidug under the Listserv tab. While at the site, you can also access the IDUG Online Learning Center, Tech Library and Code Place, see the latest IDUG conference information and much more. If you have not yet signed up for Basic Membership in IDUG, available at no cost, click on Member Services at http://www.idug.org/lsms

Philip Sevetson

Re: ARCHLOG Datasets that are Migrated by HSM
(in response to Sandra Lakenburger)
If you're writing to SMS-managed volumes, you can set the archives up as
a class which SMS will delete after a specified age.

--Phil S.

-----Original Message-----
From: DB2 Data Base Discussion List [mailto:[login to unmask email] On
Behalf Of Sandra Lakenburger
Sent: Thursday, December 11, 2008 10:11 AM
To: [login to unmask email]
Subject: Re: [DB2-L] ARCHLOG Datasets that are Migrated by HSM

If you're writing your archives to dasd, you'll need to scratch them
manually
once they pass their expiration date. It doesn't happen automatically
the way
it does with tape.

Sandra Lakenburger
USDA-NITC

______________________________________________________________________

* IDUG 2009 Denver, CO, USA * May 11-15, 2009 * http://IDUG.ORG/lsNA *
______________________________________________________________________



The IDUG DB2-L Listserv is only part of your membership in IDUG. The
DB2-L list archives, FAQ, and delivery preferences are at
http://www.idug.org/lsidug under the Listserv tab. While at the site,
you can also access the IDUG Online Learning Center, Tech Library and
Code Place, see the latest IDUG conference information and much more.
If you have not yet signed up for Basic Membership in IDUG, available at
no cost, click on Member Services at http://www.idug.org/lsms


=========
Confidentiality Notice: This e-mail communication, and any attachments, contains confidential and privileged information for the exclusive use of the recipient(s) named above. If you are not an intended recipient, or the employee or agent responsible to deliver it to an intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify me immediately by replying to this message and delete this communication from your computer. Thank you.

Any opinions, expressed or implied, presented are solely those of the author and do not necessarily represent the opinions of the agency or the City.
=========

______________________________________________________________________

* IDUG 2009 Denver, CO, USA * May 11-15, 2009 * http://IDUG.ORG/lsNA *
______________________________________________________________________



The IDUG DB2-L Listserv is only part of your membership in IDUG. The DB2-L list archives, FAQ, and delivery preferences are at http://www.idug.org/lsidug under the Listserv tab. While at the site, you can also access the IDUG Online Learning Center, Tech Library and Code Place, see the latest IDUG conference information and much more. If you have not yet signed up for Basic Membership in IDUG, available at no cost, click on Member Services at http://www.idug.org/lsms

James Campbell

Re: ARCHLOG Datasets that are Migrated by HSM
(in response to Philip Sevetson)
I suspect that when you write "DB2 is setup to retain the logs for 15 days"
you mean you have ARCRETN=15 - or, in JCL terms, RETPD=15. These do not
mean "keep for 15 days" - they actually mean "it expires on the 15'th day".
ARCRETN/RETPD=1 means a dataset can be deleted today, not keep for the
rest of today.

James Campbell

On Wed, 10 Dec 2008 11:12:54 -0600, Hale, Bob <[login to unmask email]>
wrote:

>We send our Archlogs to dasd and then let HSM migrate them to tape. DB2
>is setup to retain the logs for 15 days. HSM was setup to retain them
>for 14 days. Problem is that the migrated files never get deleted. Has
>anyone else run into this issue? Or does DB2 delete the logs by volser
>number?
>
>
>
>Bob
>

______________________________________________________________________

* IDUG 2009 Denver, CO, USA * May 11-15, 2009 * http://IDUG.ORG/lsNA *
______________________________________________________________________



The IDUG DB2-L Listserv is only part of your membership in IDUG. The DB2-L list archives, FAQ, and delivery preferences are at http://www.idug.org/lsidug under the Listserv tab. While at the site, you can also access the IDUG Online Learning Center, Tech Library and Code Place, see the latest IDUG conference information and much more. If you have not yet signed up for Basic Membership in IDUG, available at no cost, click on Member Services at http://www.idug.org/lsms