Here is some JCL I have used in the past
//IDCAMS EXEC PGM=IDCAMS
//STEPCAT DD DSN=CATALOG.MASTER.VCATT28,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE -
PAGE.TEST.COMMON -
PAGESPACE -
PURGE -
CATALOG(CATALOG.MASTER.VCATT28)
Pat Mihalec
Rush University Medical Center
Senior System Programmer
(312) 942-8386
[EMAIL PROTECTED]
John Mattson <[EMAIL PROTECTED]>
Sent by: IBM Mainframe Discussion List <[email protected]>
07/22/2008 01:46 PM
Please respond to
IBM Mainframe Discussion List <[email protected]>
To
[email protected]
cc
Subject
Delete PAGESPACE in other catalog
zOS 1.9 IDCAMS manual has a fine example of how to deFINE a
pagespace in another system's Master catalog. Excellent
DEFINE ALIAS (NAME(SYS2) RELATE(MASTCAT.SYSTEM2))
DEFINE PAGESPACE (NAME(SYS2.PAGE2) CYLINDERS(10) VOLUMES(VSER05)
ALTER SYS2.PAGE2 NEWNAME(SYS1.PAGE2) CATALOG(MASTCAT.SYSTEM2)
ALTER SYS2.PAGE2.DATA NEWNAME(SYS1.PAGE2.DATA) CATALOG(MASTCAT.SYSTEM2)
But how to deLETE one of these in another system's master catalog?
I have tried to DEFINE ALIAS, DELETE PAGESPACE with CAT(, tried
ALTER the pagespace to an SSA aliwas like SYS2 in the example above, but
no luck. Anyone know this trick?
----------------------------------------------------------------------
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