Previous Topic: How to UseNext Topic: Example JCL (Output to Disk)


Example JCL (Output to Tape)

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

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 SYSnnn,volser
 // ASSGN SYS005,TAPE
 // PAUSE MOUNT TAPE
 // TLBL OUT3,'cxx.bkup'                 Output data
 // EXEC DBUTLTY,SIZE=750K
          BACKUP   AREA=CXX,DEVICE=TAPE,DTFNAME=OUT3
 /*
 /&
 * $$ EOJ