Previous Topic: DB2PKG Resource Class—Secure DB2 PackagesNext Topic: DB2SEQ Resource Class—Identify DB2 Sequences


DB2PLAN Resource Class—Secure DB2 Plans

Valid on z/OS.

Use DB2PLAN to secure DB2 plans.

When used with TSS ADDTO/REMOVE, this resource class has the following format:

TSS ADDTO(acid) DB2PLAN(plan,plan,plan,...)
Prefix length

One to eight characters

Capacity of list

One to five DB2 plans or prefixes per TSS command

When used with TSS PERMIT/REVOKE, this resource class has the following format:

TSS PERMIT(acid) DB2PLAN(plan prefix(es))
Prefix length

One to eight characters per prefix

Capacity of list

One to five plans or prefixes per TSS command

DB2PLAN is used with:

The administrator can specify:

Examples: DB2PLAN resource class

This example gives the Engineering Department (ENGDEPT) ownership of the plan SR19052P:

TSS ADDTO(ENGDEPT) DB2PLAN(SR19052P)

This example removes ownership of the plan SR19052P:

TSS REMOVE(ENGDEPT) DB2PLAN(SR19052P)

This example authorizes USRMIKE to bind on plan SR19052P:

TSS PERMIT(USRMIKE) DB2PLAN(SR15092P) ACCESS(BIND)

This example revokes USRMIKE's Authority to plan SR19052P:

TSS REVOKE(USRMIKE) DB2PLAN(SR19052P)