
LOCK Command
3-32 User Reference
Connectivity Systems, Inc.—Copyright © 2006
Use Pursuant to Company Instructions
LOCK Command
Description LOCK locks a dataset or version. If you do not specify a version, volume
serial number, or generation number, the BIM-EPIC dataset definition
(EDD) is locked for output. BIM-EPIC does not permit additional
versions to be created until you release or unlock the EDD. If you do
specify a version, volume serial number, or generation number, only that
version of the dataset is locked for input, which means that the version
cannot be read until you release or unlock it.
Syntax The following provides an example of the LOCK command syntax.
LOCK 'dataset-name' [VER=n|SER=volser|GEN=n]
Parameters The following provides a description of the parameters you can use with
LOCK.
Definitions The following provides definitions for the parameters you can use with
LOCK.
Example The following example locks all versions of the PAYROLL.MASTER
dataset. New versions cannot be created.
LOCK 'PAYROLL.MASTER'
The following example locks only version 1 of the
'PAYROLL.MASTER' dataset. This version cannot be accessed for input.
LOC 'PAYROLL.MASTER',VER=1
Parameter Required? Valid Entry Default
dataset-name Yes 1 to 44 characters None
Specify one of the following (optional):
VER No 1 to 999 None
SER No 1 to 6 characters None
GEN No 1 to 999999 None
Parameter Definition
dataset-name Specifies the name of the dataset to be locked.
VER Specifies the version number.
SER Specifies the volume serial number of the first (or
only) volume of a tape version.
GEN Specifies the generation number of a disk version.
Kommentare zu diesen Handbüchern