Previous Topic: DB2 Resource Class—Secure DB2 DatabasesNext Topic: DB2BUFFP Resource Class—Secure DB2 Buffer Pools


Example: DB2 resource class

This example protects access to an IMS system with the IMS ID of IMSB, by assigning ownership to the Software Department:

TSS ADDTO(SOFTDEP) DB2(IMSB.MASS)

The administrator may now PERMIT access to users or profiles that require access.

This example removes ownership:

TSS REMOVE(SOFTDEP) DB2(IMSB.MASS)

This example permits a user (GKM75) to access an IMS system with the IMSID of IMSB:

TSS PERMIT(GKM75) DB2(IMSB.MASS)

This example revokes access:

TSS REVOKE(GKM75) DB2(IMSB.MASS)