I was thinking along the same lines.  Do you have any vendor tools?  The
T-REX LISTCAT can scan a catalog, look for TAPE entries only, and build
IDCAMS DEFINE, DELETE, or DELETE NOSCRATCH cards.  In your case, you would
want to build the DELETE NOSCRATCH cards to remove the entries from catalog
A.

>From there, you could just REPRO MERGECAT the tape entries from CAT B into
CAT A.

 
Larry Crilley
Dino-Software Corporation
800.480.DINO
412.366.3566
www.dino-software.com
 
Dino-Software Utilities
T-REX - Superior catalog management tool inclusive of HSM & Tape audits 
REORGadon - First REORG While-OPEN tool for HSM
Teradon - First ever OnLine REPRO MERGECAT utility 
Xtinct - DASD Data purge 
RTD - DASD Real Time Defrag 
DAL - Analysis for Legato in an easy to view format

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Mark Zelden
Sent: Thursday, December 13, 2007 10:06 AM
To: [email protected]
Subject: Re: user catalog question

On Thu, 13 Dec 2007 07:09:03 -0600, Peter Ten Eyck
<[EMAIL PROTECTED]> wrote:

>I have a running z/OS 1.7 system with two user catalogs attached to the
>master catalog. Call the first A and the second B. Catalog B has all the
tape
>entries I want. How can I get all the tapes entries in catalog B into
catalog A.
>When I am done I do not want any of the original catalog A tape entries,
just
>the tape entries from catalog B into catalog A.
>

I assume both catalogs have more than just tape entries and you don't
want to use REPRO MERGECAT.

I would use something like MCNVTCAT (which I still have a copy of) or the
REXX version of it from the CBT (RCNVTCAT) to dump both catalogs and
message the tape entry output from cat a into IDCAMS DELETE NSCR  
cards and delete everything but the IDCAMS DEFINE NVSAM tape entries
from the cat b output and run those into cat a. 

Note that if using MCNVTCAT I think there is a limitation of 5 volumes that
it creates per dsn in the DEFINE cards... so watch out for that.  Search
the archives for discussions of MCNVTCAT vs. RCNVTCAT and the reasons
(like the one just mentioned) that IBM stopped distributing MCNVTCAT.

Mark
--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group - ZFUS G-ITO
mailto:[EMAIL PROTECTED]
z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.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

----------------------------------------------------------------------
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