Previous Topic: Example JCL for Single Log AreaNext Topic: Sample Report:  INIT LXX


Example JCL for Multi-Volume Log Area

The following shows the command to initialize the Log Area using multiple extents.

 * $$ 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
 // ASSGN SYSnnn+1,device type,VOL=volser2,SHR
 // DLBL CXX,'cxx',,DA                                       Directory data set
 // EXTENT SYSnnn,volser
 // DLBL LXX,'log',9999,DA                                   Log Data File
 // EXTENT SYSnnn,volser,1,0,rel trk/blk,number trks/blks    Primary on 1st volser
 // EXTENT SYSnnn+1,volser2,1,1,rel trk/blk,number trks/blks Secondary on 2nd volser
 // EXEC DBUTLTY,SIZE=750K
           INIT     AREA=LXX,BLKSIZE=16384
 /*
 /&
 * $$ EOJ