Limited support BMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see BMC AMI Command Center for Db2 13.2

Managing SmartSwitch rules


SmartSwitch rules enable you to customize the behavior of the LOADPLUS, UNLOAD PLUS, and REORG PLUS utilities so that you can take advantage of BMC AMI Utilities while using your existing JCL code. 

You can edit, delete, or add multiple rules before you save all the changes to the SmartSwitch view in one action.

To add a SmartSwitch rule

New console
  1. In the Product Tools perspective, select or add a SmartSwitch view.
    See Adding-a-SmartSwitch-view.
     The results pane displays a rules table for the selected SmartSwitch view. 

     

    Note

    You can click Refresh rules NW_restart.png at any time to refresh the rules table. If you have not saved your changes, you are asked to confirm the action.

  2. On the toolbar, click Add rule NW_plus_circle_o.png.
  3. In the Add SmartSwitch Rule dialog box, complete all of the fields. (Blank fields are not supported.) 

    Field

    Description

    LPAR

    Enter the name of a specific LPAR or enter a wildcard value.

    Subsystem

    Enter the name of a specific subsystem or enter a wildcard value.

    Auth ID

    Enter the name of a specific authorization ID or enter a wildcard value.

    Database

    Enter the name of a specific database or enter a wildcard value.

    Space name

    Enter the name of a specific table space or index space name or enter a wildcard value.

    Object type

    Select to implement the rule for Partitioned by Growth spaces or for all object types.

    Utility

    Select to implement the rule for all utilities or for one of the following utilities:

    • Load
    • Unload
    • Reorg

    Rule

    Select the rule that you want to implement:

    (SPE2101)

    • Force no switch: The product always uses the appropriate classic utility (LOADPLUS,UNLOAD PLUS, or REORG PLUS).
    • Allow switch: The product uses the BMC AMI Utilities when the BMC AMI Utilities can perform the task more effectively.
    • Report switch: The product runs a simulation to identify which objects use the BMC AMI Utilities.

    Comment

    (Optional) Enter a comment

     The following guidelines apply to all entered field value:

    • The first character can be A-Z, @, #, or $
    • Remaining characters can be A-Z, 0-9, @, #, or $
    • The last character can be %, in addition to  A-Z, 0-9, @, #, or $
  4. Click OK.
     The rule is added to the rules table.
  5. On the toolbar, click Save changes NW_floppy.png.

    Note

    When you save the rule, all lowercase letters are converted to uppercase.

Classic console
  1. In the Product Tools perspective, select or add a SmartSwitch view.
    See Adding-a-SmartSwitch-view.
     The results pane displays a rules table for the selected SmartSwitch view. 

     

    Note

    You can click refresh-24.png at any time to refresh the rules table. If you have not saved your changes, you are asked to confirm the action.

  2. On the toolbar, click Add rule Add-16.png.

    Tip

     You can also right-click in the results pane to select this action.  

  3. In the Add SmartSwitch dialog box, complete all of the fields. (Blank fields are not supported.) 

    Field

    Description

    LPAR

    Enter the name of a specific LPAR or enter a wildcard value.

    Subsystem

    Enter the name of a specific subsystem or enter a wildcard value.

    Auth ID

    Enter the name of a specific authorization ID or enter a wildcard value.

    Database

    Enter the name of a specific database or enter a wildcard value.

    Space name

    Enter the name of a specific table space or index space name or enter a wildcard value.

    Object type

    Select to implement the rule for Partitioned by Growth spaces or for all object types.

    Utility

    Select to implement the rule for all utilities or for one of the following utilities:

    • Load
    • Unload
    • Reorg

    Rule

    Select the rule that you want to implement:

    • Force Classic: The product always uses the appropriate classic utility (LOADPLUS,UNLOAD PLUS, or REORG PLUS).
    • Allow NGT: The product uses the BMC AMI Utilities utility when the BMC AMI Utilities utility can perform the task more effectively.
    • Report NGT: The product runs a simulation to identify which objects use the BMC AMI Utilities utilities.

    Comment

    (optional) Enter a comment

     The following guidelines apply to all entered field value:

    • The first character can be A-Z, @, #, or $
    • Remaining characters can be A-Z, 0-9, @, #, or $
    • The last character can be %, in addition to  A-Z, 0-9, @, #, or $
  4. Click OK.
     The rule is added to the rules table.
  5. On the toolbar, click Save changes g_gud_save.png.

    Note

    When you save the rule, all lowercase letters are converted to uppercase.

To edit a SmartSwitch rule

New console
  1. In the Product Tools perspective, select the SmartSwitch view that contains the rule or rules that you want to edit.
    The results pane displays a rules table for the selected SmartSwitch view. 
  2. Select a rule, and click Edit rule NW_pencil_adapt.png
  3. In the Edit SmartSwitch Rule dialog box, edit the rule.
     See Step 3 of To add a SmartSwitch rule
  4. Click OK.
    NW_pencil_adapt_teal.pngis displayed next to the edited rule.
  5. Continue to edit until you are ready to save the changes to the rules.

    Tip

    Before saving, you can discard your changes by selecting a rule and clicking Reset rules NW_refresh.png.

  6. On the toolbar, click Save changes NW_floppy.png.
    The edited rules are updated in the rules table. 
Classic console
  1. In the Product Tools perspective, select the SmartSwitch view that contains the rule or rules that you want to edit.
    The results pane displays a rules table for the selected SmartSwitch view. 
  2. Select a rule, and click edit-24.png

    Tip

    You can also right-click in the results pane to select this action.

  3. In the Edit SmartSwitch Rule dialog box, edit the rule.
     See Step 3 of To add a SmartSwitch rule
  4. Click OK.
    edit-24.pngis displayed next to the edited rule.
  5. Continue to edit until you are ready to save the changes to the rules.

    Tip

    Before saving, you can discard your changes by selecting a rule and clicking Reset rules reset-24.png.

  6. On the toolbar, click Save changes g_gud_save.png.
    The edited rules are updated in the rules table. 

To copy a SmartSwitch rule

You can create a new SmartSwitch rule by copying and editing an existing SmartSwitch rule. 

New console
  1. In the Product Tools perspective, select the SmartSwitch view that contains the rule or rules that you want to copy.
    The results pane displays a rules table for the selected SmartSwitch view.
  2. Select a rule, and click Copy rule NW_files_copy_o.png
  3. Edit the rule.
  4. Click OK.
     The rule is added to the rules table. 

    Tip

    The rule is validated, and you cannot save a rule that contradicts or duplicates an existing rule.

  5. In the tool bar, click Save changes NW_floppy.png .

     

Classic console
  1. In the Product Tools perspective, select the SmartSwitch view that contains the rule or rules that you want to copy.
    The results pane displays a rules table for the selected SmartSwitch view.
  2. Select a rule, and click Copy rule g_gud_copy-16.png

    Tip

    You can also right-click in the results pane to select this action.

  3. Edit the rule.
  4. Click OK.
     The rule is added to the rules table. 
     

    Tip

    The rule is validated, and you cannot save a rule that contradicts or duplicates an existing rule.

  5. On the toolbar, click Save changes g_gud_save.png .

     

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*