Deletes existing ACLs for resources.
Requirement: | You must be the resource owner, have ACL access to a resource, or have special privilege in order to delete an ACL. When using special privilege, set the ACLSPECIAL= option in the LIBNAME statement. |
Interactions: | Before using DELETE ACL, you must set the context for the request with the SET ACLUSER statement. The user name that is specified in SET ACLUSER must be that of the ACL owner. For more information, see SET ACLUSER Statement. |
If you are deleting an ACL for a resource other than a domain or a table, set the ACL type before using DELETE ACL. For more information, see SET ACLTYPE Statement. | |
See: | For information about how the server supports ACLs, see ACL Security Model. |
deletes all existing resource ACLs for which ACLUSER has Control access.
identifies the selected ACLs as names of catalog entries from the catalog cat. The C= option must be paired with the T= option.
identifies the specified ACLs as generic ACLs.
Note | If you specify /GENERIC when deleting table column ACLs, the /GENERIC applies to the table name, not to the column name. You cannot use wildcards with column names. |
identifies the domain ACL.
identifies the catalog entry type used to qualify the selected ACLs. This option is required when the C= option is specified.
delete acl/LIBNAME;
set acltype catalog; delete acl _all_;
delete acl mine_aug2016;
delete acl mine/generic;
delete acl mine_aug2016.salary;
delete acl kbike._all_;
delete acl _all_._all_;
set acltype catalog; delete acl rbike;
set acltype catalog; delete acl my c=mycat t=catams/generic;