DELETE ITEMSECURITY [ DBChange Plus User's Guide ] MPE/iX 5.0 Documentation
DBChange Plus User's Guide
DELETE ITEMSECURITY
Deletes all security specifications from a data item.
Syntax
D[ELETE] ITEMSE[CURITY] DataItemName
Parameters
DataItemName is the name of the data item whose security
specifications are to be removed.
Description
Use this command to delete all security specifications from a data item,
which results in an absent list. This command is necessary because
without it, you can only delete user classes from the security list,
creating a null (or empty) list (/), not an absent list. A null list
allows only the database creator access to the data item. An absent list
allows any user read access to the data item.
Note that access to data items may be further restricted or allowed by
data set security.
Example
>delete itemsecurity state
In this example, all security specifications are removed from the data
item STATE. This allows all users read access to the data item unless
access is restricted by data set security.
Before the deletion, the schema entry for the data item STATE looks like
this:
STATE, X2(12,13,14/11); <---- security list to be deleted
After the deletion, the schema entry for the data item STATE looks like
this:
STATE, X2; <---- security list deleted
MPE/iX 5.0 Documentation