Previous Topic: How to UseNext Topic: Example JCL (Input from Disk)


Example JCL (Input from Tape)

The following shows the command to load the Directory backup into the current Directory. The input data set is CXXIN.

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',9999,DA                         Directory data set
 // EXTENT SYSnnn,volser,1,0 rel trk/blk,number trks/blks
 // ASSGN SYS005,TAPE
 // PAUSE MOUNT TAPE
 // TLBL CXXIN,'cxx.bkup'                          Directory Backup
 // EXEC DBUTLTY,SIZE=750K
         LOAD  AREA=CXX,DEVICE=TAPE,DTFNAME=CXXIN
 /*
 /&
 * $$ EOJ