Deletes one or more licenses and all history information for
those licenses from the License Database.
Format
LICENSE DELETE product-name[,...]
1 – Parameter
product-name[,...]
Name or names of products with a license to be removed from the
License Database. You can delete only licenses that have been
registered.
2 – Qualifiers
2.1 /ALL
Positional qualifier.
Specifies that all licenses with the given product name should
be deleted. This qualifier affects only the product name that
immediately precedes it in the command string.
2.2 /AUTHORIZATION
/AUTHORIZATION=string
Positional qualifier.
Specifies a string that helps identify the license you want to
delete. You must enter the authorization string exactly as it
appears on your PAK. Use this optional qualifier only if you
need it to identify the license. This qualifier affects only the
product name that immediately precedes it in the command string.
2.3 /DATABASE
/DATABASE=filespec
Specifies the location of the License Database from which
the license or licenses should be deleted. The default file
specification is defined by the logical name LMF$LICENSE, which
points to SYS$COMMON:[SYSEXE]LMF$LICENSE.LDB on an unmodified
OpenVMS system. Use this optional qualifier only if you do not
use the default License Database name and location.
2.4 /ISSUER
/ISSUER=string
Positional qualifier.
Specifies the name of the company (for example, HP) that issued
the PAK for the product. Use this optional qualifier only if you
need it to identify the license. This qualifier affects only the
product name that immediately precedes it in the command string.
2.5 /LOG
/LOG
/NOLOG (default)
Controls whether LICENSE DELETE displays the name of each license
that it deletes.
2.6 /PRODUCER
/PRODUCER=string
Positional qualifier.
Specifies the name of the company (for example, HP) that owns the
product for which you have a license. Use this optional qualifier
only if you need it to identify the license. This qualifier
affects only the product name that immediately precedes it in
the command string.
2.7 /STATUS
/STATUS=[(keyword)[,...]]
Positional qualifier.
Selects licenses to be deleted according to the product-name
parameter specified and one or more license status keywords from
the following list:
o ALL (default)-Deletes all specified licenses in the database.
o ACTIVE-Deletes all specified enabled licenses in the database.
ACTIVE status means that the registered license is enabled for
loading. For backward compatibility, the LICENSE LIST command
identifies enabled licenses as having a status of active.
o DISABLED-Deletes all specified disabled licenses in the
database.
o EXTINCT-Purges specified license information by deleting all
extinct license records in the database. Extinct records are
history records retained after a license is modified.
o CANCELED-Deletes all specified canceled licenses in the
database. Note that current versions of LMF do not set license
status to canceled. Old licenses may have this status.
If you enter more than one keyword, separate them with commas,
and enclose the list in parentheses. You can abbreviate each
option to the minimum number of characters needed to uniquely
identify it.
3 – Description
Use LICENSE DELETE to delete licenses from the License Database.
To tailor your command, use options to the /STATUS qualifier and
wildcard characters in product name strings.
File space is not released following LICENSE DELETE commands.
For information on retrieving Record Management Services (RMS)
file space, see the OpenVMS Record Management Utilities Reference
Manual.
4 – Examples
1.$ LICENSE DELETE FORTRAN
This command deletes the Fortran license from the default
License Database.
2.$ LICENSE DELETE FORTRAN, COBOL, PASCAL
This command deletes the Fortran, COBOL and Pascal licenses
from the default License Database.
3.$ LICENSE DELETE FORTRAN /DATABASE=MY$DISK:MYDATA.LDB
This command deletes the Fortran license from the
MY$DISK:MYDATA.LDB License Database.
4.$ LICENSE DELETE FORTRAN /ISSUER=XYLASOFT
This command deletes all licenses for the product named Fortran
issued by XYLASOFT from the default License Database. If there
are licenses for products named Fortran issued by companies
other than XYLASOFT, they are not deleted.
5.$ LICENSE DELETE * /STATUS=(EXTINCT)
This command deletes all license records with a status of
EXTINCT from the database. This is effectively a purge of all
historical information.