Define a 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:
  • VOLUME DD describes the volume on which the data space is to be defined.
The DEFINE PAGESPACE command defines a page space. These are the parameters:
  • NAME specifies the name of the page space, SYS1.PAGE2.
  • CYLINDERS specifies that the page space is to occupy 10 cylinders. The page spaces are never extended.
  • VOLUMES specifies that the page space is to reside on volume VSER05.