Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 10 Maintaining Menus : Deleting a Menu Definition

Deleting a Menu Definition
There are a number of methods that you can use to delete a menu definition. Refer to the following table to determine the appropriate method to use:
Was not promoted and is on a node remote to the node where you are presently working
Considerations when Deleting a Menu
If a menu definition was promoted to another (target) system, you must submit a change request through the Promotion system (of the source system) to have the deletion extended to the target system. If you do not issue a change request to delete the definition, the following occurs:
If a new menu with the same name is created on the source system, the menu cannot be promoted to the target system because a menu with the same name already exists there.
Deleting a Definition Using the Menu Definer
When you are within an existing definition in the Menu Definer you can delete a definition by doing one of the following:
Use the DELETE command.
In either case you are prompted to confirm the deletion.
Deleting a Definition Using a Shareable Tool
The shareable tool DELETE_DEFN is available to you to delete existing definitions. Using this tool, if the correct security access is set up, you can delete definitions across TIBCO Object Service Broker nodes or within your local node. DELETE_DEFN is called from within a rule.
Example Rule
The following rule calls the DELETE_DEFN tool to delete the definition of the DEPARTMENTS menu from Node A. Because a menu definition is being deleted, values are not required for the arguments library or environment.

 
DELETE_MENUDEFN;
_
_ ---------------------------------------------------------------------------
_ ------------------------------------------------------------+--------------
_ CALL DELETE_DEFN(’MENU’, ’DEPARTMENTS’, ’’, ’’ , ’NODEA’, | 1
_ ’’); |
_---------------------------------------------------------------------------

 
See Also
TIBCO Object Service Broker Managing Deployment for information about change requests.
TIBCO Object Service Broker Shareable Tools for information about the tools.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved