Valid on z/OS.
Use DB2PKG to secure DB2 packages.
When used with TSS ADDTO/REMOVE, this resource class has the following format:
TSS ADDTO(acid) DB2PKG(collection‑id.package‑id,...)
Two to twenty‑six characters
One to five DB2 packages per TSS command
When used with TSS PERMIT/REVOKE, this resource class has the following format:
TSS PERMIT(acid) DB2PKG(collection‑id.package‑id,...)
Two to twenty‑six characters
Two to 27 characters
One to five packages per TSS command
This resource class has the following format for TSS ADMIN/DEADMIN:
TSS ADMIN(acid) DB2PKG(Authority level(s))
DB2PKG is used with:
The administrator can specify:
This example gives the Operations Department (OPRDEPT) ownership of package PACK2, in the FIN collection:
TSS ADDTO(OPRDEPT) DB2PKG(FIN.PACK2)
This example removes ownership of this package:
TSS REMOVE(OPRDEPT) DB2BUFFP(FIN.PACK2)
This example authorizes USRMARK the Authority to copy the contents of a specified package:
TSS PERMIT(USRMARK) DB2PKG(FIN.PACK1) ACCESS(COPY)
This example revokes USRMARK's Authority:
TSS REVOKE(USRMARK) DB2PKG(FIN.PACK1) ACCESS(COPY)
This example gives OPRDEPT the ability to assign ownership of packages, to permit users to access packages with his scope, and audit the use of packages owned by the division:
TSS ADMIN(OPRDEPT) DB2PKG(OWN,XAUTH,INFO)
This example removes OPRDEPT's Authority for packages:
TSS DEADMIN(OPRDEPT) DB2PKG(OWN,XAUTH,INFO)
This example determines who has access to the PACK3 package in the FIN collection:
TSS WHOHAS DB2PKG(FIN.PACK3)
CA Top Secret responds by displaying all of the ACIDs that have access to this particular package.
This example determines who owns package PACK3 in the FIN collection:
TSS WHOOWNS DB2PKG(FIN.PACK3)
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|