Create new MASTER catalog



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Create new MASTER catalog

Postby XY09 » Mon Mar 17, 2014 9:23 pm

i am trying to create new master catalog from existing Master catalog below jcl.

//*************************************************************/
DEFINE MASTERCATALOG -
( NAME(K902.ICFCAT.NEWMASTR) -
CYLINDERS (5 1) -
ICFCATALOG)
/*

The job is giving MAXCC=0 but i am not able to see "K902.ICFCAT.NEWMASTR" in 3.4 option.

Please give a idea or procedure to create Master catalog and load the data from existing Master catalog.

thanks for your help!!!.

Thansk,
Xy09.
XY09
 
Posts: 25
Joined: Mon Apr 26, 2010 9:19 am
Has thanked: 0 time
Been thanked: 0 time

Re: Create new MASTER catalog

Postby Robert Sample » Mon Mar 17, 2014 10:10 pm

Unless you connect the new catalog to the old catalog, you won't be able to see much. And if it is a new master catalog, the connect wouldn't make sense. Depending upon what you are doing, you may need to export the old catalog and import into the new catalog as well.

Remember the IPL load parameter includes the master catalog name, from which data sets are located. If you are defining and using a new master catalog, you will need to change the IPL load parameter to point to the new catalog before it will get used.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Create new MASTER catalog

Postby steve-myers » Mon Mar 17, 2014 10:20 pm

  • There is no difference between a "master" catalog and a user catalog. A catalog becomes the master catalog only when it is defined as such in SYS1.IPLPARM or (using the old method) in the SYS1.NUCLEUS data set and the system is IPLed.
  • You "clone" the master catalog using the IDCAMS REPRO command. See the Copy a Catalog topic in DFSMS AMS for Catalogs for your z/OS release. It is a subtopic of the REPRO chapter.
  • When a catalog is defined it is defined in the master catalog of the system where the catalog was defined unless the CATALOG parameter is specified in the DEFINE command. I presume the K902 in your catalog name is your userid. That is why it does not show in ISPF 3.4.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post