tsm: ADSM>q backupset * * todate=04/04/2003
ANR2020E QUERY BACKUPSET: Invalid parameter - TODATE.
ANS8001I Return code 3.

tsm: ADSM>q backupset * * begindate=04/03/2003
ANR2034E QUERY BACKUPSET: No match found using this criteria.
ANS8001I Return code 11.

tsm: ADSM>q backupset * * enddate=04/04/2003
ANR2034E QUERY BACKUPSET: No match found using this criteria.
ANS8001I Return code 11.

tsm: ADSM>q backupset * * begindate=04/02/2003 enddate=04/04/2003
ANR2034E QUERY BACKUPSET: No match found using this criteria.
ANS8001I Return code 11.

My help says a wildcard is valid in the del backupset command - however, I
still get a no match message.

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

tsm: ADSM>del backupset js11 js11bkupst begindate=04/02/2003
enddate=04/04/2003
whereret=10
ANR2034E DELETE BACKUPSET: No match found using this criteria.
ANS8001I Return code 11.

tsm: ADSM>del backupset * * begindate=04/02/2003 enddate=04/04/2003
ANR2034E DELETE BACKUPSET: No match found using this criteria.
ANS8001I Return code 11.
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] Behalf Of
Stapleton, Mark
Sent: Thursday, August 05, 2004 2:04 PM
To: [EMAIL PROTECTED]
Subject: Re: volhistory error


From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] 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

Reply via email to