Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Backup of usercatalog

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Backup of usercatalog
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: 8593
Location: Back in jolly old England

PostPosted: Wed Mar 31, 2010 8:05 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Mar 31, 2010 8:15 pm    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Wed Mar 31, 2010 8:17 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Apr 01, 2010 2:01 pm    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Thu Apr 01, 2010 2:04 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Apr 01, 2010 2:19 pm    Post subject:
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 User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Wed Jul 14, 2010 3:05 pm    Post subject:
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: 258

PostPosted: Wed Jul 14, 2010 6:34 pm    Post subject:
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 User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Wed Jul 14, 2010 7:43 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 14, 2010 7:49 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS Database backup info ashek15 IMS DB/DC 14 Wed Nov 16, 2016 5:29 am
No new posts Need help on FDRABR incremental backu... sanpedro All Other Mainframe Topics 6 Wed Apr 06, 2016 3:24 am
No new posts Backup directory in USS (OMVS) autobox IBM Tools 3 Tue Jan 12, 2016 8:51 am
No new posts Database backup on IMS DB HABBIE IMS DB/DC 1 Wed Aug 12, 2015 9:02 pm
No new posts GDG versions not being selected for b... Randy Wood SYNCSORT 2 Wed Aug 27, 2014 10:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us