
UNLOCK TSIDMNT Commands
3-42 User Reference
UNLOCK
Use the UNLOCK command to permanently unlock a locked dataset or version. To unlock a
dataset or version for one use only, use the RELEASE command instead. Use of UNLOCK
requires prior use of the LOCK command.
To permit unlimited access to a specific version, use UNLOCK with a version qualifier. To
permit creation of an unlimited number of new versions, use UNLOCK without a version
qualifier.
UNLOCK '
dataset-name
',
dataset-specifier
[,PWD=
password
]
dataset-name is required.
dataset specifier is required. It must be one of the following:
• VER=version-number
•
SER=volser
• GEN=generation-number
password must be used if the dataset has been password–protected.
The following example unlocks the PAYROLL.MASTER dataset, supplying its dataset
password HARRY. Unlimited versions of the dataset can now be created.
UNLOCK 'PAYROLL.MASTER',PWD=HARRY
The following example unlocks version 6 of the INVENT.958575 dataset. It can now be read
as input an unlimited number of times.
UNL 'INVENT.958575',VER=6
Description
Syntax
Parameters
Examples
Comentarios a estos manuales