# DCwg.ctl:351:Collects Oracle WebGate Information # $Id: DCwg.ctl,v 1.3 2015/07/03 12:04:44 RDA Exp $ # ARCS: $Header: /home/cvs/cvs/RDA_8/src/scripting/lib/collect/OFM/DCwg.ctl,v 1.3 2015/07/03 12:04:44 RDA Exp $ # # Change History # 20150703 MSC Improve the documentation. =head1 NAME OFM:DCwg - Collects Oracle WebGate Information =head1 DESCRIPTION This module collects Oracle WebGate-related information. The following reports can be generated and are regrouped under C: =head1 REPORTS =cut echo tput('bold'),'Processing OFM.WG module ...',tput('off') # Initialization var $TOC = '%TOC%' var $TOP = '[[#Top][Back to top]]' toc '%PUSH("0: * Oracle WebGate")%' # Analyze the instance requests var %tbl = () loop $req (${CUR.O_SETUP}->search('^IREQ_OFM_WG_OI')) {var $ins = $req->get_first('I_ORACLE_INSTANCE') if ?$ins->get_first('I_ORACLE_HOME')->get_prime('I_COMMON_HOME') var $tbl{last->get_oid,$req->get_oid} = $ins->get_first('D_ORACLE_INSTANCE') else var $tbl{'CH',$req->get_oid} = $ins->get_first('D_ORACLE_INSTANCE') } =head1 WEBGATE INFORMATION FOR ORACLE FUSION MIDDLEWARE Includes the reports generated by the L module about the Oracle instances and their associated Oracle homes. =cut toc '%PUSH("1+:Oracle Home")%' toc '%INCLUDE("OFM_IREQ_OFM_WG_OH_TF.toc")%' toc '%POP%' loop $oid (keys(%tbl)) {toc '%PUSH("%SPLIT%")%' toc '%PUSH("1+:Common Product Home")%' toc '%INCLUDE("OFM_IREQ_OFM_WG_',$oid,'_TF.toc")%' toc '%POP2%' loop $tid (keys($tbl = $tbl{$oid})) {toc '%PUSH("0: * ',"'",basename($tbl->{$tid}),"'",' Instance")%' toc '%PUSH("%SPLIT%")%' toc '%PUSH("1++:Associated Oracle Home")%' toc '%INCLUDE("OFM_',replace($tid,'_OI','_OH'),'_TF.toc",1)%' toc '%POP2%' toc '%PUSH("%SPLIT%")%' toc '%PUSH("1++:Instance Home")%' toc '%INCLUDE("OFM_',$tid,'_TF.toc")%' toc '%POP3%' } } =head1 SEE ALSO L =begin credits =over 10 =item RDA 8.06: Satish Madanwad, Taruna Nanecha. =back =end credits =head1 COPYRIGHT NOTICE Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. =head1 TRADEMARK NOTICE Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. =cut