Previous Topic: How to UseNext Topic: Sample Report:  LOCK


Example JCL

The following shows the command to lock a data area during a backup.

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 .
 * $$ 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',,DA                             Directory data set
 // EXTENT SYSnnn,volser
 // EXEC DBUTLTY,SIZE=750K
          LOCK      OPTION=MOVER,DBID=1,AREA=DEM
 /*
 /&
 * $$ EOJ