Chicken factor aside.  There is a document to cover such things as in ..
DFSMS Managing Catalogs, Chapter 4 Maintaining Catalogs, Splitting Catalogs
or Moving Catalog Entries.

Doing it while a data set is open has this caution...

Attention: Performing REPRO on a catalog while data sets are open in the
source catalog might result in a loss of information if any of those data
sets extend, or other catalog updates are made. The changes might not be
copied to the target catalog, resulting in a mismatch between the
information contained in the VVDS and the new target BCS. This might cause
the data sets to be inaccessible or receive errors when they are used.
Which is then followed by the 7 step procedure to move entry(s) from one
catalog to another.

I am inferring from the documentation that even if the catalog is locked
that a VVDS entry might be updated for data sets that are open.  (looking
for confirmation??)

Unless you have one of the Catalog utilities that will perform the proper
rituals to the pernicious catalog-gods and allow a wider array of options.
<VBG>

Rob Schramm



On Thu, May 5, 2016, 1:22 PM Lucas Rosalen <rosalen.lu...@gmail.com> wrote:

> +1 for REPRO MERGECAT.
> I've done this for Netview's datasets - with all Netview's STCs down
> because I'm a chicken :)
>
> Lucas
> On May 5, 2016 19:05, "Peter" <dbajava...@gmail.com> wrote:
>
> What if if is a db2 datasets ? I believe to have safer move a shutdown is
> necessary ?
> On May 5, 2016 10:19 PM, "Chuck Kreiter" <kreiter_ibm-m...@centurylink.net
> >
> wrote:
>
> > I've used REPRO MERGECAT to do this in the past.  Once this is done,
> > define your alias.  The datasets should be unallocated when you do this.
> >
> > REPRO INDATASET(old catalog) -
> >              OUTDATASET(new catalog)
> >              LEVEL(hlq) MERGECAT
> >
> > -----Original Message-----
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of Peter
> > Sent: Thursday, May 5, 2016 10:35 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Catalog move
> >
> > Hi
> >
> > We have some product DATASET catalog to master instead of a user catalog.
> >
> > So moving the DATASET entries from master to a user catalog is doable
> only
> > when the started task is down ?
> >
> > Any thoughts on the above approach ?
> >
> > Peter
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions, send
> email
> > to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
-- 

Rob Schramm
The Art of Mainframe, Inc

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to