Hi Mary,

Make sure the files are not in use (they cannot be recataloged while in
use) and use JCL like this

If you need to define a new high level qualifier typical job 

//DEFALIAS EXEC PGM=IDCAMS,REGION=4M                     
//SYSPRINT DD   SYSOUT=*                                 
//SYSIN    DD   *                                        
  DEFINE   ALIAS(NAME(yourHLQ) RELATE(your.user.catalog) ) - 
           CATALOG(your.master.catalog)                     
//*                                                      

Typical job to move a high level qualifier from one catalog to another

//MOVENTRY EXEC PGM=IDCAMS,REGION=4M                     
//IN       DD   DISP=SHR,DSN=your.master.catalog     
//OUT      DD   DISP=SHR,DSN=your.user.catalog  
//SYSPRINT DD   SYSOUT=*                                 
//SYSIN    DD   *                                        
  REPRO    IFILE(IN) OFILE(OUT) MERGECAT LEVEL(yourHLQ)      
//*                                                      


If you have a storage person who normally does this consider to involve
them to help you do this.

Thanks, Sam Knutson 


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Yukus, Mary J CIV USMEPCOM
Sent: Wednesday, July 02, 2008 5:47 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Cataloging problem

Hi Everyone,
We have a catalog issue.  Two SMP/E CSI's were created on one of our
test
LPARS before the HLQ Alias was added.  These are now cataloged in the
master
catalog.  Is there any simple way to create the alias and get them
cataloged
into the user catalog they belong in?  I'm not strong on VSAM.  Any JCL,
etc
is greatly appreciated.  Also, does anyone have a method/JCL to copy a
.CSI
to another LPAR?
Thanks,
Mary

----------------------------------------------------------------------
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

====================
This email/fax message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution of this
email/fax is prohibited. If you are not the intended recipient, please
destroy all paper and electronic copies of the original message.

----------------------------------------------------------------------
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

Reply via email to