Can you have multiple SARDBASE ADDDS statements in the same job step?

Document ID : KB000027379
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

Can there be multiple SARDBASE ADDDS statements in the same job step?

 

Answer:

There can be multiple ADDDS statements in the same step within the same job.

The SARDBASE ADDDS utility can be run to add additional space on the fly, without having to halt any activity to CA View.

Here is a JCL example:

//STEP1 EXEC PGM=SARDBASE
//STEPLIB DD DSN=VIEW.CVDELOAD,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
NAME database_hlq
ADDDS UNIT=3390 VOL=xxxxxx CYL=xxx INDEX
ADDDS UNIT=3390 VOL=xxxxxx CYL=xxx INDEX
ADDDS UNIT=3390 VOL=xxxxxx CYL=xxx DATA
ADDDS UNIT=3390 VOL=xxxxxx CYL=xxx DATA