Previous Topic: Adding New Menu Options to Existing Submenus

Next Topic: Defining a New Menu


Adding New Submenus to Existing Menus

When you select a session or function window on the CA Automation Point desktop, the menu bar for the selected window displays at the top of the desktop window. If you wish to add a submenu to the menu bar of an existing menu, you'll first need to reference the name of the menu specified for the desktop window before creating a new submenu for it. The new submenu will appear only on those windows that use that menu. Follow these steps to customize the menu:

  1. Identify the MenuName specified for the function or session window you wish to customize. To determine the name of the menu used for a desktop window, go to Configuration Manager's, Session Definition Sets dialog and open the selected session or function window definition. See Window Attributes, menu edit box.

    Note: If the menu setting is set to default, the actual name of the menu will follow these naming conventions:

  2. Add a SUBMENU statement to the user.mnu file. Specify the SUBMENU statement with your customized ITEM settings using a new SubmenuName. Edit user.mnu file to include the new SUBMENU statement and save.
  3. Add the following MENU statement to user.mnu file using MenuName determined in step 1 and SubmenuName determined in step 2.
    MENU   =  MenuName , SUBMENU  =  SubmenuName
    
  4. Edit user.mnu file to include the new MENU statement and save.

Example:

Add the following MENU and SUBMENU statements to the user.mnu file to add a new submenu titled 'Refresh' to an existing menu defined for the Merged Msg window by CA Automation Point in the axc2p.mnu file. The default menu for the Merged Msg window is mergedmsg.

MENU =  mergedmsg,
   SUBMENU = b_refresh
SUBMENU  =  b_refresh, NAME=(~Refresh),  
   ITEM  =  ( '~Fast background updates',   XCCMD('SESSCNTL BWUPDATE(1)')),
   ITEM  =  ( 'Normal ~background updates', XCCMD('SESSCNTL BWUPDATE(5)')),
   ITEM  =  ( '~Slow background updates',   XCCMD('SESSCNTL BWUPDATE(9)'))