Previous Topic: How to UseNext Topic: Sample Report:  SPILLOPT SPILL=MIN


Example JCL

The following shows the command to transfer data from the Log Area to the Recovery File using SPILLOPT SPILL=MIN.

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 LXX,'lxx',,DA                             Log Area data set
 // EXTENT SYSnnn,volser
 // ASSGN SYSnnn,TAPE                              SYS number identified by LOGRSYS
 // PAUSE MOUNT TAPE
 // TLBL RXX,'rxx'                                 Recovery data set
 // EXEC DBUTLTY,SIZE=750K
          SPILLOPT SPILL=MIN
 /*
 /&
 * $$ EOJ

* $$ 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 CXX,'cxx',,DA                             Directory data set
// EXTENT SYSnnn,volser
// DLBL LXX,'lxx',,DA                             Log Area data set
// EXTENT SYSnnn,volser
// DLBL RXX,'rxx'                                 Recovery data set
// EXTENT,SYS000,volser,1,0,begtrk,ntrks
// ASSGN SYS000,DISK,VOL=volser,SHR
// EXEC DBUTLTY,SIZE=750K
          SPILLOPT SPILL=MAX
/*
/&
* $$ EOJ