Re: CATALOG QUESTION - CORRECT AN ALIAS PROBLEM

2008-02-29 Thread Burrell, C. Todd (CDC/OCOO/ITSO) (CTR)
I would simply change the ENTRIES line to say LEVEL, and then run this.
Once you copy the entries, then you need to quickly define the alias.
Here's a sample job I've run to move aliases that mistakenly made it
into the master catalog:

//MERGC1   EXEC  PGM=IDCAMS,REGION=0M
//SYSPRINT DD  SYSOUT=*  
//SYSINDD  * 
   REPRO INDATASET(CATALOG.MASTER.VCDCCP8) - 
 OUTDATASET(CATALOG.USERCAT1) -  
 LEVEL(CN00) -   
 MERGECAT
//***
//IDCAMS EXEC PGM=IDCAMS,REGION=4M   
//SYSPRINT DD SYSOUT=*   
//SYSIN DD * 
DEF ALIAS(NAME(CN00) REL(CATALOG.USERCAT1))   


C. Todd Burrell
Lead z/OS Systems Programmer
ITSO
(404) 723-2017 (Cell)
 

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of John Kington
Sent: Wednesday, February 27, 2008 8:43 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: CATALOG QUESTION - CORRECT AN ALIAS PROBLEM

Ernie,


 Good Morning Gentle Readers,

   I am working on a problem regarding a TSO alias which was not 
 created but for some unexplicable reason I find about 15 dsns have 
 been cataloged in the MCAT.  My question is how can I fix this problem

 - have the dsns created in the proper UCAT.  I looked at the option of

 using REPRO MERGECAT in the IDCAMS doc.  Is that the correct decision?

 My plan is to define the alias in the proper UCAT and then execute the

 following jcl.

   //STEP1EXEC PGM=IDCAMS,REGION=2048K,TIME=1440
 //SYSPRINT DD   SYSOUT=*
 //SYSINDD   *
   REPRO -
INDATASET(SYS1.SHR.MCAT)  -
OUTDATASET(MBC.CSTMCAT) -
ENTRIES(CTPRX23) -
MERGECAT
 /*

   Will this do the job?  Am I missing something?  I would appreciate 
 any suggestions or comments.

   Thanks in advance.

I would remove the alias, rename the 15 datasets to a different hlq,
redefine the alias and then rename the 15 datasets back to the original
name. Mergecat would be overkill for what you need to do.
If you can not remove the alias, I would recatalog them if you know
where they are and try a delete noscratch using the master catalog in
the
catalog() parameter.
Regards,
John

--
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: CATALOG QUESTION - CORRECT AN ALIAS PROBLEM

2008-02-27 Thread Lizette Koehler
The best way to resolve this issue is to do the following:

1)  Make sure the type of data set (VSAM vs. NON VSAM).  If you have VSAM 
cataloged in the MCAT you will need to work a little harder.

2)  Uncatalog all of the NON Vsam data sets in the Master Cat
3)  Build the Alias for the HLQ
4)  Recatalog all of the data sets.

If you have vsam in the mcat, I would probably use a DFDSS DUMP with Delete for 
all of the files in the mcat, build the alias, then restore the files with 
catalog.

I ususally have my MCAT with READ only access to prevent this type of issue.  

Lizette





   
  I am working on a problem regarding a TSO alias which was not created but 
 for some unexplicable reason I find about 15 dsns have been cataloged in the 
 MCAT.  My question is how can I fix this problem - have the dsns created in 
 the proper UCAT.  I looked at the option of using REPRO MERGECAT in the 
 IDCAMS doc.  Is that the correct decision?  My plan is to define the alias 
 in the proper UCAT and then execute the following jcl.
   
  //STEP1EXEC PGM=IDCAMS,REGION=2048K,TIME=1440  
//SYSPRINT DD   SYSOUT=*  
//SYSINDD   * 
  REPRO - 
   INDATASET(SYS1.SHR.MCAT)  - 
   OUTDATASET(MBC.CSTMCAT) -  
   ENTRIES(CTPRX23) - 
   MERGECAT   
/*
   
  Will this do the job?  Am I missing something?  I would appreciate any 
 suggestions or comments.
   
  Thanks in advance.



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: CATALOG QUESTION - CORRECT AN ALIAS PROBLEM

2008-02-27 Thread John Kington
Ernie,


 Good Morning Gentle Readers,

   I am working on a problem regarding a TSO alias which was not
 created but for some unexplicable reason I find about 15 dsns have
 been cataloged in the MCAT.  My question is how can I fix this
 problem - have the dsns created in the proper UCAT.  I looked at the
 option of using REPRO MERGECAT in the IDCAMS doc.  Is that the
 correct decision?  My plan is to define the alias in the proper UCAT
 and then execute the following jcl.

   //STEP1EXEC PGM=IDCAMS,REGION=2048K,TIME=1440
 //SYSPRINT DD   SYSOUT=*
 //SYSINDD   *
   REPRO -
INDATASET(SYS1.SHR.MCAT)  -
OUTDATASET(MBC.CSTMCAT) -
ENTRIES(CTPRX23) -
MERGECAT
 /*

   Will this do the job?  Am I missing something?  I would appreciate
 any suggestions or comments.

   Thanks in advance.

I would remove the alias, rename the 15 datasets to a different hlq,
redefine the alias and then rename the 15 datasets back to the original
name. Mergecat would be overkill for what you need to do.
If you can not remove the alias, I would recatalog them if you know where
they are and try a delete noscratch using the master catalog in the
catalog() parameter.
Regards,
John

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: CATALOG QUESTION - CORRECT AN ALIAS PROBLEM

2008-02-27 Thread Blair Svihra
You would need to define the alias after moving the entries out of the 
master catalog.  You will probably get an IDC3009I 8-8 duplicate entry 
(on the alias define) if you already have data sets residing in the 
master catalog that begin with the alias.


Blair Svihra
Dino-Software Corp.

   * *T-REX/ - Superior ICF catalog mgmt with full Tape support and HSM
 Auditing/***
   * *REORGadon/ - First ever online REORG for HSM/*
   * *TERADON/ - First ever online REPRO MERGECAT utility/*
   * *XTINCT/ - Secure DASD/TAPE data eradication/*
   * *RTD /- First ever real-time defrag/*
   * *DAL /- DINO healthcheck Analysis for Legato/*
   * *SENTINEL -/ FTP Management/*

*//*




esmie moo wrote:

Good Morning Gentle Readers,
   
  I am working on a problem regarding a TSO alias which was not created but for some unexplicable reason I find about 15 dsns have been cataloged in the MCAT.  My question is how can I fix this problem - have the dsns created in the proper UCAT.  I looked at the option of using REPRO MERGECAT in the IDCAMS doc.  Is that the correct decision?  My plan is to define the alias in the proper UCAT and then execute the following jcl.
   
  //STEP1EXEC PGM=IDCAMS,REGION=2048K,TIME=1440  
//SYSPRINT DD   SYSOUT=*  
//SYSINDD   * 
  REPRO - 
   INDATASET(SYS1.SHR.MCAT)  - 
   OUTDATASET(MBC.CSTMCAT) -  
   ENTRIES(CTPRX23) - 
   MERGECAT   
/*
   
  Will this do the job?  Am I missing something?  I would appreciate any suggestions or comments.
   
  Thanks in advance.



   
-

Looking for the perfect gift? Give the gift of Flickr!

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


  


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


CATALOG QUESTION - CORRECT AN ALIAS PROBLEM

2008-02-27 Thread esmie moo
Good Morning Gentle Readers,
   
  I am working on a problem regarding a TSO alias which was not created but for 
some unexplicable reason I find about 15 dsns have been cataloged in the MCAT.  
My question is how can I fix this problem - have the dsns created in the proper 
UCAT.  I looked at the option of using REPRO MERGECAT in the IDCAMS doc.  Is 
that the correct decision?  My plan is to define the alias in the proper UCAT 
and then execute the following jcl.
   
  //STEP1EXEC PGM=IDCAMS,REGION=2048K,TIME=1440  
//SYSPRINT DD   SYSOUT=*  
//SYSINDD   * 
  REPRO - 
   INDATASET(SYS1.SHR.MCAT)  - 
   OUTDATASET(MBC.CSTMCAT) -  
   ENTRIES(CTPRX23) - 
   MERGECAT   
/*
   
  Will this do the job?  Am I missing something?  I would appreciate any 
suggestions or comments.
   
  Thanks in advance.


   
-
Looking for the perfect gift? Give the gift of Flickr!

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: CATALOG QUESTION - CORRECT AN ALIAS PROBLEM

2008-02-27 Thread Walter Marguccio
 From: esmie moo [EMAIL PROTECTED]

 My plan is to define the alias in the proper UCAT and then execute the 
 following jcl.
   
 //STEP1EXEC PGM=IDCAMS,REGION=2048K,TIME=1440  
 //SYSPRINT DD   SYSOUT=*  
 //SYSINDD   * 
  REPRO - 
   INDATASET(SYS1.SHR.MCAT)  - 
   OUTDATASET(MBC.CSTMCAT) -  
   ENTRIES(CTPRX23) - 
   MERGECAT   


Esmie,

I would first run the above job. However, code LVL(CTPRX23) instead of 
ENTRIES(CTPRX23).
Once the above job runs fine, then define alias CTPRX23 related to MBC.CSTMCAT, 
which I assume is 
your user catalog.

HTH

Walter Marguccio
z/OS Systems Programmer
Munich - Germany



  ___
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: CATALOG QUESTION - CORRECT AN ALIAS PROBLEM

2008-02-27 Thread Michael Saraco
This is what I use when cleaning up Catalogs. This job will move the 
entries to the correct catalog without having to do any extra work. After 
you have them moved to the correct catalog define your alias and you will 
see the data sets.  With this if you are just moving a few data sets it 
has no impact but if say you are moving 1,000 data sets you would want to 
scheduled that when there is very low usage. 

//REPROCAT EXEC PGM=IDCAMS 
//SYSPRINT DD SYSOUT=* 
//SYSINDD * 
  REPRO - 
INDATASET(CATALOG.ABCZ14.MASTER ) - 
OUTDATASET(CATALOG.TSO.USER) LEVEL(TSOU01) MERGECAT 
/* 


Michael Saraco
Systems Consultant



From:
esmie moo [EMAIL PROTECTED]
To:
IBM-MAIN@BAMA.UA.EDU
Date:
02/27/2008 07:34 AM
Subject:
CATALOG QUESTION - CORRECT AN ALIAS PROBLEM



Good Morning Gentle Readers,
 
  I am working on a problem regarding a TSO alias which was not created 
but for some unexplicable reason I find about 15 dsns have been cataloged 
in the MCAT.  My question is how can I fix this problem - have the dsns 
created in the proper UCAT.  I looked at the option of using REPRO 
MERGECAT in the IDCAMS doc.  Is that the correct decision?  My plan is to 
define the alias in the proper UCAT and then execute the following jcl.
 
  //STEP1EXEC PGM=IDCAMS,REGION=2048K,TIME=1440 
//SYSPRINT DD   SYSOUT=* 
//SYSINDD   * 
  REPRO - 
   INDATASET(SYS1.SHR.MCAT)  - 
   OUTDATASET(MBC.CSTMCAT) - 
   ENTRIES(CTPRX23) - 
   MERGECAT 
/* 
 
  Will this do the job?  Am I missing something?  I would appreciate any 
suggestions or comments.
 
  Thanks in advance.


 
-
Looking for the perfect gift? Give the gift of Flickr!

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html