Previous Topic: How to UseNext Topic: Sample Report


Example JCL

Following is example JCL for a REORG BACKUPONLY.

 * $$ JOB ...           See the previous note and JCL Requirements.
 * $$ LST ...
 // JOB name
 // EXEC PROC=procname  Whether you use PROCs or LIBDEFs, see JCL Requirements.
 // ASSGN SYSnnn,devicetype,VOL=volser,SHR
 // DLBL CXX,'cxx',,DA                             Directory data set
 // EXTENT SYSnnn,volser
 // DLBL IXX001,'db001.index',,DA
 // EXTENT SYSnnn,volser
 // DLBL PAY001,'db001.PAY',,DA
 // EXTENT SYSnnn,volser
 // DLBL BACK1,'backup1'                                     Ouput data
 // EXTENT SYSnnn,volser
 // DLBL BACK2,'backup2'                                     Output data
 // EXTENT SYSnnn,volser
 // EXEC DBUTLTY,SIZE=750K
                     REORG OPTION2=BACKUPONLY,DBID=1,INNUM=2,
                           DTFNAME=BACK,DEVICE=DISK,AREA=PAY
 /*
 /&
 * $$ EOJ