Identifies DB2 schemas.
The following TSS commands can be used with the DB2SCHMA keyword: CREATE, DELETE, ADDTO, REMOVE, PERMIT, REVOKE, ADMIN, DEADMIN, WHOOWNS, WHOHAS.
TSS ADD(acid) DB2SCHMA(schema, schema,...)
2‑26 characters
1‑5 DB2 schemas per TSS command.
Administrators must have DB2SCHMA(OWN) authority.
The DB2SCHMA resource class supports all masking characters.
The DB2SCHMA keyword is used with the following ACID types: User, Profile, Department, Division, Zone, DCA, VCA, ZCA, LSCA, SCA, MSCA.
TSS PER(acid) DB2SCHMA(schema, schema,...)
2‑128 characters
1‑5 schemas per TSS command.
The administrator can specify any or all of the following accesses: ALTERIN, CREATEIN, DROPIN, ALL, NONE. The default access is ALTERIN.
The administrator can use any of the following methods to control access to schemas: Expiration, Facility, Time/Day, Actions.
The DB2SCHMA keyword is used with the following ACID types: User, Profile, DCA, VCA, ZCA, LSCA, SCA, MSCA.
TSS ADMIN(acid) DB2SCHMA(authority level(s))
Administrators can specify any or all of the following authority levels: OWN, XAUTH, AUDIT, INFO, REPORT, ALL.
The DB2SCHMA keyword is used with the following ACID types: User, DCA, VCA, LSCA, ZCA, SCA, MSCA.
To give the Finance Department (FINDEPT) ownership of the schema FIN, the administrator enters:
TSS ADD(FINDEPT) DB2SCHMA(FIN)
Ownership of schema FIN is removed by entering:
TSS REMOVE(FINDEPT) DB2SCHMA(FIN)
The administrator wants to give USRMARK the authority to create functions and stored procedures in the schema FIN:
TSS PERMIT(USRMARK) DB2SCHMA(FIN) ACCESS(CREATEIN)
To revoke USRMARK's authority the administrator enters:
TSS REVOKE(USRMARK) DB2SCHMA(FIN) ACCESS(CREATEIN)
To give FINVCA the ability to assign ownership of schemas, to permit users to access schemas within his scope, and audit the use of schemas owned by the division, the administrator enters:
TSS ADMIN(FINVCA) DB2SCHMA(OWN,XAUTH,INFO)
To remove FINVCA's authority for schemas, the administrator enters:
TSS DEADMIN(FINVCA) DB2SCHMA(OWN,XAUTH,INFO)
To determine who has access to the schema FIN, the administrator enters:
TSS WHOHAS DB2SCHMA(FIN)
CA Top Secret will respond by displaying all of the ACIDs that have access to this particular schema.
To determine who owns the schema FIN, the administrator enters:
TSS WHOOWNS DB2SCHMA(FIN)
|
Copyright © 2011 CA Technologies.
All rights reserved.
|
|