Reserve or lock volumes during DLMAINT processing
The VOLUME statement specifies whether
DASD volumes processed during
BACKUP, RESTORE, or
RESYNC processing are to be RESERVEd
or LOCKed. The default is not to issue a
RESERVE or LOCK during
DLMAINT operations. The RESERVE operand indicates
that all volumes processed by subsequent DLMAINT statements are to be
RESERVEd .The RESERVE is held for the duration of DLMAINT processing or
until a VOLUME RELEASE statement is encountered. The LIST operand
indicates that a message is to be issued indicating whether the RESERVE or
RELEASE was successful.
RESERVE is specified, other applications will not
be able to allocate to the device while DLMAINT is
working with the volume. VOLUME LIST
LOCK | UNLOCK
RESERVE | RELEASE
LIST
Function: This is an optional parameter. The
LIST operand indicates that a message is to be issued
indicating whether the RESERVE or
RELEASE was successful.
Default: None
Format:
LIST
LOCK | UNLOCK
Function: This is an optional parameter. The
LOCK operand can be specified during
RESYNC processing when the DLimit
product is currently also active, and indicates that the
dadsm exits will not add or subtract for any
dadsm request on that volume. This ensures that the
space will not change while a volume is being processed by
RESYNC.
Default:
NOLOCK
Format:
LOCK or NOLOCK
RESERVE | RELEASE
Function: This is a required parameter. The
RESERVE operand indicates that all volumes processed
by subsequent DLMAINT statements are to be
RESERVEd. The RESERVE is held for
the duration of DLMAINT processing or until a
VOLUME RELEASE statement is encountered.
Default: None
Format:
RESERVE or RELEASE
Example - In the following example, volumes to be processed by
RESYNC are RESERVEd to prevent any
datasets from being created or deleted during RESYNC
processing in order to make the RESYNC more accurate.
SET RULES(NAME(RSYNC3) DDNAME(PARMLIB))
SET DATABASE(SYSTEM)
INCLUDE DSNAME(NEW.DS*)
INCLUDE VOLUME(STOR02,TST*)
VOLUME RESERVE
RESYNC DETAIL
DLMAINT
DLMAINT return codes
Table 7-1. DLMAINT return codes
| Return code | Description |
|---|---|
0
|
Successful completion |
20
|
Required parameters missing |
24
|
Unable to determine calling program name |
28
|
OPEN for SYSPRINT failed |
32
|
Invalid DLMAINT control statement
specified |
36
|
SCC-DLimit not active |
40
|
DLMAINT load library not APF
authorized |
44
|
Other error. See accompanying error message |