Previous Topic: Example JCL (Output to Tape)Next Topic: Sample Report:  BACKUP CXX


Example JCL (Output to Disk)

The following shows the command to back up the Directory (CXX) to the output data set OUT3 on disk.

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,devicetype,VOL=volser,SHR
 // DLBL CXX,'cxx',,DA                             Directory data set
 // EXTENT ,volser
 // DLBL OUT3,'cxxbkup',n,SD                       output data
 // EXTENT ,volser,1,0,strk,ntrks
 // EXEC DBUTLTY,SIZE=750K
           BACKUP   AREA=CXX,DEVICE=DISK,DTFNAME=OUT3
 /*
 /&
 * $$ EOJ