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:[email protected]] On Behalf
Of esmie moo
Sent: Thursday, July 16, 2009 1:25 AM
To: [email protected]
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 [email protected] 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 [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html