The BACKUP function creates a sequential copy
of data from the SCC-DLimit database. This data can be
used as input to reporting programs or as input to the DLMAINT
RESTORE control statement. If no INCLUDE or
EXCLUDE criteria is specified, the entire database is
copied. The $CONTROL record is always copied. Unless a
SET DATA-BASE statement is specified in the
SYSIN stream prior to the BACKUP
statement, the currently active database is copied. If the
LIST parameter is not included, then only the control
statement (BACKUP…) is written to
SYSPRINT.
The dataset created by the BACKUP function is a
physical sequential dataset with the following characteristics:
-
LRECL = 250 -
BLKSIZE = 2500 -
RECFM = FB
DSORG,
LRECL, and RECFM parameters cannot be
overridden. The block size may be overridden by a value specified in the JCL.
This function requires READ authority to each account
name (DSL.acctname) or DLimit
database administrator authority (for example, UPDATE
access to DSL.$CONTROL).
BACKUP TODD(ddname)
TODD(ddname)
Function: This is a required parameter. The
TODD parameter specifies the name of a
DD statement which will be the target of the
backup. This DD statement must refer to a sequential
dataset on DASD or tape. The dataset must be sufficiently large to
hold all of the backed up data.
Default: None
Format:
TODD(ddname)
LIST
Function: This is an optional parameter. The
LIST parameter indicates that the names of the
accounts which are backed up are to be written to the
SYSPRINT dataset.
Default: None
Format:
LIST
Example
//DSLBKUP JOB ...
//DLMAINT EXEC PGM=DLMAINT,REGION=4M
//STEPLIB DD DISP=SHR,DSN=DTS.R71.LOADLIB
//TODD DD DSN=DTS.R71.DLSDB.BACKUP,
// SPACE=(CYL,(50,5),RLSE),DISP=(,CATLG,DELETE)
//SYSPRINT DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//SYSIN DD *
INCLUDE ACCOUNT(ABC*,XYZ*) BACKUP TODD(TODD)
LIST