ADSM-L

Re: volhistory error

2004-08-05 15:04:26
Subject: Re: volhistory error
From: "Stapleton, Mark" <mark.stapleton AT BERBEE DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 5 Aug 2004 14:04:06 -0500
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On 
Behalf Of Slag, Jerry B.
>TSM currently at 5.2.2.2 on z/OS 1.4
>The volume history file shows a backupset on tape 101334 but a query or
>delete for backupset returns nothing.
>How do I get rid of the entry in the volume history?
>
>tsm: ADSM>q volh type=backupset
>
>       Date/Time: 04/03/2003 16:20:36
>     Volume Type: BACKUPSET
>   Backup Series:
>Backup Operation:
>      Volume Seq: 1
>    Device Class: MAGSTAR
>     Volume Name: 101334
> Volume Location:
>         Command: gen backupset js11 js11bkupst devclass=magstar ret=10
>
>tsm: ADSM>q backupset * *
>ANR2034E QUERY BACKUPSET: No match found using this criteria.
>ANS8001I Return code 11.

Try 

  QUERY BACKUPSET * * TODATE=04/04/2003

>tsm: ADSM>del backupset * *
>ANR2034E DELETE BACKUPSET: No match found using this criteria.
>ANS8001I Return code 11.

A look at HELP DELETE BACKUPSET shows that wildcards are not supported.
(If they were, it would say so, as it does for the QUERY BACKUPSET
command.) The proper syntax for the command would be

  DELETE BACKUPSET <node_name> <backupsetname>

>tsm: ADSM>q vol 101334
>ANR2034E QUERY VOLUME: No match found using this criteria.
>ANS8001I Return code 11.

Backupset tapes don't show up in a QUERY VOLUME command; only tapes that
belong to a storage pool show up with this command.

--
Mark Stapleton

<Prev in Thread] Current Thread [Next in Thread>