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 PAGESPACEDEFINE PAGESPACE ExamplesThe DEFINE PAGESPACE command can per<strong>for</strong>m the functions shown in thefollowing examples.Define a N<strong>OS</strong>WAP Page Space: Example 1//DEFPGSP1 JOB ...//STEP1 EXEC PGM=IDCAMS//VOLUME DD VOL=SER=VSER05,UNIT=DISK,DISP=OLD//SYSPRINT DD SYSOUT=A//SYSIN DD *DEFINE PAGESPACE -(NAME(SYS1.PAGE2) -CYLINDERS(10) -VOLUMES(VSER05)/*Job control language statement:vVOLUME DD describes the volume on which the data space is to be defined.The DEFINE PAGESPACE command defines a page space. These are theparameters:v NAME specifies the name of the page space, SYS1.PAGE2.vvCYLINDERS 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 page space defaults to N<strong>OS</strong>WAP.Define a SWAP Page Space: Example 2//DEFPGSP2 JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *DEFINE PAGESPACE -(NAME(SYS1.PAGE1) -CYLINDERS(10) -VOLUMES(VSER05) -SWAP/*The DEFINE PAGESPACE command defines a page space. There are theparameters:vvvvNAME specifies the name <strong>for</strong> the page space is SYS1.PAGE1.CYLINDERS specifies that the page space occupies 10 cylinders and cannot beextended.VOLUMES identifies the volume on which the page space is to reside. Becauseno DD statement describes the volume, an attempt is made to dynamicallyallocate the volume. Volume VSER05 must be mounted as permanently residentor reserved.SWAP specifies that the page space is used to store local system queue area(LSQA) pages.194 z/<strong>OS</strong> <strong>V1R6.0</strong> <strong>DFSMS</strong> <strong>Access</strong> <strong>Method</strong> <strong>Services</strong> <strong>for</strong> <strong>Catalogs</strong>

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

Saved successfully!

Ooh no, something went wrong!