Previous Topic: Define DB2 z/OS Permissions at Database Level

Next Topic: Define a DB2 z/OS Schema

Define DB2 z/OS Permissions at Object Level

You can use the DB2 for z/OS Permission Editor to add and define permissions at the object level in a DB2 physical model.

To define DB2 permissions at the object level

  1. Expand an object (such as a table, schema, tablespace, stored procedure, or a user ID) in the Model Explorer, right-click and select Properties.

    The DB2 for z/OS Editor for the object opens.

  2. Select the Permission tab and work with the following options:

    Note: Click New New icon in property editors to create a new object on the toolbar to create a permission. Use the Enter filter text text box to filter a large list of permissions to locate the one you want to work with.

    Name

    Specifies the name of the permission.

    With Grant

    Specifies whether or not the user who has permission on this object can grant this permission to another user.

  3. Work with the following options on the Permissions tab:
    Permissions

    Specifies the permissions you want to grant. The list of permissions displayed on this tab depends on the object you have selected. Select a check box to select the corresponding permission.

    Use the Select All (icon), Select None (icon), or Toggle Selection (icon) check boxes to select all the listed permissions, clear all selected permissions, and toggle permissions.

  4. Work with the following options on the Grant/Revoke tab:
    Users and Groups

    Specifies whether or not the permission is granted to the user. Select the check box to grant the permission.

    Database Roles

    Specifies whether or not the permission is granted to the database role. Select the check box to grant the permission.

    Use the User Editor (icon) and the Database Role Editor (icon) to select grant or revoke permissions.

  5. (Optional) Click the Comment tab and enter any comments you want associated with the permission.
  6. (Optional) Click the UDP tab to work with user-defined properties for the permission.
  7. (Optional) Click the Notes tab to view history information and view or edit user notes.
  8. Click Close.

    The DB2 for z/OS Permission Editor closes.

More information:

Add a Comment in a Property Editor

Add a UDP in a Physical Property Editor