Previous Topic: Sample Report:  BACKUP Data Area - Native Key SequenceNext Topic: Sample Report:  BACKUP Data Area - Physical Sequence


Example JCL (Output to Tape) - Physical Sequence

The following shows the command to back up the data area ACT in database 010 to the output data set, OUT2. Output the data in physical sequence and in compressed form (default).

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
 // DLBL ACT010,'db010.act',,DA                    Area ACT in DBID 010
 // EXTENT SYSnnn,volser
 // ASSGN SYS010,TAPE
 // PAUSE MOUNT TAPE

 // TLBL OUT2,'act.bkup'                           OUTPUT DATA
 // EXEC DBUTLTY,SIZE=750K
    BACKUP AREA=ACT,DBID=10,DEVICE=TAPE,DTFNAME=OUT2,SEQ=PHYSICAL
 /*
 /&
 * $$ EOJ