<?xml version="1.0" encoding="UTF-8" ?>
<!-- 
Filename:  %FILENAM%
Author:    %DEVELOPER%
Created:   %DATE%

Decription:

Documentation:    

Change History:
%DATE% %DEVELOPER% Creation
11-Jul-12 merickso Fixed text alignment and standard text

Pre-Installation:
-->

<menus>

<menu>
   <menu_name>main</menu_name>
   <menu_title>Oracle Diagnostic Assistant First Menu</menu_title>
   <menu_text><![CDATA[   
  This is a simple Menu Template to get you started and each menu
  has a title such as this. One to two lines as short intro.
    
  Select one of the following options:
    (1) Hello env - shows env settings OS type command            
    (2) RDA help - can run any module or profile
    (3) OCM status - can run any OCM commands
    (4) ADR help - full support for adr commands
      ...
  
    (H)elp   (E)xit  
   ]]>
   </menu_text>
   <menu_help>
  Oracle Diagnostic Assistant: First Menu Help
     
  This menu help should explain each of the commands in detail.
      
  Explanation of available options:
  
    (1) Hello env
        Shows how any OS command can be called with env for unix or set 
        for DOS by using platform specific identifiers in the command_args
        section such as command_args_windows
          
    (2) RDA help
          o Can run any module or profile
          o The command_type rda supports running most of the rda
            modules or profiles with simple syntax:
            ie. run_module=DB10g 
                run_profile=OS
                  
    (3) OCM status
        o Can run any OCM commands
        o If OCM is installed, then there is full support to run any of the
          emCCR commands such as '>emCCR collect'
          This is done by using:
              command_type Ocm 
              command_args collect
      
    (4) ADR help
        o Full support for adr commands
        o The command_type Adr supports most of the adrci commands to allow
          checking incidents, packaging them, and looking at the latests
          incident details
        o All of the adrci commands are available        
        
    ...       
              
   </menu_help>
   <menu_map>1:command:os_100</menu_map>
   <menu_map>2:command:rda_100</menu_map>
   <menu_map>3:command:ocm_100</menu_map>
   <menu_map>4:command:adr_100</menu_map>
   <menu_map>B:menu:main</menu_map>  
   <menu_default>M:menu:main</menu_default>
</menu> 

<commands>  

  <command>
    <command_menu>os_100</command_menu>
    <command_title>Hello Env</command_title>
    <command_descr>
  Command Summary
    This command outputs all of the env settings when DA was started
    as well as any that DA setup.        
        
  Input Requirements
    o None
            
  Ouput Details
    o env or set output from unix or dos
                
    </command_descr>       
    <command_type>OS</command_type>
    <command_args>env</command_args>       
    <command_args_windows>env</command_args_windows>       
  </command>       

  <command>
    <command_menu>rda_100</command_menu>
    <command_title>Rda Help</command_title>
    <command_descr>
  Command Summary
    This command shows RDA help using the DA wrapper for rda.pl
    Note: RDA can be run with the command_args=custom and then pass
    the actual RDA.pl arguments if you have expert skills in running
    RDA, but it normally prompts for values and that is one of the
    reason we have the RDA wrapper to make it easier to execute it.
        
  Input Requirements
    o None
            
  Ouput Details
    o RDA help as if running it from the command line.
                
    </command_descr>       
    <command_type>Rda</command_type>
    <command_args>help</command_args>           
  </command>       

  <command>
    <command_menu>ocm_100</command_menu>
    <command_title>OCM status</command_title>
    <command_descr>
  Command Summary
    This command shows OCM status using the DA wrapper for emCCR.
    The actual command run would be: \$ORACLE_HOME/ccr/bin/emCCR status
        
  Input Requirements
    o None
            
  Ouput Details
    o OCM status as if running it from the command line.
                
    </command_descr>       
    <command_type>Ocm</command_type>
    <command_args>status</command_args>           
  </command>       

  <command>
    <command_menu>adr_100</command_menu>
    <command_title>ADR Help</command_title>
    <command_descr>
  Command Summary
    This command shows ADR help using the DA wrapper for adrci.
    The ADR HOME and BASE are figured out based on the ORACLE_HOME
    that is setup when running DA from the ENV.
        
  Input Requirements
    o None
            
  Ouput Details
    o ADR help as if running it from the command line.
                
    </command_descr>       
    <command_type>Adr</command_type>
    <command_args>help</command_args>           
  </command>       
  
  <command>
    <command_menu>1</command_menu>
    <command_title>ls command</command_title>
    <command_descr>
  Command Summary
    This command list files in tmp or C drive directory
    as well as any that DA setup.        
        
  Input Requirements
    o None
            
  Ouput Details
    o env or set output from unix or dos
                
    </command_descr>       
    <command_type>OS</command_type>
    <command_args>ls /tmp</command_args>       
    <command_args_windows>DIR C:\\</command_args_windows>       
  </command>
 
</commands>    

</menus>