# DCdbc.cfg: Collects Database Control Information # $Id: DCdbc.cfg,v 1.4 2013/10/30 07:18:24 RDA Exp $ # ARCS: $Header: /home/cvs/cvs/RDA_8/src/scripting/lib/collect/EM/DCdbc.cfg,v 1.4 2013/10/30 07:18:24 RDA Exp $ # # Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. # # Change history # 20131001 KRA Moved advanced setup level to 6. ############################################################################### # Collect the Database Control Server setup information ############################################################################### #------------------------------------------------------------------------------ # Module definition #------------------------------------------------------------------------------ col=${B_IN_USE} dsc='Collects Database Control Information' man='This module is not considered if the Oracle home contains database \ software earlier than Oracle Database 10g. This check is performed only \ when the inventory information is available.' pre=RDA:DCbegin rpt=B_IN_USE var=not_used # Flow:B_IN_USE exe=sdcl { "if !?getComponentVersion(${SET.RDA.BEGIN.D_ORACLE_HOME},'oracle.rdbms') " var @{AUX.var} = ('B_IN_USE') "elsif compare('VALID',last,'10') " var @{AUX.var} = ('B_IN_USE') } #------------------------------------------------------------------------------ # Setting definitions #------------------------------------------------------------------------------ [not_used] typ=B dft=false dsc='Is Oracle Enterprise Manager Database Control in use?' nam=B_IN_USE [B_IN_USE] typ=B dft=${AUX.B_SELECTED} dsc='Is Oracle Enterprise Manager Database Control in use?' inp='Is the Oracle Enterprise Manager Database Control in use (Y/N)?' var=true:chk_base,B_EMDIAG_IN_USE [chk_base] typ=B dft=or(match(${T_BASE},"^(localhost.*?|${RDA.T_HOST}|${RDA.T_NODE})\_.+$"),\ grepDir(${SET.RDA.BEGIN.D_ORACLE_HOME},\ "^(localhost.*?|${RDA.T_HOST}|${RDA.T_NODE})\_.+$",'f')) dsc='Check if the base will be a menu entry' nam=- var=true:T_BASE:\ get_base [T_BASE] typ=M add='0|Specify another directory|-' bef='Possible Oracle Enterprise Manager Database Control directories are:' dft='^' dsc='Database Control Server directory' err='Specify the item number' inp="\nSelect the item corresponding to the Oracle Enterprise Manager Database \ Control directory name" itm="<