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


Example JCL

The following shows the command to transfer data from the Log Area to the Recovery File, with rewind instructions.

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
          SPILLREW REWIND=NO
 /*
 /&
 * $$ EOJ