Mohd,
 
Thanks for your suggestion.  I would like to try it out just for 1 problem.  If 
I disable the current volume (which SMS managed) then there could be a problem 
with allocation of dsns on that given volume. I think your suggestion is very 
sound.

--- On Thu, 7/16/09, Mohd Shahrifuddin <fud...@bayss.com> wrote:


From: Mohd Shahrifuddin <fud...@bayss.com>
Subject: Re: DEFINING USERCAT WITH GUARANTEED SPACE
To: IBM-MAIN@bama.ua.edu
Received: Thursday, July 16, 2009, 7:31 PM


Dear Esmie,

What not using export/import to move the user catalog to new volume. Make
sure to disable the current volume to ensure the new catalog not reside to
the same volume. The new volume must be added to the storagegroup. If you
like to guarantee space define the usercat to sms routine to DClass
guarantee space. This is must easier. Below I copy the JCL. Happy try.
//EXPCATLG  JOB  (SDB-SYSP),CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1),        
//          NOTIFY=&SYSUID                                            
//*                                                                   
//********************************************************************
//*   EXAMPLE OF HOW TO EXPORT ICF CATALOG (TEMPORARY)               *
//********************************************************************
//*                                                                   
//EXPORT    EXEC PGM=IDCAMS                                           
//SYSPRINT  DD   SYSOUT=A                                             
//EXPDD     DD   DSN=xxxxxxx.xxxxx.xxxxx,DISP=(NEW,CATLG),              
//          BLKSIZE=4096,SPACE=(CYL,(10,10))                          
//SYSIN     DD   *                                                    
   EXPORT SYS1.ICFCAT.UCATPLN -                                          
       OUTFILE(EXPDD) -                                               
       TEMPORARY                                                      
/*                                                                    

//IMPORCT0  JOB  (SDB-SYSP),CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1),

//          NOTIFY=&SYSUID

//*

//********************************************************************

//*   EXAMPLE OF HOW TO IMPORT A USER CATALOG                        *

//********************************************************************

//*

//IMPORT    EXEC PGM=IDCAMS

//DD1       DD   VOL=SER=xxxxxx,UNIT=3390,DISP=OLD

//SYSPRINT  DD   SYSOUT=*

//SYSIN     DD   *

  DELETE -

     CAT.USER.IMS   -

     FILE(DD1) -

     RECOVERY -

     USERCATALOG

  IMPORT -

     INDATASET(xxxxxx.xxxxxx.xxxxxx)      -

     OUTDATASET(SYS1.ICFCAT.UCATPLN) -

     OBJECTS((SYS1.ICFCAT.UCATPLN -                                
     VOLUMES(xxxxxx))) -                     
     INTOEMPTY -                                            
     ALIAS        -                                         
   CATALOG(xxx.MASTER.xxxxxx)                              
//*                                    

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf
Of esmie moo
Sent: Thursday, July 16, 2009 1:25 AM
To: IBM-MAIN@bama.ua.edu
Subject: DEFINING USERCAT WITH GUARANTEED SPACE

Good Day Gentle Readers,
 
I need to move an existing USERCAT from one vol to another.  The catalog is
SMS managed and the STORAGECLASS I will be using is GUASPACE.  Below is the
cluster definition.  I am not sure if I am missing anything.  Could someone
take a quick look and let me know if it is okay?
//DEFINE   EXEC PGM=IDCAMS,COND=(4,LT)         
//SYSPRINT DD SYSOUT=*                         
//SYSIN    DD *                                
    DEFINE                            -        
            USERCATALOG               -        
            (NAME (SYS1.ICFCAT.UCATPLN)    -   
            CYL(25)                   -        
            VOLUME(PLAN906)            -        
            STORAGECLASS(GUASPACE)    -        
            ICFCATALOG                -        
            STRNO(3)                  -        
            FREESPACE(20 20)          -        
            NOIMBED                   -        
            LOCK                      -        
            SHAREOPTIONS(3 4))        -        
    DATA(                             -        
         CONTROLINTERVALSIZE(4096))            
 
Thanks in advance.                                             



      __________________________________________________________________
Connect with friends from any web browser - no download required. Try the
new Yahoo! Canada Messenger for the Web BETA at
http://ca.messenger.yahoo.com/webmessengerpromo.php

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

----------------------------------------------------------------------
This message has been scanned by TM antivirus for viruses and spyware and
found to be clean.

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



      __________________________________________________________________
The new Internet Explorer® 8 - Faster, safer, easier.  Optimized for Yahoo!  
Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/

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

Reply via email to