09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Define a Page Space in another Catalog: Example 3//DEFPGSP1 JOB ...//STEP1 EXEC PGM=IDCAMS//VOLUME DD VOL=SER=VSER05,UNIT=DISK,DISP=OLD//SYSPRINT DD SYSOUT=A//SYSIN DD *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)/*Job control language statement:v VOLUME DD describes the volume on which the data space is to be defined. .The DEFINE ALIAS command defines an alias pointing to a target catalog inwhich the pagespace is to be defined.The DEFINE PAGESPACE command defines a page space. These are theparameters:v NAME specifies the name of the page space, SYS2.PAGE2.vvDEFINE PAGESPACECYLINDERS specifies that the page space is to occupy 10 cylinders. The pagespaces are never extended.VOLUMES specifies that the page space is to reside on volume VSER05.The pagespace is created in catalog MASTCAT.SYSTEM2. The ALTER commandsrename the pagespace to a SYS1 high-level qualifier in the target catalog.Chapter 17. DEFINE PAGESPACE 195

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!