The DELETEP statement is used to delete an entry in the PASSWORD
data set. If a control entry is deleted, all the secondary entries
for that data set are also deleted. If a secondary entry is deleted,
only that entry is deleted. When the control entry for an online DASD
data set is deleted, the protection status in the DSCB is set to indicate
that the data set is no longer protected.
The syntax of the DELETEP statement is:
Label |
Statement |
Parameters |
---|
[label]
|
DELETEP
|
DSNAME=name [,PASWORD1=current-password]
[,CPASWORD=control-password]
[,VOL=device=(list)]
|
where:
- DSNAME=name
- specifies the fully qualified name of the data set whose password
entry is to be deleted. The name must not exceed 44 characters, including
delimiters.
- PASWORD1=current-password
- specifies the password in the entry to be deleted. If PASWORD1
is not coded, the operator is prompted for the current password.
- CPASWORD=control-password
- CPASWORD must be specified unless the control entry is being
deleted, in which case PASWORD1 specifies the control password.
- VOL=device=(list)
- specifies the device type and serial numbers of the volumes,
limited to 50, that contain the data sets. If only one serial number
is listed, it need not be enclosed in parentheses. Multiple serial
numbers should be separated with commas.
If omitted, the protection
status in the DSCB is not changed, unless the data set is cataloged
and online. This parameter is not necessary for secondary password
entries, or if the desired protection status in the DSCB is already
set.