Previous Topic: Example JCL (Input from Tape)Next Topic: Sample Report:  LOAD CXX


Example JCL (Input from Disk)

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,DISK,VOL=volser,SHR
 // DLBL CXXIN,'cxx.bkup'                          Directory Backup
 // EXTENT SYS005,volser
 // EXEC DBUTLTY,SIZE=750K
         LOAD  AREA=CXX,DEVICE=DISK,DTFNAME=CXXIN
 /*
 /&
 * $$ EOJ