Changing Data Item Security [ DBChange Plus User's Guide ] MPE/iX 5.0 Documentation
DBChange Plus User's Guide
Changing Data Item Security
To change data item security, use the CHANGE ITEMSECURITY command.
CHANGE ITEMSECURITY changes only one user class access at a time. If you
want to change more than one user class at a time, use the CHANGE ITEM
command. Refer to "CHANGE ITEM" in chapter 10, "DBChange Plus Commands."
In this section, the security of the data item QUANTITY is changed in the
ORDERS database. Before making changes, the REVIEW ITEMS command output
looks like this:
Itm No. Item Name Attrib Security
------------------------------------------
15 QUANTITY I1 (/14)
>
In the example below, the security of the data item QUANTITY is changed
to add user class 18 to the write access class list. The DBCPLUS program
returns a message confirming the change of security.
>change itemsecurity quantity 18 w
Change of item security accepted.
>
Refer to "CHANGE ITEMSECURITY" in chapter 10, "DBChange Plus Commands,"
for a detailed description of the command syntax and parameters.
If you want to verify that the item security is changed, use the REVIEW
ITEMS command. In the following example, you can see that the security
for the data item QUANTITY is changed:
>review items quantity
REVIEW ITEMS:
Itm No. Item Name Attrib Security
------------------------------------------
15 QUANTITY I1 (/14,18) <---- *
>
* The security of the data item QUANTITY has been changed to put user
class 18 in the write access class list.
MPE/iX 5.0 Documentation