Previous Topic: How to UseNext Topic: Sample Report:  DEFRAG


Example JCL

The following shows the command to defragment an index with DBID=781.

Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.

 * $$ 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,DISK,VOL=volser,SHR
 // DLBL   IXX781,'ixx.db781',,DA
 // EXTENT SYSnnn,volser
 // DLBL   781A01,'A01.db781',,DA
 // EXTENT SYSnnn,volser
 // EXEC   DBUTLTY,SIZE=768K
    DEFRAG DBID=781
 /*
 /&
 * $$ EOJ