View previous topic :: View next topic
|
Author |
Message |
praveensinha Warnings : 1 New User
Joined: 02 Oct 2009 Posts: 64 Location: Hyd
|
|
|
|
How to take backup of user catalog without using CRPLUS.. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
DFdss, REPRO, EXPORT, HBACKDS
it's only a KSDS you know.
And google only gives 1.3 millions hits on the subject. |
|
Back to top |
|
|
praveensinha Warnings : 1 New User
Joined: 02 Oct 2009 Posts: 64 Location: Hyd
|
|
|
|
to use repro i need to first create the new dataset ..I am trying to use DEFINE usercatalog (new name) MODEL(orignal catname)...
Its not working
its says
IDCAMS SYSTEM SERVICES TI
IDC3506I A REQUIRED VOLUME LIST HAS BEEN OMITTED
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12
If i run the same job for creating backup of SCDS it works.. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Click HERE and find out all about catalogs. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
You would not normally back up a user catalog into a user catalog -- you would back up into a sequential file on disk or tape.
Perhaps if you explain just what it is you are REALLY trying to do, we can help you. When you tell us one thing but do something else, our advice is not likely to work. |
|
Back to top |
|
|
praveensinha Warnings : 1 New User
Joined: 02 Oct 2009 Posts: 64 Location: Hyd
|
|
|
|
I am trying to take the backup of catalog on the dasd ..till now i ,I am creating a dataset using MODEL n then using repro to copy the contents ,,Is this correct way to backup a user catalog |
|
Back to top |
|
|
praveensinha Warnings : 1 New User
Joined: 02 Oct 2009 Posts: 64 Location: Hyd
|
|
|
|
i am tryin to use above method cos i used the same method to backup SCDS .it worked for SCDS |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
As mentioned already, you would usually run a backup with EXPORT to a tape file instead of copying to another KSDS. |
|
Back to top |
|
|
ananth86
New User
Joined: 10 Jun 2009 Posts: 59 Location: Hyderabad
|
|
|
|
Robert Sample wrote: |
You would not normally back up a user catalog into a user catalog -- you would back up into a sequential file on disk or tape.
|
Robert, can u say me what is the reason why usercatalog wouldnt be REPROed to a usercatalog? Is this some standard practise or any reason behind it? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Because all of the alias pointers in the master catalog would be pointing to the original user catalog and the volume on which the original resides.
Using EXPORT / IMPORT, HRECOVER, or DFdss RESTORE, the recovery procedure is simplified by recovering the broken catalog direct. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
The questions as originally posted was about BACKUP of a user catalog. From the AMS for Catallogs manual (emphasis added by me):
Quote: |
23.0 Topic 23. EXPORT
The EXPORT command either exports a cluster or an alternate index or creates a backup copy of a catalog. |
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
I must admit, following the recommendations of IBM does make for an easier life (Mostly ) |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 590 Location: London
|
|
|
|
It is often expedient to take more than 1 backup using different utilities in case one backup gets broken. An EXPORT and a DFDSS DUMP are the easiest, and for the equivalent recovery.
It is possible to REPRO to another catalog with NOMERGECAT specified but I strongly suggest you don't do that as it won't be much use to you unless it's for a Mastercatalog backup/clone where the datasets are nonSMS and cataloged to '******' which the system recognises as IPL volumes. |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
Manual z/OS V1R10.0 DFSMS Managing Catalogs states the following
Quote: |
Restriction: You cannot use IDCAMS REPRO or other copying commands to create and recover BCS backups. |
Reproing the Catalog will change the ownership of VSAM Clusters that were cataloged therein |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 590 Location: London
|
|
|
|
Nevilh - that's true. A REPRO updates all the contained datasets VVDS back-pointers to the target catalog name and actually moves the entries to the target catalog if MERGECAT specified. Of course that then needs all the Alias pointers changed to the new target catalog as well.
praveensinha - I would never advocate using REPRO for a normal Usercatalog backup! Don't go there. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Must admit, I usually use EXPORT and / or DFdss. |
|
Back to top |
|
|
|