You could create dummy entries for a secondary file that does not really
exist. Let's say you have a tape with 15 data sets on it; you can use
TMSAGGR or TMSUDSNB to create a file-16 in the TMC (chained to file-15 on
that specific volume). Now, when the tape is scratched all secondary files
are un-cataloged (including this dummy entry). However, the file does not
actually exist on the tape; so a tape-map of the volume will NOT find it.

If you create a catalog entry that does not exist on the tape and you do not
update the TMC however, you are correct that the dummy file will not be
un-cataloged when the tape is scratched (since there is no pointer back to
it). That is why you need to have a dummy entry in the TMC. That will allow
it to be un-cataloged when the volume is scratched.

Hope this helps.
Russell Witt
CA 1 L2 Support Manager

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]]on
Behalf Of Paul Gilmartin
Sent: Friday, July 02, 2010 9:13 AM
To: [email protected]
Subject: Re: Cataloguing fake tape datasets?


On Fri, 2 Jul 2010 10:11:28 +0200, R.S. wrote:

>Paul Gilmartin pisze:
>> In order to keep track of the few tapes I use, without covering
>> my walls with Post-Its identifying volsers, when possible I append
>> a small data set at the end of each with a data set name
>> identifying the purpose and creation date.
>
>That's why people use RMM or CA-1, or other TMS.
>
I suppose my bias is that I'm familiar with DSLIST; for CA-1 I'd
need to learn YA UI.

>Answering to your question - DEF NONVSAM can catalog non-existent
>dataset on non-existent tape. The only "true" value is date.
>
Will CA-1 let me create handles or aliases in the TMC without
actual data sets on the tapes?  (My only problem is that testers
scan the tapes and complain about undocumented data sets that I
use as handles.)

Most of my tapes are for testing; they expire in a week or a month
and CA-1 nicely scratches them and removes them from the VSAM
catalog.  If I catalog a handle in the VSAM catalog, would CA-1
be aware of it and uncatalog it when it scratches the tape?  I
fear not.

Unfortunately, I understand the VSAM catalog is not indexed by
volser, so there's no simple way to uncatalog every data set
on a specified volume, especially if it's impossible to read
their VTOC entries.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to