
LOCK TSIDMNT Commands
3-28 User Reference
LOCK
Use the LOCK command to lock a dataset or version.
If you do not specify a version, volume serial number, or generation number, the EDD is
locked for output, which means that BIM-EPIC does not permit additional versions to be
created until you release or unlock it. 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 it
cannot be read until you release or unlock it.
LOCK '
dataset-name
'
,VER=n
,SER=
volser
,GEN=n
Parameter Required? Valid Entry Default
dataset-name
Yes 1 to 44 characters None
Specify only one of the following three (optional):
VER 1 to 999 None
SER 1 to 6 characters None
GEN 1 to 999999 None
dataset-name specifies the name of the dataset to be locked.
To lock a specific version, specify either VER, SER, or GEN:
• 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.
The following example locks all versions of the PAYROLL.MASTER dataset.
LOCK 'PAYROLL.MASTER'
The following example locks only version 1 of the 'PAYROLL.MASTER' dataset.
LOC 'PAYROLL.MASTER',VER=1
Description
Syntax
Parameters
Example
Comentarios a estos manuales