Previous Topic: How to UseNext Topic: Sample Report:  INIT IXX


Example JCL

The following shows the command to initialize the Index Area for database 10.

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,device type,VOL=volser,SHR
 // DLBL CXX,'cxx',,DA                             Directory data set
 // EXTENT SYSnnn,volser
 // DLBL IXX010,'db010.index',9999,DA              Index Area
 // EXTENT SYSnnn,volser,,,rel trk/blk,number trks/blks
 // EXEC DBUTLTY,SIZE=750K
           INIT     AREA=IXX,DBID=10
 /*
 /&
 * $$ EOJ