IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Backup of usercatalog


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
praveensinha
Warnings : 1

New User


Joined: 02 Oct 2009
Posts: 64
Location: Hyd

PostPosted: Wed Mar 31, 2010 7:54 pm
Reply with quote

How to take backup of user catalog without using CRPLUS..
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Mar 31, 2010 8:05 pm
Reply with quote

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
View user's profile Send private message
praveensinha
Warnings : 1

New User


Joined: 02 Oct 2009
Posts: 64
Location: Hyd

PostPosted: Wed Mar 31, 2010 8:12 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Mar 31, 2010 8:15 pm
Reply with quote

Click HERE and find out all about catalogs.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Mar 31, 2010 8:17 pm
Reply with quote

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
View user's profile Send private message
praveensinha
Warnings : 1

New User


Joined: 02 Oct 2009
Posts: 64
Location: Hyd

PostPosted: Wed Mar 31, 2010 9:00 pm
Reply with quote

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
View user's profile Send private message
praveensinha
Warnings : 1

New User


Joined: 02 Oct 2009
Posts: 64
Location: Hyd

PostPosted: Wed Mar 31, 2010 9:01 pm
Reply with quote

i am tryin to use above method cos i used the same method to backup SCDS .it worked for SCDS
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed Mar 31, 2010 9:14 pm
Reply with quote

As mentioned already, you would usually run a backup with EXPORT to a tape file instead of copying to another KSDS.
Back to top
View user's profile Send private message
ananth86

New User


Joined: 10 Jun 2009
Posts: 59
Location: Hyderabad

PostPosted: Thu Apr 01, 2010 1:01 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Apr 01, 2010 2:01 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Apr 01, 2010 2:04 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Apr 01, 2010 2:19 pm
Reply with quote

I must admit, following the recommendations of IBM does make for an easier life (Mostly icon_lol.gif )
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Wed Jul 14, 2010 3:05 pm
Reply with quote

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
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Wed Jul 14, 2010 6:34 pm
Reply with quote

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
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Wed Jul 14, 2010 7:43 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jul 14, 2010 7:49 pm
Reply with quote

Must admit, I usually use EXPORT and / or DFdss.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Data Backup suggestions DB2 5
No new posts how to list the number of backup data... JCL & VSAM 3
No new posts Issue with CR+ catalog backup job. JCL & VSAM 18
No new posts Backup issues after upgrade to zOS 2.2 All Other Mainframe Topics 0
No new posts Single step to take backup of multipl... JCL & VSAM 1
Search our Forums:

Back to Top