Valid on z/OS.
Use DB2TABLE to secure DB2 tables.
When used with TSS ADDTO/REMOVE, this resource class has the following format:
TSS ADDTO(acid) DB2TABLE(userid.table/view,...)
two to twenty‑six characters
One to five DB2 tables or views or prefixes per TSS command
When used with TSS PERMIT/REVOKE, this resource class has the following format:
TSS PERMIT(acid) DB2TABLE(userid.table/view prefix(es))
Two to twenty‑six characters per prefix
Two to forty‑six characters
One to five tables or views or prefixes per TSS command
DB2TABLE is used with:
The administrator can:
The DB2TABLE resource class supports all masking characters.
This example gives the Payroll Department (PAYDEPT) ownership of the table USRMIKE.PAYR:
TSS ADDTO(PAYDEPT) DB2TABLE(USRMIKE.PAYR)
This example removes ownership of the table PAYR:
TSS REMOVE(PAYDEPT) DB2TABLE(USRMIKE.PAYR)
This example authorizes USRMARE to select the social security information on table USRMIKE.PAYR:
TSS PERMIT(USRMARE) DB2TABLE(USRMIKE.PAYR) ACCESS(SELECT)
This example revokes USRMARE's Authority to table USRMIKE.PAYR:
TSS REVOKE(USRMARE) DB2TABLE(USRMIKE.PAYR)
This example restricts a user's ability to update specifically‑named columns in a table. Authorize USRGAB with update privilege to correct any errors in the start‑date column on the USRMIKE.PAYR table:
TSS PERMIT(USRGAB) DB2TABLE(USRMIKE.PAYR.STRTDTE) ACCESS(UPDATE)
This example revokes USRGAB's Authority to table USRMIKE.PAYR:
TSS REVOKE(USRGAB) DB2TABLE(USRMIKE.PAYR)
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|