Previous Topic: Example 1: Creating a DatabaseNext Topic: Example 3: Changing Online Members


Example 2: Adding Space

In this example, the database defined in the previous example is out of space and an additional 100 cylinders are added to the database on unit 3390 volume SAR002. The STATUS parameter displays statistics about the database after the addition of the space.

//EXAMPLE2 JOB ACCOUNT,PROGRAMMER
//STEP1    EXEC PGM=SARDBASE
//STEPLIB  DD DSN=CAI.CVDELOAD,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN    DD *
NAME VIEW.SYSTEM1
ADDDS UNIT=3390 VOL=SAR002 CYL=100 DATA
STATUS
/*