Previous Topic: Data to Index (DATAINDEX)Next Topic: Sample Report:  DATAINDEX without an Error


Example JCL

The following shows sample JCL for DATAINDEX.

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
 // EXEC DBUTLTY,SIZE=750K
       VERINDEX DBID=001,OPTION=DATAINDEX,TABLE=PAY 
       VERINDEX DBID=001,OPTION=INDEXDATA,TABLE=PAY
 /*
 /&
 * $$ EOJ