Setting DB2 Navigator options

Use the following procedures to set the behavior of certain DB2 Navigator options.

To set general options

  1. On the DB2 Navigator perspective, click Options .
  2. Select the General tab.
  3. Select your preferences from the following options:

    OptionDescriptionDefault
    Decimal PointSelect this check box to use a period (.) for decimal points. Clear this check box to use a comma.Selected (period)
    Verbose OutputSelect this check box to run the command with output level VERBOSE. Clear this check box to use output level TERSE.Selected (VERBOSE output)

    Define

    (HDDL and DDL only)

    Select this check box to include the DEFINE parameter in DDL or HDDL for a table space or index. Clear this check box to omit the parameter.Not selected

    SQLID Before Grant

    (DCL only)

    Select this check box to generate a SET CURRENT SQLID= grantor statement before each GRANT statement. This option is used for processing HDDL with AUTHs, HGRANT, and CASCADE REVOKE REASSIGN.

    Clear this check box to omit the statement.

    Not selected
  4. Click OK.

To set the HDDL command output options

  1. On the DB2 Navigator perspective, click Options .
  2. Select the General tab.
  3. To include the DEFINE parameter for a table space or index, select Define.
  4. Select the Include in HDDL tab.
  5. Select the following options as required:

    OptionDescriptionDefault
    Object types

    Select the object types that you want to include in the HDDL output. Clear the check box for any object type that you want to omit.

    You can select the following object types:

    • Aliases
    • Auths
    • Databases
    • Foreign keys
    • Indexes
    • Materialized Queries
    • Plans
    • Synonyms
    • Table spaces

    • Tables

    • Triggers
    • Views
    All selected except AUTHS

    Packages

    Select one of the following options to control the BIND PACKAGE commands added to the HDDL output:

    • No BIND statements
    • BIND statements for all versions
    • BIND statement for the latest version
    • REBIND statement for all versions
    No BIND statements
  6. Click OK.

To set HSTATS command output options

(BMC.DB2.SPE2301) Open link

  1. On the DB2 Navigator perspective, click Options .
  2. Select the Include in HSTATS tab.
  3. Select the following options as required:

    OptionDescriptionDefault
    Include objects with

    Select one of the following options for which statistics to include:

    • Access path statisticsGenerates DML statements for statistics used for generating access paths during the bind process
    • All statisticsGenerates DML statements for all statistics regardless of their usage
    Access path statistics
    Insert commits after every

    Select after which objects you want to include a COMMIT statement.

    You can select the following object types:

    • Table spaceSpecifies whether to insert a commit after each table space update
    • Index—Specifies whether to insert a commit after each index update
    • Table—Specifies whether to insert a commit after each table update
    • 100 statementsSpecifies whether to insert a commit after every 100 statements
    All selected
  4. Click OK.
  1. Select the Options  button.

  2. Select the Commands tab.

  3. Specify your preferences, and click OK.

The following table shows the options that you can set.

Option

Description

Default

Decimal Point

Select this check box to use a period (.) for decimal points. Clear this check box to use a comma.

Selected (period)

Verbose Output

Select this check box to run the command with output level VERBOSE. Clear this check box to use output level TERSE.

Selected (VERBOSE output)

Object types

Select the object types that you want to include in the HDDL output. Clear the check box for any object type that you want to omit.

You can select the following object types:

  • Table spaces

  • Tables

  • Foreign keys

  • Views

  • Indexes

  • Synonyms

  • Aliases

  • Plans

  • Triggers

  • Auths

All selected except Auths

Define

(HDDL and DDL only)

Select this check box if you want to include the DEFINE parameter in DDL or HDDL for a table space or index. Clear this check box to omit the parameter.

Not selected

SQLID before Grant

(DCL only)

Select this check box to generate a SET CURRENT SQLID= grantor statement before each GRANT statement. This option is used for processing HDDL with AUTHs, HGRANT, and CASCADE REVOKE REASSIGN.

Clear this check box to omit the statement.

Not selected

Was this page helpful? Yes No Submitting... Thank you

Comments