The following shows the command to back up the data area DEM in database 001 to the output data set, OUT1, and to output the data in Native Key sequence and compressed form using default values.
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 IXX001,'db001.index',,DA Index Area for DBID 1
// EXTENT SYSnnn,volser
// DLBL DEM001,'db001.dem',,DA Area DEM in DBID 1
// EXTENT SYSnnn,volser
// ASSGN SYS010,TAPE
// PAUSE MOUNT TAPE
// TLBL OUT1,'dem.bkup' Output data
// EXEC DBUTLTY,SIZE=750K
BACKUP AREA=DEM,DBID=1,DEVICE=TAPE,DTFNAME=OUT1
/*
/&
* $$ EOJ
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|