<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2093303480180025897</id><updated>2011-11-20T09:14:53.380Z</updated><category term='Unix'/><category term='OWB10g/11gR2'/><category term='Oracle11gR2'/><category term='Apex'/><category term='Oracle Apps - 1z0-200'/><category term='OBIEE'/><category term='OMB+ Scripts'/><title type='text'>Nandoo's Blog</title><subtitle type='html'>OBIEE Answers, Dashboards, Oracle Warehouse Builder, OMB+ Scripting, Oracle Application Express.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>28</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-8262973979122279203</id><published>2011-02-19T11:52:00.001Z</published><updated>2011-02-19T11:52:52.592Z</updated><title type='text'>Visualizaton in OBIEE11g - eseminar</title><content type='html'>&lt;a href="http://oraclebi.blogspot.com/2010/10/replay-of-eseminar-visualizations-in.html"&gt;Oracle Business Intelligence Blog: Replay of eseminar - Visualizations in OBIEE 11g&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-8262973979122279203?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/8262973979122279203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2011/02/visualizaton-in-obiee11g-eseminar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/8262973979122279203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/8262973979122279203'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2011/02/visualizaton-in-obiee11g-eseminar.html' title='Visualizaton in OBIEE11g - eseminar'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-6621200965626008151</id><published>2010-07-22T20:28:00.004Z</published><updated>2010-07-22T20:42:31.760Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle11gR2'/><title type='text'>ORA-00845: MEMORY_TARGET</title><content type='html'>I have installed Oracle11g on my laptop and have installed the database as well with mostly default parameters.&lt;br /&gt;&lt;br /&gt;After installing the database, I started DBCA configure the database and as soon as I selected the database on DBA Config menu, I received the message "ORA-00845:MEMORY_TARGET Not supported on this system".&lt;br /&gt;&lt;br /&gt;After googling for this error, came to know that this has something to do howmuch shared memory is allocated at OS level and the values set for MEMORY_TARGET at the database level for Automatic Memory Management.&lt;br /&gt;&lt;br /&gt;when I checked for these two, my initial setting was like this -&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;[root@KirtiBIVM bin]# df -k&lt;br /&gt;Filesystem           1K-blocks      Used Available Use% Mounted on&lt;br /&gt;/dev/mapper/VolGroup00-LogVol00&lt;br /&gt;                      38471112  15607268  20878104  43% /&lt;br /&gt;/dev/sda1               101086     12112     83755  13% /boot&lt;br /&gt;tmpfs                   517552    270252    247300  53% /dev/shm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;whereas my MEMORY_TARGET and MEMORY_MAX_TARGET are set as 404m.&lt;br /&gt;&lt;br /&gt;I changed the shared memory at OS level by using the command -&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;[root@KirtiBIVM bin]# mount -t tmpfs shmfs -o size=3G /dev/shm&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;after which, the details are -&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;[oracle@KirtiBIVM bin]$ df -k&lt;br /&gt;Filesystem           1K-blocks      Used Available Use% Mounted on&lt;br /&gt;/dev/mapper/VolGroup00-LogVol00&lt;br /&gt;                      38471112  15608440  20876932  43% /&lt;br /&gt;/dev/sda1               101086     12112     83755  13% /boot&lt;br /&gt;tmpfs                  3145728    620932   2524796  20% /dev/shm&lt;br /&gt;shmfs                  3145728    620932   2524796  20% /dev/shm&lt;br /&gt;[oracle@KirtiBIVM bin]$ &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;After this, I have amended the parameters MEMORY_TARGET  and MEMORY_MAX_TARGET giving following commands -&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;logged in as SYS&lt;br /&gt;&lt;br /&gt;ALTER SYTSEM SET MEMORY_MAX_TARGET=2G SCOPE=SPFILE;&lt;br /&gt;&lt;br /&gt;ALTER SYSTEM SET MEMORY_TARGET=1G SCOPE=SPFILE&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;Restarted the database as -&lt;br /&gt;&lt;br /&gt;SHUTDOWN IMMEDIATE;&lt;br /&gt;&lt;br /&gt;STARTUP;&lt;br /&gt;&lt;br /&gt;And this has resolved the issue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-6621200965626008151?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/6621200965626008151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2010/07/ora-00845-memorytarget.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/6621200965626008151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/6621200965626008151'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2010/07/ora-00845-memorytarget.html' title='ORA-00845: MEMORY_TARGET'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-1498775600246555614</id><published>2010-07-07T17:13:00.004Z</published><updated>2010-07-07T17:50:18.389Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Oracle BI Intelligence 11g  ( OBI 11g) Launch 07/07/2010</title><content type='html'>I took time to-day to attend the launch event of much awaited OBIEE11g.  After seeing the demos and presentations it is worth waiting for.  &lt;br /&gt;&lt;br /&gt;The OBI 11g release is total revamp of what we see currently on 10g release.  For me, the most important bits are -&lt;br /&gt;&lt;br /&gt;Server Adminstation&lt;br /&gt;====================&lt;br /&gt;&lt;br /&gt;- The OBI Server can be managed through the Enterprise Manager, systems management &amp; deployment are much easier.&lt;br /&gt;- Deployment to Production can be achieved from the Admin Tool ( GUI), I heard of version controlling as well. But not sure.&lt;br /&gt;- Allows incremental deployments to Repository&lt;br /&gt;- When OBI is installed it comes with preconfigured Scheduler (no need to do additional configurations as currently in 10g).&lt;br /&gt;- Upgrade utility from 10g to 11g (Yes, really!!)&lt;br /&gt;- Installation is much easier using OUI.&lt;br /&gt;- Supports Relational modelling as well.&lt;br /&gt;&lt;br /&gt;and much more.&lt;br /&gt;&lt;br /&gt;Presentation Services&lt;br /&gt;=====================&lt;br /&gt;&lt;br /&gt;wow!  where to start.  the Dashboards are really Interactive, it really means.  &lt;br /&gt;- The Pivot Tables can be easily altered - drag and drops (like discoverer) to alter the view of the Pivot tables on the fly (not through design layer as in 10g)&lt;br /&gt;- drilling ups and downs in the same page, similar to Discoverer&lt;br /&gt;- The bit that stands out is " Chart Sliding" which provides a slider for Dashboard prompt values, and the user can travel through each value of the prompt and the chart changes accordingly.  That was really cool.&lt;br /&gt;- Chart Zooming (In / Out)&lt;br /&gt;- Global filters, filters can be applied dynamically and if want for all the charts / reports on a single dashboard page.  &lt;br /&gt;&lt;br /&gt;Most of the interactive features are like as in Discoverer 10g, but the comparison just ends there, OBI 11g offers much more.&lt;br /&gt;&lt;br /&gt;- ScoreCarding is really great! and is integrated into OBI.&lt;br /&gt;&lt;br /&gt;Look &amp; Feel&lt;br /&gt;===========&lt;br /&gt;- Look and feel is really good, much revamped and very intuitive.&lt;br /&gt;- Search facility in the BI Catalog (Yes! it is).&lt;br /&gt;- the presentation is much better&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BI Publisher&lt;br /&gt;============&lt;br /&gt;The current version of BIP put me off, as the templates need to be designed from MS Office products and then use it in BIP etc etc.....&lt;br /&gt;&lt;br /&gt;The new version allows to design the templates from BIP itself.  I thought that is quite cool.&lt;br /&gt;&lt;br /&gt;All in all, with the 11g release most of the bits can be achieved from single unitifed interface, rather than jumping back and forth between various interfaces. &lt;br /&gt;&lt;br /&gt;Personally I can not wait to get my hands on the new version.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-1498775600246555614?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/1498775600246555614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2010/07/oracle-bi-intelligence-11g.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/1498775600246555614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/1498775600246555614'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2010/07/oracle-bi-intelligence-11g.html' title='Oracle BI Intelligence 11g  ( OBI 11g) Launch 07/07/2010'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-5483445781908965561</id><published>2010-06-24T14:02:00.014Z</published><updated>2010-06-24T20:03:22.720Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OWB10g/11gR2'/><title type='text'>OWB11gR2 - SQL Server Connection</title><content type='html'>After installing the Oracle11gR2 , started exploring the OWB11gR2. First thing I attempted is to establish a connection SQL Server as it was one of the requirements with my current client.&lt;br /&gt;&lt;br /&gt;The steps that I have followed for this is -&lt;br /&gt;&lt;br /&gt;1.  Downloaded the SQL Server JDBC Driver from &lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=99b21b65-e98f-4a61-b811-19912601fdc9&amp;displaylang=en"&gt; here&lt;/a&gt;.&lt;br /&gt;2.  Install the ( unzip) the SQL Server JDBC Driver into &lt;ORACLE_HOME&gt;/owb/lib/ext folder.&lt;br /&gt;3.  This will create sqljdbc_2.0 under the above directory.&lt;br /&gt;4.  I have manually copied the sqljdbc.jar from &lt;ORACLE_HOME&gt;/owb/lib/ext/sqljdbc_2.0/enu folder onto &lt;ORACLE_HOME&gt;/owb/lib/ext.  do not ask why I did that?  OWB11gR2 started recognising the driver only after I placed the jar file straight under "ext".&lt;br /&gt;5.  Shutdown the OWB services by running "ccashut".&lt;br /&gt;6.  Start the OWB services by running "ccastart".&lt;br /&gt;7.  Started OWB11gR2 client.&lt;br /&gt;8.  Created a new SQL Server Module as shown below -&lt;br /&gt;&lt;strong&gt;Details&lt;br /&gt;=======&lt;br /&gt;&lt;/strong&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/OWB11g#5486430338863109858"&gt;&lt;img style="WIDTH: 100%; HEIGHT: 80%" height="475" alt="Get the Package" src="http://lh3.ggpht.com/_Af4Ksy1dxjY/TCO3UyjcluI/AAAAAAAAAXo/TRROLe-yVrM/s640/SQLServerLocation.jpg" width="657" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;Advanced&lt;br /&gt;=========&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/OWB11g#5486430333873003122"&gt;&lt;img style="WIDTH: 100%; HEIGHT: 80%" height="475" alt="Get the Package" src="http://lh6.ggpht.com/_Af4Ksy1dxjY/TCO3Uf9tmnI/AAAAAAAAAXk/PLn2JpEyFwE/s640/SQLServer_Location_Advanced.jpg" width="657" /&gt;&lt;/a&gt;&lt;br /&gt;Tested the connection successfully! There you go!!!! Bob's your uncle!!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-5483445781908965561?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/5483445781908965561/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2010/06/owb11gr2-sql-server-connection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/5483445781908965561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/5483445781908965561'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2010/06/owb11gr2-sql-server-connection.html' title='OWB11gR2 - SQL Server Connection'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_Af4Ksy1dxjY/TCO3UyjcluI/AAAAAAAAAXo/TRROLe-yVrM/s72-c/SQLServerLocation.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-4580627679755511595</id><published>2010-05-31T14:18:00.012Z</published><updated>2010-06-20T19:12:47.368Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle11gR2'/><title type='text'>Oracle DB11gR2 Installation on Enterprise Linux 5 - missing RPMs</title><content type='html'>While I was trying to install Oracle 11gR2 on my laptop I stumbled across missing RPMs. &lt;br /&gt;&lt;br /&gt;My environment&lt;br /&gt;================&lt;br /&gt;Dell Laptop with Windows Vista&lt;br /&gt;&lt;br /&gt;Installation&lt;br /&gt;==================&lt;br /&gt;&lt;br /&gt;Downloaded and installed Enterprise Linux 5 from Oracle Edelivery site.&lt;br /&gt;&lt;br /&gt;The initial attempt to install the Oracle DB11gR2 resulted in the warnings that some of the required RPMs are not installted.  &lt;br /&gt;&lt;br /&gt;I tried various google results to install missing RPMs. The best solution that I found required the following ( thanks to original post).&lt;br /&gt;&lt;br /&gt;On Linux do the following -&lt;br /&gt;&lt;br /&gt;# cd /etc/yum.repos.d&lt;br /&gt;# wget http://public-yum.oracle.com/public-yum-el5.repo&lt;br /&gt;&lt;br /&gt;The above will download the public-yum-el5.repo package into /etc/yum.repos.d&lt;br /&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/Missing_rpms#5484762041418782402"&gt;&lt;img style="WIDTH: 100%; HEIGHT: 80%" height="475" alt="Get the Package" src="http://lh6.ggpht.com/_Af4Ksy1dxjY/TB3KBGRQFsI/AAAAAAAAAW4/NrDfUiefz5s/s512/missing_rpms_1.png" width="657" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After this edit the file to set the enabled flag to 1 for the version of EL you are using.&lt;br /&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/Missing_rpms#5484765117271420402"&gt;&lt;img style="WIDTH: 100%; HEIGHT: 80%" height="475" alt="Open the file" src="http://lh4.ggpht.com/_Af4Ksy1dxjY/TB3M0ItqrfI/AAAAAAAAAXI/by9cskHZ2lw/s512/update_flag.png" width="657" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/Missing_rpms#5484765120102603890"&gt;&lt;img style="WIDTH: 100%; HEIGHT: 80%" height="475" alt="Edit the file" src="http://lh6.ggpht.com/_Af4Ksy1dxjY/TB3M0TQrHHI/AAAAAAAAAXM/36_6MmazSZ8/s512/update_flag2.png" width="657" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now using the above tool you can download and install any missing rpms.&lt;br /&gt;&lt;br /&gt;# yum install unixODBC&lt;br /&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/Missing_rpms#5484765105295861394"&gt;&lt;img style="WIDTH: 100%; HEIGHT: 80%" height="475" alt="Download the unixODBC RPM" src="http://lh5.ggpht.com/_Af4Ksy1dxjY/TB3MzcGeJpI/AAAAAAAAAXA/tLR93X8pCU4/s512/install_unixODBC.png" width="657" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/Missing_rpms#5484765106400705138"&gt;&lt;img style="WIDTH: 100%; HEIGHT: 80%" height="475" alt="Insall the unixODBC" src="http://lh4.ggpht.com/_Af4Ksy1dxjY/TB3MzgN4unI/AAAAAAAAAXE/pMULgWXv2eA/s512/install_unixODBC2.png" width="657" /&gt;&lt;/a&gt;&lt;br /&gt;# yum install unixODBC-devel&lt;br /&gt;# yum install sysstat&lt;br /&gt;# yum install libaio-0.3.106&lt;br /&gt;# yum install libaio-devel-0.3.106&lt;br /&gt;&lt;br /&gt;Using the above I had installed all the missing RPMs.&lt;br /&gt;===============================================================================&lt;br /&gt;Update 20/06/2010&lt;br /&gt;=================&lt;br /&gt;Post Installation:&lt;br /&gt;==================&lt;br /&gt;&lt;br /&gt;export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_2&lt;br /&gt;export ORACLE_SID=orcl  ( make sure this matches the SID otherwise you might get LRM-00109 error when attempt to startup the database)&lt;br /&gt;export PATH=$ORACLE_HOME/bin:$PATH&lt;br /&gt;&lt;br /&gt;If you do not perform the above tasks, the SQLPLUS would not start and any attempt would throw up the error - &lt;br /&gt;"sqlplus can not execute binary file".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-4580627679755511595?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/4580627679755511595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2010/05/oracle-db11gr2-installation-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/4580627679755511595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/4580627679755511595'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2010/05/oracle-db11gr2-installation-on.html' title='Oracle DB11gR2 Installation on Enterprise Linux 5 - missing RPMs'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_Af4Ksy1dxjY/TB3KBGRQFsI/AAAAAAAAAW4/NrDfUiefz5s/s72-c/missing_rpms_1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-9058141102262002603</id><published>2010-04-15T18:38:00.005Z</published><updated>2010-04-15T18:47:16.316Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Dashboard Prompt constraining the results</title><content type='html'>In one of our dashboards, we had to use a dashboard prompt to allow users to pick a value and display the report accordingly.&lt;br /&gt;&lt;br /&gt;The prompt in question is - Year Name and is part of our Time Dimension.  The Fact table is properly connected to the Time Dimension.&lt;br /&gt;&lt;br /&gt;When I dropped the TimeDim.YearName in to the Dashboard prompt, I was expecting the results to be constrained for those records in the Fact Table. Let me explain,&lt;br /&gt;&lt;br /&gt;The Time Dimension has data ranging from 1990 through to 2099.&lt;br /&gt;&lt;br /&gt;The Fact table has data starting from 2001.  If i write a SQL selecting TimeDim.YearName, joining Fact to Time Dimension it will only show distinct years from 2001.&lt;br /&gt;&lt;br /&gt;But in OBIEE, when I execute the prompt it was listing all the available Years (distinct) in Time Dimension ie 1990 through to 2099.  This is not what I was expecting.&lt;br /&gt;&lt;br /&gt;After mulling over different things, I finally got it working but I am not sure that is the way.  What I done is -&lt;br /&gt;&lt;strong&gt; &lt;font face="tahoma";color="blue"&gt;&lt;br /&gt;In the RPD, in the BMM, I explicitly specified both TimeDim and Fact table as Sources, and explicitly created the Join condition.  Once I have done this, the results are as I was expecting.&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Please feel free to comment if I had missed anything obvious.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-9058141102262002603?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/9058141102262002603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2010/04/dashboard-prompt-constraining-results.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/9058141102262002603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/9058141102262002603'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2010/04/dashboard-prompt-constraining-results.html' title='Dashboard Prompt constraining the results'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-8378942438829707702</id><published>2010-04-13T13:17:00.005Z</published><updated>2010-04-13T13:25:50.995Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OMB+ Scripts'/><title type='text'>Adding Foreign Key Constraints using OMB+</title><content type='html'>&lt;div  style="font-face:tahoma;size:3"&gt;&lt;br /&gt;To add a new foreign key to an existing table using OMB+, the syntax is &lt;br /&gt;&lt;br /&gt;For Eg:  Sales_Fact has a column Order_Date_Key and a new FK needs to be created.  This Order_Date_Key is populated with the PK of Time_Dim.  To implement this, the OMB+ syntaxt is -&lt;br /&gt;&lt;br /&gt;OMBALTER TABLE 'SALES_FACT' ADD FOREIGN_KEY 'FK_SALFACT_TIME_DIM' \&lt;br /&gt;SET REF COLUMMNS ('ORDER_DATE_KEY') \&lt;br /&gt;SET REFERENCE PRIMARY_KEY 'DIMENSION_KEY' OF TABLE 'TIME_DIM'.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-8378942438829707702?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/8378942438829707702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2010/04/adding-foreign-key-constraints-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/8378942438829707702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/8378942438829707702'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2010/04/adding-foreign-key-constraints-using.html' title='Adding Foreign Key Constraints using OMB+'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-3265753708727489045</id><published>2010-02-01T19:22:00.011Z</published><updated>2010-02-01T20:53:50.622Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>OBIEE Answers - Pivot Table / Chart Horizontal Layout - Multiline</title><content type='html'>&lt;span style="font-family:tahoma;"&gt;At the current client site, we had a requirement to show PIE charts one for each section. As we all know, by default OBIEE presents the sections vertically. If the number of sections is 3 or less this layout would look nice, but what if there are more sections, scrolling down vertically would not appeal to the end users to get a comparative view.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://forums.oracle.com/forums/thread.jspa?messageID=4015571&amp;amp;#4015571"&gt;Joe Bertram&lt;/a&gt; had posted Javascript to present the sections horizontally and I thought we could use this script to rotate the PIE charts horizontally. We have duely lifted his script and use in ours and the result looked like below.&lt;br /&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/NandooSBlog#5433367812156490658"&gt;&lt;img style="WIDTH: 100%; HEIGHT: 80%" height="475" alt="" src="http://lh5.ggpht.com/_Af4Ksy1dxjY/S2czPOmhA6I/AAAAAAAAAUQ/0JAA74VwgVY/s800/original.jpg" width="657" /&gt;&lt;/a&gt;&lt;br /&gt;Which is not appealing as the users have to scroll across, so I thought there must be a way to present this on multiple rows with limited columns per rows. Am no expert on Java scripting, so another cry for help!!&lt;br /&gt;&lt;br /&gt;This time another OTN Member &lt;a href="http://obiee101.blogspot.com/2010/01/obiee-horizontal-pivot-sections-part-2.html"&gt;John Minkjan&lt;/a&gt; replied with a variant of original script by Joe and the final desired output which looked like below.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://picasaweb.google.com/mahe2601/NandooSBlog#5433245750035560466"&gt;&lt;img style="WIDTH:100%; HEIGHT: 90%" height="496" alt="" src="http://lh5.ggpht.com/_Af4Ksy1dxjY/S2bEORxFOBI/AAAAAAAAAS0/Z0524QfgRv0/s720/horizontal.jpg" width="671" /&gt;&lt;/a&gt;.&lt;br /&gt;Thanks to Joe &amp;amp; John for their effort.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-3265753708727489045?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/3265753708727489045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2010/02/obiee-answers-pivot-table-chart.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/3265753708727489045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/3265753708727489045'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2010/02/obiee-answers-pivot-table-chart.html' title='OBIEE Answers - Pivot Table / Chart Horizontal Layout - Multiline'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_Af4Ksy1dxjY/S2czPOmhA6I/AAAAAAAAAUQ/0JAA74VwgVY/s72-c/original.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-7551673866856026645</id><published>2009-12-18T18:44:00.014Z</published><updated>2009-12-18T19:30:15.289Z</updated><title type='text'>Snow! Snow!</title><content type='html'>Last night, we had high snow fall here in England, the view was so wonderful.&lt;br /&gt;&lt;br /&gt;&lt;img height="80%" width="100%"  src="http://lh4.ggpht.com/_Af4Ksy1dxjY/SyvO-4kFLzI/AAAAAAAAAO4/l4m39E4pRyI/s720/18122009022%5B1%5D.jpg" alt="Play Area"/&gt;&lt;br /&gt;&lt;br /&gt;&lt;img width="100%" height="80%" src="http://lh5.ggpht.com/_Af4Ksy1dxjY/SyvO_QoI8sI/AAAAAAAAAO8/m2Xiob9HEZg/s720/18122009023%5B1%5D.jpg" alt="view in our garden"/&gt;&lt;br /&gt;&lt;br /&gt;&lt;img width="100%"  src="http://lh4.ggpht.com/_Af4Ksy1dxjY/SyvO_jAGEzI/AAAAAAAAAPA/oJsY0iW6VJ0/s720/18122009024%5B1%5D.jpg" alt="view in our garden 2" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img width="100%" src ="http://lh6.ggpht.com/_Af4Ksy1dxjY/SyvPANTmAlI/AAAAAAAAAPI/p3sPdk0I-wc/s720/18122009026%5B1%5D.jpg" alt="view in our garden 3" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img width="100%" src="http://lh3.ggpht.com/_Af4Ksy1dxjY/SyvO_8to8XI/AAAAAAAAAPE/ZK9I-tXVcXU/s720/18122009025%5B1%5D.jpg" alt="5-6 inches" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img width="100%" src="http://lh5.ggpht.com/_Af4Ksy1dxjY/SyvPXSuUdXI/AAAAAAAAAPQ/U1RQz0gAoms/s720/18122009027%5B1%5D.jpg" alt="Snow Walk!!!" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img width="100%" src="http://lh5.ggpht.com/_Af4Ksy1dxjY/SyvPXlqjY3I/AAAAAAAAAPU/KIpBKFC0Zik/s720/18122009028%5B1%5D.jpg" alt="Siberia!!! nah!!! itz england" /&gt;&lt;br /&gt;&lt;img width="100%" height="75%" src="http://lh4.ggpht.com/_Af4Ksy1dxjY/SyvWdg9KrII/AAAAAAAAAQM/8wJ3ColQjoo/s576/IMG_2770.JPG" alt="Kirti enjoying in Snow" /&gt;&lt;br /&gt;&lt;img width="100%" height="75%" src="http://lh5.ggpht.com/_Af4Ksy1dxjY/SyvWd0EGfsI/AAAAAAAAAPw/vwTe7v_ViLg/s720/IMG_2772.JPG" alt="Kirti enjoying in Snow" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-7551673866856026645?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/7551673866856026645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/12/snow-snow.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/7551673866856026645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/7551673866856026645'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/12/snow-snow.html' title='Snow! Snow!'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_Af4Ksy1dxjY/SyvO-4kFLzI/AAAAAAAAAO4/l4m39E4pRyI/s72-c/18122009022%5B1%5D.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-5023800703413590492</id><published>2009-11-01T19:30:00.004Z</published><updated>2010-06-24T20:03:22.720Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OWB10g/11gR2'/><title type='text'>OWB 11g Getting Started Book</title><content type='html'>&lt;p&gt;I have been sent the book, &lt;a href="http://www.packtpub.com/getting-started-with-oracle-warehouse-builder-11g/book"&gt;Oracle Warehouse Builder 11g Getting Started&lt;/a&gt; by Bob Greisemer (Packt Publishing, ISBN 978-1-847195-74-6), to be reviewed.&lt;br /&gt;&lt;p&gt;I did a quick browse through the book and my initial impression is that this is a good reference to any body who wants to know how to use the OWB as a tool.  This book talks about the OWB11gR2 version and has detailed steps, with pictures, how to get started with the tool.  What this book does not do is teach you any Data Warehouse concepts or any thing about Dimensional Modelling etc.  &lt;br /&gt;&lt;p&gt;In a nut shell, this book provides a good starting point to get to know about the tool.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-5023800703413590492?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/5023800703413590492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/11/owb-11g-getting-started-book.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/5023800703413590492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/5023800703413590492'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/11/owb-11g-getting-started-book.html' title='OWB 11g Getting Started Book'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-2346828141083572580</id><published>2009-07-01T16:26:00.052Z</published><updated>2009-07-10T20:01:50.915Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Apex'/><title type='text'></title><content type='html'>&lt;span style="color:blue;"&gt;&lt;h3&gt;Oracle Application Express – End User Change Password Procedure&lt;/h3&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:black;size:2"&gt;We have several applications built using Oracle Application Express, and are accessed by several end users. The Authentication mechanism that we have adopted is – “Database Account” at the global level and within each application, the access mode is set to “Restricted Access” and the users are listed within the application who needs access to it.&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:black;"&gt;So every time a new user needs an access, or when the user forgets their password we had to reset the password and allow the user to change the password from the application. The procedure that I have adopted is split into 3 stages as detailed below.&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:blue;"&gt;STAGE 1 - Database Activities&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li type=disc&gt;&lt;span style="color:black;"&gt;For the end user to change their password they need “ALTER USER” privilege. We have created roles to control various privileges to the Application Express users and then granted the “ALTER USER” privilege to the role, the role is then assigned to the Application Express End Users.&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li type=disc&gt;&lt;span style="color:black;"&gt;Create a PLSQL procedure that performs the password validation &amp;amp; changing passwords for the End users.&lt;br /&gt;&lt;p&gt;The PLSQL procedure is defined as below –&lt;/span&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;&lt;br /&gt;CREATE OR REPLACE PACKAGE BODY BCFHPTL.APEX_UTILS_PKG&lt;br /&gt;AS&lt;br /&gt;PROCEDURE CHANGE_DB_PASSWORD_APEX (in_user IN VARCHAR2,&lt;br /&gt;in_cur_pwd IN VARCHAR2,&lt;br /&gt;in_new_pwd IN VARCHAR2)&lt;br /&gt;AS&lt;br /&gt;passwords_mismatch exception;&lt;br /&gt;l_proc_name VARCHAR2 (200)&lt;br /&gt;:= 'APEX_UTILS_PKG.CHANGE_DB_PASSWORD_APEX' ;&lt;br /&gt;l_cur_db_pwd VARCHAR2 (200) DEFAULT NULL ;&lt;br /&gt;l_new_db_pwd VARCHAR2 (200) DEFAULT NULL ;&lt;br /&gt;&lt;br /&gt;BEGIN&lt;br /&gt;--dbms_output.put_line ('1 'in_user'-'in_new_pwd'-'in_cur_pwd);&lt;br /&gt;IF (in_user IS NOT NULL AND in_cur_pwd IS NOT NULL AND in_new_pwd IS NOT NULL )&lt;br /&gt;THEN&lt;br /&gt;-- dbms_output.put_line ('2 'in_user'-'in_new_pwd'-'in_cur_pwd);&lt;br /&gt;-- Get the current password value from database&lt;br /&gt;EXECUTE IMMEDIATE 'SELECT PASSWORD FROM SYS.DBA_USERS WHERE USERNAME = UPPER(:username) '&lt;br /&gt;INTO l_cur_db_pwd&lt;br /&gt;USING in_user;&lt;br /&gt;--dbms_output.put_line('Current db password is 'l_cur_db_pwd);&lt;br /&gt;-- Change password as specified by user for "Existing Password"&lt;br /&gt;EXECUTE IMMEDIATE 'ALTER USER '&lt;br /&gt;in_user&lt;br /&gt;' IDENTIFIED BY '&lt;br /&gt;in_cur_pwd&lt;br /&gt;' ACCOUNT UNLOCK ';&lt;br /&gt;&lt;br /&gt;-- Retrieve the password value for Existing password&lt;br /&gt;EXECUTE IMMEDIATE 'SELECT PASSWORD FROM SYS.DBA_USERS WHERE USERNAME = UPPER(:username) '&lt;br /&gt;INTO l_new_db_pwd&lt;br /&gt;USING in_user;&lt;br /&gt;--dbms_output.put_line('Old password specified value is 'l_new_db_pwd);&lt;br /&gt;IF l_cur_db_pwd != l_new_db_pwd&lt;br /&gt;THEN&lt;br /&gt;RAISE passwords_mismatch;&lt;br /&gt;ELSE&lt;br /&gt;-- dbms_output.put_line (in_user'-'in_new_pwd);&lt;br /&gt;EXECUTE IMMEDIATE 'ALTER USER '&lt;br /&gt;in_user&lt;br /&gt;' IDENTIFIED BY '&lt;br /&gt;in_new_pwd&lt;br /&gt;' ACCOUNT UNLOCK ';&lt;br /&gt;END IF;&lt;br /&gt;ELSE&lt;br /&gt;RAISE_APPLICATION_ERROR (&lt;br /&gt;-20001,&lt;br /&gt;'Error in ' l_proc_name ' - ' 'Username, Old Password, New Password and Confirm Password Must be Present'&lt;br /&gt;);&lt;br /&gt;END IF;&lt;br /&gt;EXCEPTION&lt;br /&gt;WHEN passwords_mismatch then&lt;br /&gt;EXECUTE IMMEDIATE 'ALTER USER '&lt;br /&gt;in_user&lt;br /&gt;' IDENTIFIED BY VALUES '''&lt;br /&gt;l_cur_db_pwd&lt;br /&gt;''' ACCOUNT UNLOCK ';&lt;br /&gt;RAISE_APPLICATION_ERROR (&lt;br /&gt;-20005,&lt;br /&gt;'Error in ' l_proc_name 'Old Password specified does not match the value in Database'&lt;br /&gt;);&lt;br /&gt;WHEN OTHERS&lt;br /&gt;THEN&lt;br /&gt;RAISE_APPLICATION_ERROR (&lt;br /&gt;-20006,&lt;br /&gt;'Error in ' l_proc_name SUBSTR (SQLERRM, 1, 132)&lt;br /&gt;);&lt;br /&gt;END CHANGE_DB_PASSWORD_APEX;&lt;br /&gt;END APEX_UTILS_PKG;&lt;br /&gt;/&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:blue;"&gt;STAGE 2 - Oracle Application Exporess&lt;/span&gt;&lt;br /&gt;&lt;p&gt;Create a global application, which accepts the username, current password ( which will be a default password from DBA’s) , new password , confirm new password. This application then executes a PL/SQL block to change the password.&lt;br /&gt;&lt;p&gt;First created an application which looks like this –&lt;br /&gt;&lt;p&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/ApexChangePwd#5353522247359603698"&gt;&lt;img src="http://lh3.ggpht.com/_Af4Ksy1dxjY/SkuIHqsFI_I/AAAAAAAAAL0/FlzcupGA5iI/s576/MainPage.jpg" alt=" " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Create a new application with just a login page in it.&lt;br /&gt;&lt;p&gt;Inside the application, the following are defined in the Login Page.&lt;br /&gt;&lt;p&gt;&lt;span style="color:blue;"&gt;&lt;b&gt;&lt;u&gt;ITEMS&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li type="circle"&gt;P101_USERNAME - capture UserName &lt;/li&gt;&lt;br /&gt;&lt;li type="circle"&gt;P101_X_OLD_PWD - capture Old Password declared as “Password”&lt;/li&gt;&lt;br /&gt;&lt;li type="circle"&gt;P101_X_NEW_PWD - capture New Password declared as “Password”&lt;/li&gt;&lt;br /&gt;&lt;li type="circle"&gt;P101_X_CNF_PWD - Capture Confirm New Password.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;&lt;b&gt;&lt;u&gt;BUTTONS&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;Two buttons are added.&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li type="circle"&gt;&lt;span style="color:blue;"&gt;CANCEL -&lt;/span&gt; Close this application and redirects to the application from which the “Change Password” application has been called from.&lt;/li&gt;&lt;br /&gt;&lt;li type="circle"&gt;&lt;span style="color:blue;"&gt;SUBMIT - &lt;/span&gt;Submits the application and alters the User Password. &lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt; The details are as shown below.&lt;br /&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/ApexChangePwd#5353522255009412530"&gt;&lt;img src="http://lh3.ggpht.com/_Af4Ksy1dxjY/SkuIIHL79bI/AAAAAAAAAL4/dbVOVZYNaUE/s512/Submit_Button_1.jpg" alt=" "/&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/ApexChangePwd#5353522258912321362"&gt;&lt;img src="http://lh6.ggpht.com/_Af4Ksy1dxjY/SkuIIVudn1I/AAAAAAAAAL8/HxGyfhn9NFk/s512/Submit_Button_2.jpg" alt=""/&gt; &lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:blue;"&gt;&lt;b&gt;&lt;u&gt;VALIDATIONS&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;A validation process has been created to verify whether the values specified in the fields P101_X_NEW_PWD and P101_X_CNF_PWD are same, if not throws an error message.&lt;br /&gt;&lt;p&gt;The PLSQL block contains the following code to validate the inputs by user-&lt;br /&gt;&lt;p&gt;&lt;span style="color:blue;"&gt;&lt;br /&gt;BEGIN&lt;br /&gt;IF :p101_x_new_password = :p101_x_confirm_password&lt;br /&gt;THEN&lt;br /&gt;RETURN TRUE;&lt;br /&gt;ELSE&lt;br /&gt;RETURN FALSE;&lt;br /&gt;END IF;&lt;br /&gt;END;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;If the above routine throws an error then the following message will be displayed –&lt;span style="font-weight: bold;color:red;" &gt;Both New and confirm Password fields must match. &lt;/span&gt;  &lt;br /&gt;&lt;p&gt;The details of the validation process are as below – &lt;br /&gt;&lt;p&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/ApexChangePwd#5353522268620831922"&gt;&lt;img src="http://lh4.ggpht.com/_Af4Ksy1dxjY/SkuII55JvLI/AAAAAAAAAMA/gNygJPP3eCQ/s512/Validation_1.jpg" alt=""/&gt; &lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/ApexChangePwd#5353522284029193090"&gt;&lt;img src="http://lh5.ggpht.com/_Af4Ksy1dxjY/SkuIJzSyq4I/AAAAAAAAAME/wPtfkiGgBTc/s512/Validation_2.jpg" alt=""/&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/ApexChangePwd#5353522289187397394"&gt;&lt;img src="http://lh6.ggpht.com/_Af4Ksy1dxjY/SkuIKGgmnxI/AAAAAAAAAMI/fbey6cu_lsU/s512/Validation_3.jpg" alt=""/&gt; &lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:blue;"&gt;&lt;b&gt;&lt;u&gt;PROCESSES&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;An “after Submit” process has been created which calls a database procedure to change the passwords.&lt;/p&gt;&lt;p&gt; This process has the following PLSQL block –&lt;br /&gt;&lt;p&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/ApexChangePwd#5353522298010585682"&gt; &lt;img src="http://lh3.ggpht.com/_Af4Ksy1dxjY/SkuIKnYNylI/AAAAAAAAAMM/uXG1KSECk_w/s512/db_proc_call.jpg" alt=""/&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt; The implementation of the validation process is as shown below -&lt;br /&gt;&lt;p&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/ApexChangePwd#5353522310169299362"&gt; &lt;img src="http://lh6.ggpht.com/_Af4Ksy1dxjY/SkuILUrFCaI/AAAAAAAAAMQ/vVzxrot0Ix4/s512/db_proc_call_1.jpg" alt=" " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/ApexChangePwd#5353522327678812114"&gt; &lt;img src="http://lh3.ggpht.com/_Af4Ksy1dxjY/SkuIMV5q_9I/AAAAAAAAAMU/29lagorODMA/s512/db_proc_call_2.jpg" alt="" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-2346828141083572580?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/2346828141083572580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/07/oracle-application-express-end-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/2346828141083572580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/2346828141083572580'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/07/oracle-application-express-end-user.html' title=''/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_Af4Ksy1dxjY/SkuIHqsFI_I/AAAAAAAAAL0/FlzcupGA5iI/s72-c/MainPage.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-5040468400552520319</id><published>2009-06-26T10:24:00.003Z</published><updated>2009-06-26T10:29:35.408Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OMB+ Scripts'/><title type='text'>TCL Script to Deploy OWB Mappings from file</title><content type='html'>This is another TCL script, which enables the developers to deploy OWB Mappings.  The main function of this script is to deploy the mappings, with the list of the mappings to be deployed specified in a file.&lt;br /&gt;&lt;br /&gt;This has been tested for OWB11g version.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts " *******************     READ ME    ********************"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts ""&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts ""&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts " The  proc   owb_deploy_map_4m_file   is Created"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts " To execute the proc  call the above proc name at OMB+ command prompt "&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts " DISCONNECT FROM THE DESIGN REPOSITORY BEFORE CALLING THE PROC"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts ""&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts ""&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts " IF THIS IS THE FIRST TIME THE OBJECTS ARE BEING DEPLOYED"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts " INTO THIS RUNTIME ENVIRONMENT"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts " !!!!!!!!MAKE SURE THE LOCATIONS ARE REGISTERED!!!!!!!"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts ""&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts ""&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts "**************************************************************"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts ""&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts " This procedure reads the mappings from the file"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts "  Name &amp;amp; location of the file : C:/tmp/mappings_2_deploy.txt "&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts " "&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts "**************************************************************"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts ""&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts ""&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts "Usage:"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts "=============================================================="&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts ""&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts " owb_deploy_map_4m_file owbowner Password host port service ModuleName"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts "=============================================================="&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts ""&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts ""&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts "**************************************************************"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;proc owb_deploy_map_4m_file { desuser despwd host port srvc module } {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;set fname [ open "c:/tmp/deploy_maps_4m_file.log" w]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts $fname "----------------------------------------------------------"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts $fname "Connecting to the Design Repository "&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts $fname "----------------------------------------------------------"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;OMBCONNECT $desuser/$despwd@$host:$port:$srvc USE WORKSPACE 'ZZZZZ'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;set projList [ OMBLIST PROJECTS '*']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;foreach projName $projList {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;    OMBCC '$projName'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;    set projcon [OMBDCC]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;    puts $fname "current project context is                       $projcon"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;    puts $fname "CONNECTING TO RUNTIME REPOSITORY"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;    puts $fname "----------------------------------------------------------"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;    OMBCONNECT CONTROL_CENTER&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;/span&gt;#&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;    set ModList [OMBLIST ORACLE_MODULES '$module' ]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;    set i 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;    foreach ModName $ModList {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;        puts $fname "     Working on :                     $ModName"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;            puts "$ModName"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;        OMBCC '$ModName'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;        set curcon [OMBDCC]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;            set mapList [OMBLIST MAPPINGS]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;        set j 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;        #foreach mapName $mapList &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;            set fhandle [open "C:/tmp/mappings_2_deploy.txt" r]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;puts $fhandle&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;            while {-1 != [gets $fhandle line]} {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;              set mapName $line&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;              puts "Deploying ..........$mapName"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;               puts $fname "       Creating Delpoyment Action Plans for     :$mapName"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;# CREATE THE DEPLOYMENT ACTIONS PLAN FOR EACH MAPPING &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;          OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DWH_DEPLOY_MAP.$mapName'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;          OMBALTER DEPLOYMENT_ACTION_PLAN 'DWH_DEPLOY_MAP.$mapName'  ADD ACTION '$mapName.CREATE' SET PROPERTIES(OPERATION) VALUES ('REPLACE') SET REFERENCE  MAPPING '$mapName'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;          puts $fname "                Executing the Deployment Action for     MAPPINGS"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;# DEPLOY MAPPINGS&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;          OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'DWH_DEPLOY_MAP.$mapName'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;           OMBCOMMIT&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;# DROP THE DEPLOYMENT ACTIONS PLANS &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;            OMBDROP DEPLOYMENT_ACTION_PLAN 'DWH_DEPLOY_MAP.$mapName'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;          OMBCOMMIT&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;            incr j&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;        }    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;        close $fhandle&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;        OMBCC '..'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;        set curcon [OMBDCC]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;        puts $fname "context at the end is --- $curcon"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;     incr i&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;     }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;    OMBCOMMIT&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;    OMBCC '/'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;close $fname&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;OMBCOMMIT&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;OMBDISC&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;#**********************************************************************************************&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;# END OF PROC owb_deploy_map&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;#**********************************************************************************************&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-5040468400552520319?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/5040468400552520319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/06/tcl-script-to-deploy-owb-mappings-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/5040468400552520319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/5040468400552520319'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/06/tcl-script-to-deploy-owb-mappings-from.html' title='TCL Script to Deploy OWB Mappings from file'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-2945650799828284761</id><published>2009-06-12T15:19:00.024Z</published><updated>2009-06-18T21:56:43.470Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Passing Parameters from OBIEE Dashboards to BI Publisher Report</title><content type='html'>&lt;hr /&gt;I have been working on a client assignment to implement OBIEE and design and develop dashboards and get them up and running.&lt;br /&gt;&lt;br /&gt;One particular requirement was to bring a BI Publisher report into a dashboard.  The BI Publisher Report was developed much before the OBIEE came into limelight.  The BI Publisher Report is scheduled to run everyday and email the report to certain group of users.  Since we have been playing around to set the   BI Dashboard and have one dashboard up and running for a specific business area, and so decided to extend this for other areas as well.&lt;br /&gt;&lt;br /&gt;For one such area where we have the BI Publisher Report has been developed, rather than re-developing the report we have decided to bring the BI Publisher report into the dashboard.&lt;br /&gt;&lt;br /&gt;The BI Publisher report is&lt;br /&gt;-&lt;span style=";font-family:tahoma;font-size:100%;"  &gt;SQL Based Report&lt;/span&gt;&lt;br /&gt;-&lt;span style=";font-family:tahoma;font-size:100%;"  &gt;Has 2 date parameters.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This exercise is broke down into 2 pieces, one create report in BIPublisher and second placing the BIP Report into Dashboard and creating Dashboard prompts to pass values into BIP report parameters.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;span style="font-family:tahoma;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;BI Publisher&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After creating the datasources and the required SQL to pull the data from underlying database objects,&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Declare the date parameters that will be used in the SQL to constrain the data, as shown below -&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt; &lt;a href="http://picasaweb.google.co.uk/mahe2601/NandooSBlog#5346466566973036114"&gt; &lt;img src="http://lh5.ggpht.com/_Af4Ksy1dxjY/SjJ3BA_uFlI/AAAAAAAAAFs/2FK1XLn6BRo/s576/BIP_Prompt1.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;The above declared parameters are used in the SQL that pulls data from underlying table, as shown below -&lt;br /&gt;&lt;/li&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/NandooSBlog#5348025705012154018"&gt;&lt;img src="http://lh4.ggpht.com/_Af4Ksy1dxjY/SjgBCyzoTqI/AAAAAAAAAJE/Udu8CQBRL4M/s576/BIP_Report1.jpg" alt="" /&gt;&lt;/a&gt;&lt;li&gt;Save the changes and run the report by clickion on "view".&lt;/li&gt;&lt;li&gt;The results are as shown below in the report -&lt;br /&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/NandooSBlog#5348025705012154018"&gt; &lt;img src="http://lh3.ggpht.com/_Af4Ksy1dxjY/SjgBDjv0nDI/AAAAAAAAAJM/wY7jyBXqJaU/s576/BIP%20Report2.jpg" alt="" /&gt; &lt;/a&gt;&lt;/li&gt;&lt;li&gt;That looks great!!! the report shows the data as per the specified parameters.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family:tahoma;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;OBIEE Dashboard&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;The next step is to place the above BI Publisher report into a dashboard and define dashboard prompts to pass values into the BI Publisher report.&lt;br /&gt;&lt;br /&gt;The first step is to define the Dashboard prompts which allow the end-users to send the values to the BIP Report parameters.  One important thing to rember while creating the Dashboard prompts is that, the Presentation variable MUST BE same as the parameters defined in the BI Publisher.  The creation of Dashboard prompts is as shown below.&lt;br /&gt;&lt;br /&gt;&lt;p&gt; &lt;a href="http://picasaweb.google.co.uk/mahe2601/NandooSBlog#5348390897280187650"&gt; &lt;img src="http://lh6.ggpht.com/_Af4Ksy1dxjY/SjlNLyBRfQI/AAAAAAAAAKM/HpRiOj4Qkqw/s576/BIDashboard-prompt1.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt; &lt;a href="http://picasaweb.google.co.uk/mahe2601/NandooSBlog#5348390910214883634"&gt; &lt;img src="http://lh5.ggpht.com/_Af4Ksy1dxjY/SjlNMiNJSTI/AAAAAAAAAKQ/4sT9AsgjyOw/s576/BIDashboard-prompt2.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Once the dashboard prompts are defined, the next step is to add the BIP report into the dashboard. &lt;/p&gt;First  add a section to the Dashboard page, and then drag and drop the dashboard prompts created earlier, which can be seen on the left pane.&lt;br /&gt;&lt;p&gt; &lt;a href="http://picasaweb.google.co.uk/mahe2601/NandooSBlog#5348390917071259266"&gt; &lt;img src="http://lh6.ggpht.com/_Af4Ksy1dxjY/SjlNM7v1RoI/AAAAAAAAAKU/wH42d9Ugy4M/s576/BIP_in_Dashboard1.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;And then, add another section and add the BI Publisher Report using the "BI Publisher Report" Dashboard Objects as shown below.&lt;br /&gt;&lt;p&gt; &lt;a href="http://picasaweb.google.co.uk/mahe2601/NandooSBlog#5348390925883015858"&gt; &lt;img src="http://lh5.ggpht.com/_Af4Ksy1dxjY/SjlNNckuArI/AAAAAAAAAKY/De3NYaZAFYI/s576/BIP_in_Dashboard2.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt; &lt;a href="http://picasaweb.google.co.uk/mahe2601/NandooSBlog#5348390929092398258"&gt; &lt;img src="http://lh5.ggpht.com/_Af4Ksy1dxjY/SjlNNoh5TLI/AAAAAAAAAKc/5Wv-bEEqO9E/s576/BIP_in_Dashboard4.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/NandooSBlog#5348390929092398258"&gt;&lt;img src="http://lh5.ggpht.com/_Af4Ksy1dxjY/SjlNNoh5TLI/AAAAAAAAAKc/5Wv-bEEqO9E/s576/BIP_in_Dashboard4.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;Save your changes by clicking on "Save".  Navigate to the dashboard page,  and you should see the BI Publisher Report added to it.&lt;br /&gt;&lt;p&gt;&lt;a href="http://picasaweb.google.co.uk/mahe2601/NandooSBlog#5348390951257609010"&gt;&lt;img src="http://lh4.ggpht.com/_Af4Ksy1dxjY/SjlNO7GfkzI/AAAAAAAAAKk/-w4s_bsFamc/s576/BIP_in_Dashboard5.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;There you go!!  Your BI Publisher Report has been added to the Dashboard, and you can pass values to the report.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:tahoma;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-2945650799828284761?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/2945650799828284761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/06/passing-parameters-from-obiee.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/2945650799828284761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/2945650799828284761'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/06/passing-parameters-from-obiee.html' title='Passing Parameters from OBIEE Dashboards to BI Publisher Report'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_Af4Ksy1dxjY/SjJ3BA_uFlI/AAAAAAAAAFs/2FK1XLn6BRo/s72-c/BIP_Prompt1.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-806119473923721178</id><published>2009-03-25T11:28:00.001Z</published><updated>2009-03-25T11:30:03.351Z</updated><title type='text'>Oracle Business Intelligence - OBIEE - 101: OBIEE making a custom Log On and Log Off screen</title><content type='html'>I have come across this post regarding the personalization of OBIEE logon screens.  Thanks to the original contributor.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://obiee101.blogspot.com/2008/09/obiee-making-custom-log-on-and-log-off.html"&gt;Oracle Business Intelligence - OBIEE - 101: OBIEE making a custom Log On and Log Off screen&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-806119473923721178?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://obiee101.blogspot.com/2008/09/obiee-making-custom-log-on-and-log-off.html' title='Oracle Business Intelligence - OBIEE - 101: OBIEE making a custom Log On and Log Off screen'/><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/806119473923721178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/03/oracle-business-intelligence-obiee-101.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/806119473923721178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/806119473923721178'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/03/oracle-business-intelligence-obiee-101.html' title='Oracle Business Intelligence - OBIEE - 101: OBIEE making a custom Log On and Log Off screen'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-4618261843104906</id><published>2009-03-17T20:31:00.004Z</published><updated>2009-03-17T20:43:40.436Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Concatenation in OBIEE</title><content type='html'>I have been playing around with the OBIEE repository for a demo project at current client assignment.&lt;br /&gt;&lt;br /&gt;I have been trying to use the "where" clause to filter out the data for a column with the condition as - column1 = (variable1||' '||variable2||' '||variable3).  I thought this would be straight forward one as in normal SQL and I could use OBI Concate operator, but turned out to be a tricky one.&lt;br /&gt;&lt;br /&gt;I tried to do this  column1||' '||column2||' '||column3, which did not work apparently the concatenation operator  '||' only works  if only two fields are used.  For more than one has to use -&lt;br /&gt;concat(concat(concat(variable1,' '),variable2),' ') .&lt;br /&gt;&lt;br /&gt;I am glad I could resolve the issues.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-4618261843104906?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/4618261843104906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/03/concatenation-in-obiee.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/4618261843104906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/4618261843104906'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/03/concatenation-in-obiee.html' title='Concatenation in OBIEE'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-4545866065063020520</id><published>2009-02-27T13:37:00.001Z</published><updated>2009-02-27T13:39:40.057Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Oracle Business Intelligence - OBIEE - 101: OBIEE Directing a user to a default dashboard</title><content type='html'>&lt;a href="http://obiee101.blogspot.com/2008/06/obiee-directing-user-to-default.html"&gt;Oracle Business Intelligence - OBIEE - 101: OBIEE Directing a user to a default dashboard&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-4545866065063020520?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://obiee101.blogspot.com/2008/06/obiee-directing-user-to-default.html' title='Oracle Business Intelligence - OBIEE - 101: OBIEE Directing a user to a default dashboard'/><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/4545866065063020520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/02/oracle-business-intelligence-obiee-101.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/4545866065063020520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/4545866065063020520'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2009/02/oracle-business-intelligence-obiee-101.html' title='Oracle Business Intelligence - OBIEE - 101: OBIEE Directing a user to a default dashboard'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-2931597897774671226</id><published>2007-11-12T22:12:00.000Z</published><updated>2007-11-12T22:38:00.872Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Apex'/><title type='text'>Apex 3.0.1 Installation</title><content type='html'>&lt;span style="font-family:georgia;"&gt; &lt;span style="font-family:georgia;"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;It has been a while, since I have updated this blog.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;I wanted to work with Application Express and so wanted to install it on my desktop.  I thought it would be a cakewalk, the installation. But it took me 3 days to get things sorted.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;My configuration&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;Windows XP SP2, Oracle EE 10.2.1.0.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;The steps I followed for the installation are -&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;1.  Downloaded the Apex software from here - &lt;/span&gt;&lt;a style="color: rgb(0, 0, 153);" href="http://www.oracle.com/technology/products/database/application_express/download.html"&gt;ApexDownload&lt;/a&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;2.  Unzipped the contents onto C:\Apex.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;3.   Going through the installation guide, reminded me that I have to install HTTP Server.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;4.   Downloaded 10.2 Companion CD from - &lt;/span&gt;&lt;a style="color: rgb(0, 0, 153);" href="http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html."&gt;10gCompanion&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;5.  Installed Oracle HTTP Server from the pack downloaded in step4.  During this step, I got an error OUI-10066.   But Once I used the OUI from the previously installed oracle DB home, the error went away.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;6.  After successful installation, could not get the HTTP Server running.  Received the error "NLS Initialization Failed".  I had to edit the the PATH variable and got rid of the "OralceinstantClient" path and this made the trick.  The HTTP Server is up and running.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;7.  Followed the installtion guide of Apex.  Installed Apex.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;8.  Configured HTTP Server.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;br /&gt;&lt;br /&gt; - Copied the images directory from C:\Apex to "HTTPServerHome\Apache".&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;br /&gt;- Edited the "dads.conf" file in "HTTPServerHome\Apache\modplsql\conf" with the follwing&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt; Alias /i/&lt;/span&gt; &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;"HTTPServerHome/Apache/images/"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt; AddType text/xml       xbl&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;AddType text/x-component       htc&lt;/span&gt;&lt;location&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;/span&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Order deny,allow&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;/span&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;PlsqlDocumentPath docs&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;/span&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;AllowOverride None&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;/span&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;PlsqlDocumentProcedure      wwv_flow_file_mgr.process_download&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;/span&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;PlsqlDatabaseConnectString&lt;/span&gt;   &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;myhost&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;&lt;hostname&gt;:1521:orcl2&lt;/hostname&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;ServiceNameFormat&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;/span&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;PlsqlNLSLanguage            AMERICAN_AMERICA.AL32UTF8&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;/span&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;PlsqlAuthenticationMode     Basic&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;/span&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;SetHandler                  pls_handler&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;/span&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;PlsqlDocumentTablename      wwv_flow_file_objects$&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;/span&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;PlsqlDatabaseUsername       APEX_PUBLIC_USER&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;/span&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;PlsqlDefaultPage            apex&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;/span&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;PlsqlDatabasePassword&lt;/span&gt;       &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;admin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Allow from all&lt;/span&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;/location&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;location&gt;&lt;br /&gt;&lt;/location&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;    The ones hi-lited in&lt;/span&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;RED &lt;span style="color: rgb(0, 0, 153);"&gt;a&lt;span style="color: rgb(0, 0, 102);"&gt;re the ones I have edited to reflect my environment.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;8.  Stopped and started the HTTP Server.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;9.  There you go, my APEX is running.&lt;br /&gt;&lt;br /&gt;Hope this will help you to do the installation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-2931597897774671226?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/2931597897774671226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/11/apex-301-installation.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/2931597897774671226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/2931597897774671226'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/11/apex-301-installation.html' title='Apex 3.0.1 Installation'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-4719963856162067103</id><published>2007-07-22T14:25:00.002Z</published><updated>2010-06-24T20:03:22.721Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OWB10g/11gR2'/><title type='text'>using WHILE Loop - OWB10gR2</title><content type='html'>&lt;span style="color: rgb(0, 0, 153);font-family:georgia;font-size:85%;"  &gt;The diagram below details the usage of WHILE loop operator in OWB10gR2.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Af4Ksy1dxjY/RqkWNFCZzII/AAAAAAAAADo/Y6fL-CuHXkE/s1600-h/while.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_Af4Ksy1dxjY/RqkWNFCZzII/AAAAAAAAADo/Y6fL-CuHXkE/s320/while.jpg" alt="" id="BLOGGER_PHOTO_ID_5091625267665423490" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;The requirement is to check for the existence of a file on the server at a specified location. If the file exists, then complete with success and then execute the mapping.  If the file does not exists then to loop through a specified period of time an hour, checking for the arrival of file for every 1 minute, and to end with Error status if the file has not arrived in the specified time.&lt;br /&gt;&lt;br /&gt;The way I have achived this task is -&lt;br /&gt;&lt;br /&gt;1.  Defined a variable "CHK_FILE_STATUS" under START activity.&lt;br /&gt;2.  Assign a value 0 to the variable "CHK_FILE_STATUS"&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;              Assigning Value "0"&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Af4Ksy1dxjY/RqNugFCZzCI/AAAAAAAAACw/hd0pEzFS7js/s1600-h/assign_val.jpg.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_Af4Ksy1dxjY/RqNugFCZzCI/AAAAAAAAACw/hd0pEzFS7js/s320/assign_val.jpg.png" alt="" id="BLOGGER_PHOTO_ID_5090033501245918242" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color: rgb(0, 0, 153);font-family:webdings;font-size:85%;"  &gt;&lt;/span&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_Af4Ksy1dxjY/RqNu51CZzDI/AAAAAAAAAC4/UPfWSnN1IsM/s1600-h/assign_bind_var.jpg.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_Af4Ksy1dxjY/RqNu51CZzDI/AAAAAAAAAC4/UPfWSnN1IsM/s320/assign_bind_var.jpg.png" alt="" id="BLOGGER_PHOTO_ID_5090033943627549746" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color: rgb(0, 0, 153);font-family:georgia;font-size:85%;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;3.  Then, in the while loop put a condition to loop for an hour.&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Af4Ksy1dxjY/RqNvilCZzEI/AAAAAAAAADI/M3JH8RK2zeE/s1600-h/while---1.jpg.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_Af4Ksy1dxjY/RqNvilCZzEI/AAAAAAAAADI/M3JH8RK2zeE/s320/while---1.jpg.png" alt="" id="BLOGGER_PHOTO_ID_5090034643707219010" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color: rgb(0, 0, 153);font-family:georgia;font-size:85%;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;4.  Use the File_Exists condition and specify the full path for the file to be checked for.&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;5.  From File_Exists operator Use two transitions.&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;6. If File_Exists returns "Exists" then branch to Success.&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;7. If File_Exists returns anything other than "Exists" then loop through the logic to increment the variable "CHK_FILE_EXISTS" by 1.&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Af4Ksy1dxjY/RqNwLlCZzFI/AAAAAAAAADQ/2MKZ4SXxmYM/s1600-h/incr_val.jpg.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_Af4Ksy1dxjY/RqNwLlCZzFI/AAAAAAAAADQ/2MKZ4SXxmYM/s320/incr_val.jpg.png" alt="" id="BLOGGER_PHOTO_ID_5090035348081855570" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color: rgb(0, 0, 153);font-family:georgia;font-size:85%;"  &gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_Af4Ksy1dxjY/RqNwV1CZzGI/AAAAAAAAADY/r19lgPwfFe4/s1600-h/incr_bind_var.jpg.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_Af4Ksy1dxjY/RqNwV1CZzGI/AAAAAAAAADY/r19lgPwfFe4/s320/incr_bind_var.jpg.png" alt="" id="BLOGGER_PHOTO_ID_5090035524175514722" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;8.  Wait for a 60 seconds (delay) before checking for the arrival of file.&lt;/span&gt;&lt;/p&gt;&lt;span style="color: rgb(0, 0, 153);font-family:georgia;font-size:85%;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_Af4Ksy1dxjY/RqNwl1CZzHI/AAAAAAAAADg/CrG9HlA8-AE/s1600-h/delay.jpg.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_Af4Ksy1dxjY/RqNwl1CZzHI/AAAAAAAAADg/CrG9HlA8-AE/s320/delay.jpg.png" alt="" id="BLOGGER_PHOTO_ID_5090035799053421682" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color: rgb(0, 0, 153);font-family:georgia;font-size:85%;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;9.  The while condition will be evaluated and the "FILE_EXISTS" will be checked until the variable "CHK_FILE_EXISTS" reaches the count 61 ( 1 hours).&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(0, 0, 153);font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;10.  If the file arrives before the count reaches 61, the WHILE loop will be broken to END_SUCCESS otherwise after 60mins, the loop breaks to END_ERROR.&lt;/span&gt;&lt;/p&gt;&lt;span style="color: rgb(0, 0, 153);font-family:georgia;font-size:85%;"  &gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p face="georgia" style="color: rgb(0, 0, 153);"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-4719963856162067103?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/4719963856162067103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/07/using-while-loop-owb10gr2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/4719963856162067103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/4719963856162067103'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/07/using-while-loop-owb10gr2.html' title='using WHILE Loop - OWB10gR2'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Af4Ksy1dxjY/RqkWNFCZzII/AAAAAAAAADo/Y6fL-CuHXkE/s72-c/while.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-171794235633126440</id><published>2007-07-19T21:18:00.001Z</published><updated>2009-06-26T10:24:46.539Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OMB+ Scripts'/><title type='text'>OMB+(Tcl) script for copying attributes between groups</title><content type='html'>&lt;span style="font-family:verdana;"&gt;At the current client site am working on, the source tables have morethan 500 columns.  And the mappings involved SET operators to process the data, and it was a pain to type in all the attributes in SET operators.  so I have written the below TCL script which copies the attributes from one group to other in the same as order as defined in group1.&lt;br /&gt;&lt;br /&gt;The script is -&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);font-size:85%;" &gt;puts "proc add_GRP is created"&lt;br /&gt;puts "==================="&lt;br /&gt;puts "Input Parameters:"&lt;br /&gt;puts "======================="&lt;br /&gt;puts "PROJECT MODULES MAP OPR_NAME SRCGRP TGTGRP"&lt;br /&gt;puts "========================="&lt;br /&gt;proc add_grp { PROJ MOD MAP OPRNAME SRCGRP TGTGRP } {&lt;br /&gt;&lt;br /&gt;OMBCC '/$PROJ/$MOD'&lt;br /&gt;set cc [ OMBDCC ]&lt;br /&gt;set ccon [ lindex [ split $cc " "] 1 ]&lt;br /&gt;&lt;br /&gt;puts $ccon&lt;br /&gt;&lt;br /&gt;set atrlst [ OMBRETRIEVE MAPPING '$ccon/$MAP' OPERATOR '$OPRNAME' GROUP '$SRCGRP' GET ATTRIBUTES ]&lt;br /&gt;&lt;br /&gt;foreach aname $atrlst {&lt;br /&gt;   set dt ""&lt;br /&gt;   set ln ""&lt;br /&gt;   set pr ""&lt;br /&gt;   set sc ""&lt;br /&gt;&lt;br /&gt;   set prop [ OMBRETRIEVE MAPPING '$ccon/$MAP' OPERATOR '$OPRNAME' GROUP '$SRCGRP' ATTRIBUTE '$aname' GET PROPERTIES (DATATYPE, LENGTH, PRECISION, SCALE) ]&lt;br /&gt;   #puts "$aname   ----   $prop"&lt;br /&gt;&lt;br /&gt;#splitting the above into individual var&lt;br /&gt;&lt;br /&gt;       set dt [ lindex [ split $prop " " ] 0 ]&lt;br /&gt;       set ln [ lindex [ split $prop " " ] 1 ]&lt;br /&gt;       set pr [ lindex [ split $prop " " ] 2 ]&lt;br /&gt;       set sc [ lindex [ split $prop " " ] 3 ]&lt;br /&gt;   #puts "$aname    -------- $dt"&lt;br /&gt;&lt;br /&gt;   set tgtatrlst [ OMBRETRIEVE MAPPING '$ccon/$MAP' OPERATOR '$OPRNAME' GROUP '$TGTGRP' GET ATTRIBUTES ]&lt;br /&gt;&lt;br /&gt;# check whether the attribute already exists&lt;br /&gt;&lt;br /&gt;       if { [lsearch $tgtatrlst $aname] == -1 } {&lt;br /&gt;              puts "Adding $aname"&lt;br /&gt;               OMBALTER MAPPING '$MAP' ADD ATTRIBUTE '$aname' OF GROUP '$TGTGRP' OF OPERATOR '$OPRNAME'&lt;br /&gt;       OMBCOMMIT&lt;br /&gt;               # change attribute properties&lt;br /&gt;&lt;br /&gt;           if { $dt ==  "NUMBER" } {&lt;br /&gt;                    puts "Changing length and precision for $aname    -------- FOR $dt "&lt;br /&gt;              OMBALTER MAPPING '$MAP' MODIFY ATTRIBUTE '$aname' OF GROUP '$TGTGRP' OF OPERATOR '$OPRNAME' SET PROPERTIES (PRECISION, SCALE) VALUES ($pr,$sc)&lt;br /&gt;              } else {&lt;br /&gt;                 if { $dt == "DATE" } {&lt;br /&gt;                OMBALTER MAPPING '$MAP' MODIFY ATTRIBUTE '$aname' OF GROUP '$TGTGRP' OF OPERATOR '$OPRNAME' SET PROPERTIES (DATATYPE) VALUES ('$dt')&lt;br /&gt;                            } else {&lt;br /&gt;                          puts "changing for $aname    -------- $dt"&lt;br /&gt;                          OMBALTER MAPPING '$MAP' MODIFY ATTRIBUTE '$aname' OF GROUP '$TGTGRP' OF OPERATOR '$OPRNAME' SET PROPERTIES (DATATYPE,LENGTH) VALUES ('$dt',$ln)&lt;br /&gt;               OMBCOMMIT&lt;br /&gt;                 }  &lt;br /&gt;             }&lt;br /&gt;     &lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-171794235633126440?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/171794235633126440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/07/ombtcl-script-for-copying-attributes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/171794235633126440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/171794235633126440'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/07/ombtcl-script-for-copying-attributes.html' title='OMB+(Tcl) script for copying attributes between groups'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-9027417460504033302</id><published>2007-05-30T21:48:00.000Z</published><updated>2010-06-24T20:03:22.721Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OWB10g/11gR2'/><title type='text'>OWB SQL*Loader Mapping</title><content type='html'>&lt;font style="font-family: arial;" size="2"&gt;In response to a quesion raised on OTN Forum, &lt;a href="http://forums.oracle.com/forums/thread.jspa?threadID=514132&amp;tstart=0"&gt;http://forums.oracle.com/forums/thread.jspa?threadID=514132&amp;amp;tstart=0&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The OWB Mapping for SQL*Loader is -&lt;br /&gt;&lt;/font&gt;&lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;font size="2"&gt;FILE MODULE CREATION&lt;/font&gt;&lt;font size="2"&gt;    &lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;font style="font-family: arial;" size="2"&gt;            Create a File Module, if you have already created goto 2.&lt;br /&gt;To create the File Module navigate to -    Project -&gt; Files.&lt;br /&gt;Right Click on the FilesNode, and create a new Module.&lt;br /&gt; During this step, you need specify the "local directory" from the source files need to imported and sampled.                      Usually this will be on your desktop.&lt;br /&gt;&lt;/font&gt;   &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1026" type="#_x0000_t75" style="'width:6in;height:260.25pt'"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\Mahesh\LOCALS~1\Temp\msohtml1\01\clip_image003.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;font size="2"&gt; IMPORT THE SOURCE FILE&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;font style="font-family: arial;" size="2"&gt;              Now Import the file into the File Module just created.&lt;br /&gt; To do this, right click on FileModuleName and Select "Import".  While importing you can sample the source file                to define the field names, data types and record structure.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Af4Ksy1dxjY/Rl36lWfo5uI/AAAAAAAAABg/aGaaE4DPCPI/s1600-h/1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_Af4Ksy1dxjY/Rl36lWfo5uI/AAAAAAAAABg/aGaaE4DPCPI/s320/1.jpg" alt="" id="BLOGGER_PHOTO_ID_5070484275089434338" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/font&gt;   &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;font style="font-family: arial;" size="2"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_Af4Ksy1dxjY/Rl36lmfo5vI/AAAAAAAAABo/n56rS0rlpUM/s1600-h/2.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 298px; height: 188px;" src="http://2.bp.blogspot.com/_Af4Ksy1dxjY/Rl36lmfo5vI/AAAAAAAAABo/n56rS0rlpUM/s320/2.jpg" alt="" id="BLOGGER_PHOTO_ID_5070484279384401650" border="0"&gt;&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;br style="font-family: arial;"&gt;&lt;font style="font-family: arial;" size="2"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font style="font-family: arial;" size="2"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font style="font-family: arial;" size="2"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;here, you can specify if you want to skip any &lt;/font&gt;&lt;font style="font-family: arial;" size="2"&gt;records&lt;/font&gt;&lt;font style="font-family: arial;" size="2"&gt; from the &lt;/font&gt;&lt;font style="font-family: arial;" size="2"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Af4Ksy1dxjY/Rl37CWfo5wI/AAAAAAAAABw/OzM80c0lJlQ/s1600-h/1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_Af4Ksy1dxjY/Rl37CWfo5wI/AAAAAAAAABw/OzM80c0lJlQ/s320/1.jpg" alt="" id="BLOGGER_PHOTO_ID_5070484773305640706" border="0"&gt;&lt;/a&gt;&lt;/font&gt;&lt;font style="font-family: arial;" size="2"&gt;beginning of the file&lt;br /&gt;&lt;/font&gt;&lt;font style="font-family: arial;" size="2"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font style="font-family: arial;" size="2"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font style="font-family: arial;" size="2"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_Af4Ksy1dxjY/Rl37kmfo5xI/AAAAAAAAAB4/zZZurmpT5x4/s1600-h/1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_Af4Ksy1dxjY/Rl37kmfo5xI/AAAAAAAAAB4/zZZurmpT5x4/s320/1.jpg" alt="" id="BLOGGER_PHOTO_ID_5070485361716160274" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font style="font-family: arial;" size="2"&gt;Here, you have to specify whether the file is a delimited / fixed record format.  If delimited, choose the appropriate delimitor.  The  field "Fixed Delimitor" is editable ie if you have a delimitor which is not listed in the drop down box, you can just type the delimitor.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font style="font-family: arial;" size="2"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Af4Ksy1dxjY/Rl38S2fo5yI/AAAAAAAAACA/iCFdQn-UC8Q/s1600-h/1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_Af4Ksy1dxjY/Rl38S2fo5yI/AAAAAAAAACA/iCFdQn-UC8Q/s320/1.jpg" alt="" id="BLOGGER_PHOTO_ID_5070486156285110050" border="0"&gt;&lt;/a&gt;&lt;/font&gt;&lt;br style="font-family: arial;"&gt;&lt;font style="font-family: arial;" size="2"&gt;Here, you can specify the data types and any SQL*Loader conversion functions.  Also, you have a check box to say if the first record in the file specifies the field names.&lt;br /&gt;&lt;br /&gt;Click Next and Finish.&lt;br /&gt;&lt;br /&gt;This completes the "Import and Sampling " of source files.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;ul style="font-family: arial;"&gt;&lt;li&gt;BUILD OWB MAPPING&lt;/li&gt;&lt;/ul&gt;&lt;font style="font-family: arial;" size="2"&gt;           Expand the Oracle Module, where the mapping need to be created.  Right click onf "Mappings"             node and select "Create Mapping".  Build the mapping as per your requirements.&lt;/font&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;ul style="font-family: arial;"&gt;&lt;li&gt;CONFIGURING THE OWB MAP&lt;/li&gt;&lt;/ul&gt;&lt;font style="font-family: arial;" size="2"&gt;           The things that are important for SQL*Loader mapping are&lt;/font&gt;&lt;br style="font-family: arial;"&gt;&lt;ul style="font-family: arial;"&gt;&lt;ul&gt;&lt;li&gt;&lt;font size="2"&gt;specifying the source data fi&lt;/font&gt;&lt;font style="text-decoration: underline;" size="2"&gt;le.&lt;/font&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_Af4Ksy1dxjY/Rl3_tmfo50I/AAAAAAAAACQ/VaPq7ELty2M/s1600-h/1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 218px;" src="http://2.bp.blogspot.com/_Af4Ksy1dxjY/Rl3_tmfo50I/AAAAAAAAACQ/VaPq7ELty2M/s320/1.jpg" alt="" id="BLOGGER_PHOTO_ID_5070489914381494082" border="0"&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;               &lt;br style="font-family: arial;"&gt;&lt;font style="font-family: arial;" size="2"&gt;To specify a logical name for the soure file, Select "Source Data File" tab and click on the [...] button, which opens up a pop-up window where you can give a name , and click on "Add" and then on "Ok" button.&lt;/font&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;font style="font-family: arial;" size="2"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now, expand the "Source Data File" tab, and you should see an entry with the name as                         mentioned in previous step.&lt;br /&gt;         Expand the Source File and you should see entries to specify the         &lt;br /&gt;&lt;/font&gt;&lt;ul style="font-family: arial;"&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;&lt;font size="2"&gt; Data File Location        -  This is the Location Name pointing to the directory path where the source file is residing on server&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;font size="2"&gt;Data File Name           - Name of the source file on server, the name should exactly match as on the server.&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;font size="2"&gt;Bad File Location &amp; Name -  specify the location pointing to the directory where you want the bad file to be created on server.&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;font size="2"&gt;Discard File Location &amp;amp; Name - specify the location pointing to the directory where you want the discard file to be created on server.&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;font size="2"&gt;Log file location and file name   - specify the location pointing to the directory where you want the Log file to be created.&lt;br /&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font size="2"&gt;Errors Allowed          -  Specify the number of errors that can be allowed before the OWB mapping to fail.&lt;br /&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font size="2"&gt;Control File Location and Name  -  specify the location pointing to the directory where you want the Sql*Loader control file to be created.&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font size="2"&gt;&lt;b&gt;&lt;u&gt;Expand the tab "Source and Targets", expand your target table, expand "Sql*Loader Parameters" and change "Trailing Nullcols" to "True". &lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;font size="2"&gt;with all the above configuration settings, the window should be as&lt;/font&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a style="font-family: arial;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Af4Ksy1dxjY/Rl4F42fo52I/AAAAAAAAACg/x-S87vxh-Ns/s1600-h/1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://4.bp.blogspot.com/_Af4Ksy1dxjY/Rl4F42fo52I/AAAAAAAAACg/x-S87vxh-Ns/s320/1.jpg" alt="" id="BLOGGER_PHOTO_ID_5070496704724789090" border="0"&gt;&lt;/a&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;br style="font-family: arial;"&gt;&lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;font size="2"&gt;Close the above window, commit the changes , Register the locations ( by specifying the access parameters, the directory path on the server where the source file is residing )Deploy the mapping and Run the mapping.&lt;br /&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;    &lt;font style="font-family: arial;" size="2"&gt;If everything is right, you should load data from you source file into target table.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-9027417460504033302?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/9027417460504033302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/owb-sqlloader-mapping.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/9027417460504033302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/9027417460504033302'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/owb-sqlloader-mapping.html' title='OWB SQL*Loader Mapping'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Af4Ksy1dxjY/Rl36lWfo5uI/AAAAAAAAABg/aGaaE4DPCPI/s72-c/1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-1880014079072328010</id><published>2007-05-29T16:33:00.000Z</published><updated>2007-05-31T00:40:33.689Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Apps - 1z0-200'/><title type='text'>FlexFields</title><content type='html'>&lt;span style="color: rgb(153, 0, 0);font-family:verdana;font-size:85%;"  &gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size:100%;"&gt;Concepts&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;These are Configurable windows, which enables to tailor Oracle Apps to suit the business environment of a given organization.&lt;br /&gt;&lt;br /&gt;The flexfields allows to modify or extend Oracle Apps without programming.  These are used to&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul  style="font-family:verdana;"&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="color: rgb(153, 0, 0);font-size:85%;" &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;structure certain identifiers required by Oracle Apps to suit the business environment&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(153, 0, 0);font-size:85%;" &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;collect and display additional information in Oracle Apps that may be useful for business.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: rgb(153, 0, 0);font-family:arial;font-size:85%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;The flexfields helps you to&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul  style="font-family:verdana;"&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;configure applications to support&lt;/span&gt;&lt;span style="font-size:85%;"&gt; accounting, product and other codes.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;construct intelligent keys.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;configure applications to capture additional data.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;use the applications to validate the values and value combinations entered by end users.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;support multiple field structures  .&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: rgb(153, 0, 0);font-family:verdana;font-size:85%;"  &gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;FlexField Types&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;There are 2 types of FlexFields&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul  style="font-family:arial;"&gt;&lt;li  style="font-weight: bold; color: rgb(102, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Key FlexFields  (KFF)&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Used to identify individual business entities or classes of entities.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;These can also be used to reflect the organizational structure of a business .&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;The code combinations of a KFF are internally used by Oracle Apps to retrive information.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;These are &lt;u&gt;Mandatory to set-up in Apps but optional to use.&lt;/u&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Made up of multiple segments, which are concatenated by using segment separators.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;The combinations of multiple segments then forms intelligent keys which will be used of Oracle Apps to access identification information.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Value sets to specify acceptable values for each segment in a flexfield.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;cross-validation rules for the allowable combinations of segment values within a key can also be defined.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Eg for built-in FlexFields in Oracle Apps are - AssetKey FlexField in Assets, ServiceItem FexField in Services, Territory FlexField in Receivables.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;These are owned by one Application, but can be used by many applications&lt;/span&gt;.&lt;/u&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="font-weight: bold; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;Descriptive FlexFields (DFF)&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Used to collect and display additional specialized business information that is not readily available in Apps.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;These are Optional.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The information in a DFF is not used internally by Oracle Apps.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Allows multiple structures to be defined.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt; These are associated with tables in a specific application&lt;/span&gt;.&lt;/u&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;span style="color: rgb(153, 0, 0);font-family:verdana;font-size:85%;"  &gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;Key FlexField (KFF) &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Benefits&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul  style="font-family:arial;"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Dynamic insertion of new values&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;cross-validation of segment value combinations&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Define security rules on accessible values&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Define aliases&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: rgb(153, 0, 0);font-family:verdana;font-size:85%;"  &gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;Implementation Steps&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Before implementing the Key FlexFields, the following needs to be met -&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);font-family:verdana;font-size:85%;"  &gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul  style="font-family:verdana;"&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;support for Multiple Structures&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;check whether Oracle Apps supports multiple segment structures.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;identify the number of segments required.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Resource availability&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;determine the number of segment columns in "Code Combinations" table.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Type of Qualifiers&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Requirement for dynamic inserts&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Requirement for cross-validation&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Requirement for short-hand flexfield entry&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Required value sets for value checking&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Value Security for segments.&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: rgb(153, 0, 0);font-family:verdana;font-size:85%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;A FlexField can be defined to contain a segment or structure or both.  It may use more than one structure and each structure can have more than one segment&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;The following steps need to be followed for FlexField implementation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt; -&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol  style="font-family:arial;"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Plan FlexField's structure, layout, ValueSets and segments.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Define the ValueSets ( these are used to set the acceptable range of values for the flexfield segments).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Define the FlexField Structure and Segments.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Define the values for the ValueSets defined in step 2.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Define any Security Rules ( Key FlexFields only).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Define any Cross-Validation Rules ( Key FlexFields only).&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="color: rgb(153, 0, 0);font-family:verdana;font-size:85%;"  &gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;ValueSets&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;&lt;span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;A ValueSet&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul  style="font-family:arial;"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;enables you to control the value for a segment&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;defines the approved values for entry or display by a flexfield segment&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;a single value set can be shared by multiple FlexFields.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;a single value set can be shared by different segments of a FlexField.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;u&gt;A user-defined ValueSet with the same name as the pre-defined ValueSet (by Oracle Apps) will be over-ridden by the pre-defined one.&lt;/u&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;The Planning of value set requires the following -&lt;br /&gt;&lt;/span&gt;&lt;ul  style="font-family:arial;"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;basic structure of the set&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;validation rules that must be met ( like datatype, maxlength etc.)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;most appropriate validation strategy&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: rgb(153, 0, 0);font-family:verdana;font-size:85%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;The values provided for a ValueSet can be -&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul  style="font-family:arial;"&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;List Of Values&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;is used when LongList feature is not required in Oracle Forms Applications&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Used when the avaialable values are between 10 to 20.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Long List of Values&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;to provide LongList feature in Oracle Forms Applications&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;User must enter partial segment value before LOV option retrieves all the available values&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;u&gt; Is not available for ValueSet with Validation type as NONE .&lt;/u&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Is used where the available list of values is morethan 200.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Poplist&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;is used when LongList feature is not required for Oracle Forms Applications&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Used when the available values are less than 10.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;A ValueSet can have 3 types of Security features -&lt;br /&gt;&lt;/span&gt;&lt;ul  style="font-family:arial;"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt; Hierarchial&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Non-Hierarchial&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;No Security&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: rgb(153, 0, 0);font-family:verdana;font-size:85%;"  &gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;ValueSet Types&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;There are 8 types of ValueSets.  They are -&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul  style="font-family:arial;"&gt;&lt;li  style="font-family:arial;"&gt;None&lt;/li&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;No approved list of values.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;only performs minimal checking on the values entered.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li  style="font-family:arial;"&gt;Independent&lt;/li&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;contains a valid list of approved values&lt;/span&gt;.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;performs cross-validation of values entered with the list of approved values, in addition to minimal checking.&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li  style="font-family:arial;"&gt;Dependent&lt;/li&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Associated with Independent ValueSet&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;makes sure that the entered values are associated with a value in the associated Independent ValueSet.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li  style="font-family:arial;"&gt;Table&lt;/li&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Retrieves approved value list from an associated Apps table.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li  style="font-family:arial;"&gt;Special&lt;/li&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;provides entire flexfield as a value set for a single segment.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;uses special validation routines and are not used for normal flexfield segments.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Pair&lt;/li&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;provides a range flexfield as a value set for a pair of segments.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;uses special validation routines and are not used for normal flexfield segments.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li  style="font-family:arial;"&gt;Translatable Independent&lt;/li&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;provides a specified list of values for a segment&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;contains display values that can be translated into different languages.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Translatable Dependent&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;associated with Translatable Independent ValuSet.&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;span style="color: rgb(153, 0, 0);font-family:verdana;font-size:85%;"  &gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;Value Sets Creation&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;To create a Value Set, one need to plan data format validation, which are -&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul face="arial"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Format Type - Value data type&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Maximum allowable size for value&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Precision&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Numbers only&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;UpperCase only&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Right-justify and Zero fill&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Max/Min Values - Beginning and ending values of a range&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: rgb(102, 0, 0);font-family:arial;" &gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;Key FlexField (KFF) Structure&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;A given Key FlexField structure comprises of multiple segments divided by segment separators.  The segments contains the values from the code combinations that are used by  OracleApps as an intelligent key to identify a particular business entity or class of entities.&lt;br /&gt;&lt;br /&gt;Each flexfield stores its key combinations in a database table called, &lt;u&gt; "Code Combinations"&lt;/u&gt;.  This table holds one column for each flexfield segment.  A unique ID is associated with each row in the table, which is stored in a Unique ID column which acts as the PK.&lt;br /&gt;Planning of a Key FlexField involves -&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol  style="font-family:arial;"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Identifying the Target FlexField.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Plan the structure, appearance and behaviour of the FlexField.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Identify structure titles.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Identify the number and order of segments.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Identify the segment separator.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Choose the Value Sets and Values to be used.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Plan the window prompts.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Define the FlexField structure&lt;/span&gt;&lt;span style="font-size:85%;"&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Define any Value Sets and their Values.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Define short-hand aliases.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Define Security rules where appropriate.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Define cross-validation rules where required.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold; color: rgb(102, 0, 0);font-family:arial;font-size:100%;"  &gt;&lt;span style="font-size:85%;"&gt;Key FlexField Qualifiers&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);font-family:arial;font-size:100%;"  &gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;A KFF Qualifier is a label for a KFF segment, which Oracle Apps to locate the segment in KFF and access the information from that segment.&lt;br /&gt;&lt;br /&gt;Two types of qualifiers -&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;flexfield qualifers&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;identifies a segment in a flexfield&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;These can be&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Unique       -   should be only one of this type in a KFF&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Required   -  Must exist for a KFF&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Global         -  will be automatically assigned to every segment in a KFF&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Must be assigned while defining the segments&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;segment qualifiers&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;identifies a value in a segment&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;span style="font-weight: bold; color: rgb(102, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:arial;"&gt;Descriptive FlexField (DFF)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);font-size:100%;" &gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;The presence of DFF on a form is identified by  [  ].  There can be more than one DFF on a given form and the DFFs are not labeled.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(102, 0, 0);font-size:100%;" &gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);font-size:100%;" &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;DFFs are used to gather and display any additional information that is not maintained internally by Oracle Apps.  To define a DFF structure, the following needs to be identified -&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Additional information to be captured.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Frequency of capturing the information.&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Information to be captured on an ad-hoc basis.&lt;/span&gt;&lt;/li&gt;&lt;li face="arial"&gt;&lt;span style="font-size:85%;"&gt;How much control the user requires on the processing window.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;Identify whether the information to be captured on ad-hoc basis dependes on any value in base window.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold; color: rgb(153, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:arial;"&gt;Components&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);font-family:arial;font-size:85%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;De&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;scriptive FlexFields are made up of multiple individual segments that store different pieces of information. Each DFF can be used in more than one context, to support such a requirement one has design multiple layouts foreach DFF field.&lt;br /&gt;&lt;br /&gt;A DFF has 4 components, which are -&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li face="arial"&gt;Global Segment&lt;/li&gt;&lt;ul&gt;&lt;li face="arial"&gt;&lt;span style="font-size:85%;"&gt;common to all the contexts&lt;/span&gt;&lt;/li&gt;&lt;li face="arial"&gt;&lt;span style="font-size:85%;"&gt;should be planned first&lt;/span&gt;&lt;/li&gt;&lt;li face="arial"&gt;&lt;span style="font-size:85%;"&gt;Always displayed in the form&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li face="arial"&gt;Context-Sensitive Segment&lt;/li&gt;&lt;ul&gt;&lt;li face="arial"&gt;&lt;span style="font-size:85%;"&gt;Unique to each context&lt;/span&gt;&lt;/li&gt;&lt;li face="arial"&gt;&lt;span style="font-size:85%;"&gt;dependent on the context of the DFF&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li style="font-family: arial;"&gt;Reference Field&lt;/li&gt;&lt;ul&gt;&lt;li style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;used to distinguish between the contexts&lt;/span&gt;&lt;/li&gt;&lt;li style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;a profile or existing field in the base form that sets the context for the flexfield&lt;/span&gt;.&lt;/li&gt;&lt;li style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;For an existing field to be used as reference field&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;the field must have been defined as referenceable.&lt;/span&gt;&lt;/li&gt;&lt;li style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;its values must be known and predictable.&lt;/span&gt;&lt;/li&gt;&lt;li style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;the field must appear in all windows where DFF is displayed.&lt;/span&gt;&lt;/li&gt;&lt;li style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;must have the same internal name in all the forms where DFF is used&lt;/span&gt;.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-family:arial;"&gt;Context Field&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;allows users to manually select the contexts&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;does not exist in the base window, is a part of the DFF structure.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-1880014079072328010?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/1880014079072328010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/flexfields.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/1880014079072328010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/1880014079072328010'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/flexfields.html' title='FlexFields'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-5112522496327164656</id><published>2007-05-22T16:36:00.000Z</published><updated>2007-05-22T17:22:35.521Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Apps - 1z0-200'/><title type='text'>Multi-Org</title><content type='html'>&lt;span style="font-weight: bold; color: rgb(153, 0, 0);"&gt;Concepts&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt; The Multi-Org  is an application &amp; database enhancement functionality that enables multiple Business Units in an enterprise to use a single installation of Oracle Applications.&lt;/li&gt;&lt;li&gt;The basic business needs supported by Multi-Org feature are -&lt;/li&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Support multiple Business Units even if they use different SOB(Set Of Books)&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Secure access to data such that the users can access only the information relevant to them&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Procure products and receive products from two different operating units that use two different SOBs&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Support any number of business units within a single installation of Oracle Apps&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Produce reports both across entities and within a single entity&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;Keeps Transaction data separate and secure&lt;/li&gt;&lt;li&gt;Provides data security by creating a separate security layer over Applications installation through database views.&lt;/li&gt;&lt;li&gt;The various products that support Multi-Org are -&lt;/li&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Cash Management&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Order Management&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Release Management&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Payables&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Property Manager&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Projects&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Purchasing&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Receivables etc.&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;The hierarchy that is maintained within Multi-Org is -&lt;/li&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Business Group (BG)&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;This is the highest level of organisation structure without accounting impact&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;There can be only one Business Group&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;One BG can be related to one of many SOBs&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Partitions HR and Purchasing Approval Hierarchy&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Set Of Books (SOB)&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Owned by General Ledger.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Maintains inter company entries to ensure that companies are never out of balance.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Enables to collect and quantify Financial data.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;There major components - Chart Of Accounts (COA), Accounting Calendar and Currency.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;One SOB can relate to only one BG.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;One SOB can be related to one or more LEs.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Legal Entity(LE)&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;An organization to which Tax identifiers are assigned.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;One LE is related to one SOB&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;One LE can be associated to one or more OUs.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Operating Unit (OU)&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Secures information for applications such as Order Management or Payables&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;Naming conventions for naming Organizations in Multi-Org model are -&lt;/li&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;use country codes to identify the country of registration and location of an organization&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Prefix SOB_ to the name of an operational book that obtains Journal Entries directly from a subledger system.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Prefix COB_ for consolidated SOBs.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Prefix ROB_ for SOB with Multiple Reporting Currency (MRC) feature.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Prefix IO_     to an IO intended to be a subledger in Oracle Apps.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Prefix VO_    to the name of an IO used for validation purposes.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Prefix GM_   to the name of IO that uses Global Item Master.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Prefix LE_    to the name of LE.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;prefix PO_    to the name of an organization that is used only for planning purposes.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;span style="font-weight: bold; color: rgb(153, 0, 0);"&gt;Implementation&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;The key concepts related to implementation of Multi-Org model are -&lt;/li&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;A BG is the highest level of the organization structure and does not impact the account.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Multiple SOBs can be associated to a single BG.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The Seed Data Replication request copies the applicable setup data for each defined OU.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Allows defining new business organizations while leaving the old structure and data untouched.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The additon of OU to the organizational structure requires defining organizations and relationships.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Each SOB may have different Chart Of Account strurcture,  Accounting Calendar and Currency.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;A BG determines which employees will be available to  SOB and OU.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;3 steps to implement Multi-Org Model&lt;/li&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Define Organization Structure&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Convert the entire Organization to Multi-Org Model using the tools supplied with the Oracle Applications.  The tools are - ADADMIN and Seed Data Replication Programme&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Perform the set-up operations on Individual Operating Units.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(153, 0, 0);"&gt;Security Model&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;Allows to customize Oracle Applications according to business needs&lt;/li&gt;&lt;li&gt;Users has Responsibilities&lt;/li&gt;&lt;li&gt;Responsibilites are attached to Operating Units or Inventory Organizations.&lt;/li&gt;&lt;li&gt;Reporting ability of an user dependes on his Responsibility.&lt;/li&gt;&lt;li&gt;Header information of customers and suppliers is stored in an unpartitioned table.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-5112522496327164656?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/5112522496327164656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/multi-org.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/5112522496327164656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/5112522496327164656'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/multi-org.html' title='Multi-Org'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-3594645741520568314</id><published>2007-05-21T15:24:00.000Z</published><updated>2007-05-21T15:46:34.349Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Apps - 1z0-200'/><title type='text'>Shared Entities</title><content type='html'>A Shared Entity in Oracle Apps is an object which can be used / referenced across  multiple products.&lt;br /&gt;&lt;br /&gt;Examples of Shared Entities are -&lt;br /&gt;&lt;br /&gt;Items&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Owned by Inventory&lt;/li&gt;&lt;li&gt;identifies the parts that are used, bought or sold by a transaction.&lt;/li&gt;&lt;/ul&gt;Location&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Owned by Human Resources&lt;/li&gt;&lt;li&gt;Identifies multiple roles  ie Ship-To, Bill-To etc.&lt;/li&gt;&lt;/ul&gt;Organizations&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Owned by Human Resources&lt;/li&gt;&lt;li&gt;can be a physical site or representation of collection of sites sharing a common characteristics&lt;/li&gt;&lt;li&gt;Eg. Legal Entity, Operating Unit, Inventory Organization etc.&lt;/li&gt;&lt;/ul&gt;Set Of Books (SOB)&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Owned by GL&lt;/li&gt;&lt;li&gt;enables to collect and quantify financial data&lt;/li&gt;&lt;li&gt;3 main components - Chart of Accounts (COA), Accounting Calendar and Currency.&lt;/li&gt;&lt;li&gt;All E-Business Applications utilize SOB information.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-3594645741520568314?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/3594645741520568314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/shared-entities.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/3594645741520568314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/3594645741520568314'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/shared-entities.html' title='Shared Entities'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-3547196903474745441</id><published>2007-05-21T13:21:00.000Z</published><updated>2007-05-22T16:29:52.381Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Apps - 1z0-200'/><title type='text'>Architecture</title><content type='html'>I have started preparing for my OCP in Oracle Financials.  I have been working on Oracle Data Warehousing / ETL projects for quite a while now, and wants to get into Banking sector.  So I have decided to get certified on Oracle Financials, with the hope that I can land into Banking sector which I have been dreaming for a while.   So far I have been working on Oracle ( 8i to 10gR2), PLSQL Programming, Oracle Warehouse Builder ( 10gR1/R2), Discoverer and did a bit of BO Reporting / Universe creation as well.  Of the late I have been thinking that I have reached a point in my career where I need to do something different / new, and hence this quest for getting into Financials side.  Hopefully, fingers crossed, my preparation for this certification will open a gate to achieve my dream.&lt;br /&gt;&lt;br /&gt;Here in this blog I am going to list down how I have been preparing for the exam 1z0-200 and what I have been learning.  I have been going through the Oracle Documentation, which is available at oracle site - &lt;a style="color: rgb(102, 0, 0);" href="http://download-uk.oracle.com/docs/cd/B15436_01/current/html/docset.html"&gt;OracleAppsDocs&lt;/a&gt;, and the topics listed for this exam, which can be found at - &lt;a href="http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&amp;p_org_id=28&amp;amp;lang=US&amp;p_exam_id=1Z0_200"&gt;1Z0-200&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(153, 51, 0);"&gt;Oracle Applications Business Architecture&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;-&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(153, 51, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Oracle offers applications to automate business processes&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;-  Technical Architecture of Oracle Applications should be based upon the individual business needs, not the other way round.&lt;br /&gt;&lt;br /&gt;- The basic principles on which the Oracle Applications ( E-business Suite) is built are -&lt;br /&gt;&lt;br /&gt;      &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Modern Foundation&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;        The E-Business Suite is built on Open &amp; Scalable Architecture&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;                                                                                                          It makes use of Technologies like Java/J2EE,                                                                                        HTML, JavaScript, Internet-accessibility and                                                                                         Centralised Management.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;       &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Complete E-Business System &lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; Provides a complete enterprise-wide solution for manufacturing processes, Supply Chain Mgmt, Financial and Project Mgmt HRMS, Marketing and Sales Mgmt.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;       &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;End-to-End Integraiton&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;    Integration is built-in to the product, no need of any customisations or any additional system integration.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;            &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Globalization&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt; &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;Can be accessed through global networks.&lt;/li&gt;&lt;li&gt;supports many languages and currencies.&lt;/li&gt;&lt;li&gt;has built-in accounting and business localization.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;          &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Rapid Implementation&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;Reduced implementation time through the use of Rapid Implementation Tool , Patch Application Tool which are part of the E-Business suite.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold; color: rgb(153, 51, 0);"&gt;Technical Architecture&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Oracle E-Business suite supports 4 Architectural modes to support 4 common types of Users.  They are Forms based, Self Service, Business Intelligence and Mobile Users.&lt;/li&gt;&lt;li&gt;The Architectural modes are accessed and controlled through Portals, thus minimising the admin tasks and operations costs&lt;/li&gt;&lt;li&gt;Technical Architecture comprises of&lt;br /&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Desktop Tier                  -        Displays data&lt;/li&gt;&lt;li&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Applications Tier           -&lt;br /&gt;&lt;/li&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Processes and stores business logic and provides all      non-database specific operations required by an Oracle 11i instance.&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt; Provides services such as Web Listeners&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Database Tier&lt;br /&gt;&lt;/li&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Manages data associated with Oracle 11i instance, uses Clustering technology&lt;/li&gt;&lt;li&gt;All PLSQL / SQL Queries are executed in Database Tier.&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;The Network is a critical component of Oracle Apps architecture.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(153, 51, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-3547196903474745441?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/3547196903474745441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/architecture.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/3547196903474745441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/3547196903474745441'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/architecture.html' title='Architecture'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-7406094944769078882</id><published>2007-05-21T13:02:00.000Z</published><updated>2007-05-21T13:15:26.594Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OMB+ Scripts'/><title type='text'>Deployment Script</title><content type='html'>&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;OMB+ Script to Deploy Mappings&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;This script is tested for 10gR1 Release.&lt;br /&gt;=====================================================================&lt;br /&gt;&lt;br /&gt;puts " *******************     WARNING    ********************"&lt;br /&gt;puts ""&lt;br /&gt;puts ""&lt;br /&gt;puts " The  proc   owb_deploy_map   is Created"&lt;br /&gt;puts " To execute the proc  call the above proc name at OMB+ command prompt "&lt;br /&gt;puts ""&lt;br /&gt;puts " ================================================="&lt;br /&gt;puts "Requires the following parameters"&lt;br /&gt;puts "     Design Repos User"&lt;br /&gt;puts "     Design Repos Password"&lt;br /&gt;puts "     Host Name"&lt;br /&gt;puts"      Service Name"&lt;br /&gt;puts "    Port"&lt;br /&gt;puts "    Runtime Connection Name "&lt;br /&gt;puts "    Runtime User  Password"&lt;br /&gt;puts " ================================================"&lt;br /&gt;&lt;br /&gt;puts "**************************************************************"&lt;br /&gt;#&lt;br /&gt;proc owb_deploy_map { desuser despwd host port srvc rtcon rtpwd } {&lt;br /&gt;set fname [ open "c:/temp/deploy_maps.log" w]&lt;br /&gt;puts $fname "----------------------------------------------------------"&lt;br /&gt;puts $fname "Connecting to the Design Repository "&lt;br /&gt;puts $fname "----------------------------------------------------------"&lt;br /&gt;OMBCONNECT $desuser/$despwd@$host:$port:$srvc&lt;br /&gt;set projList [ OMBLIST PROJECTS ]&lt;br /&gt;#&lt;br /&gt;foreach projName $projList {&lt;br /&gt;    OMBCC '$projName'&lt;br /&gt;    set projcon [OMBDCC]&lt;br /&gt;    puts $fname "current project context is                       $projcon"&lt;br /&gt;    puts $fname "CONNECTING TO RUNTIME REPOSITORY"&lt;br /&gt;    puts $fname "----------------------------------------------------------"&lt;br /&gt;    OMBCONNECT RUNTIME '$rtcon' USE PASSWORD '$rtpwd'&lt;br /&gt;    set ModList [OMBLIST ORACLE_MODULES ]&lt;br /&gt;    set i 1&lt;br /&gt;    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DWH_DEPLOY_MAP'&lt;br /&gt;#&lt;br /&gt;    foreach ModName $ModList {&lt;br /&gt;        puts $fname "     Working on :                     $ModName"&lt;br /&gt;        OMBCC '$ModName'&lt;br /&gt;        set curcon [OMBDCC]&lt;br /&gt;            set mapList [OMBLIST MAPPINGS]&lt;br /&gt;        set j 1&lt;br /&gt;#&lt;br /&gt;        foreach mapName $mapList {&lt;br /&gt;              puts $fname "       Creating Delpoyment Action Plans for     :$mapName"&lt;br /&gt;&lt;br /&gt;             OMBALTER DEPLOYMENT_ACTION_PLAN 'DWH_DEPLOY_MAP'  ADD ACTION '$mapName.DROP' SET PROPERTIES(OPERATION) VALUES ('DROP') SET REFERENCE MAPPING '$mapName'&lt;br /&gt;&lt;br /&gt;                 OMBALTER DEPLOYMENT_ACTION_PLAN 'DWH_DEPLOY_MAP'  ADD ACTION '$mapName.CREATE' SET PROPERTIES(OPERATION) VALUES ('CREATE') SET REFERENCE  MAPPING '$mapName'&lt;br /&gt;   &lt;br /&gt;            incr j&lt;br /&gt;        }   &lt;br /&gt;&lt;br /&gt;        puts $fname "                Executing the Deployment Action for     MAPPINGS"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'DWH_DEPLOY_MAP'&lt;br /&gt;&lt;br /&gt;        OMBCOMMIT&lt;br /&gt;       &lt;br /&gt;        OMBCC '..'&lt;br /&gt;        set curcon [OMBDCC]&lt;br /&gt;        puts $fname "context at the end is --- $curcon"&lt;br /&gt;     incr i&lt;br /&gt;&lt;br /&gt;     }&lt;br /&gt;    OMBCOMMIT&lt;br /&gt;    OMBCC '/'&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;#&lt;br /&gt;# DROP THE DEPLOYMENT ACTIONS PLANS&lt;br /&gt;#&lt;br /&gt;OMBCC '$projval'&lt;br /&gt;set depList [OMBLIST DEPLOYMENT_ACTION_PLANS]&lt;br /&gt;set n 1&lt;br /&gt;&lt;br /&gt;puts $fname "Dropping the Deployment Action Plans"&lt;br /&gt;&lt;br /&gt;foreach specName $depList {&lt;br /&gt;&lt;br /&gt;    puts $fname "Dropped                $specName"&lt;br /&gt;    OMBDROP DEPLOYMENT_ACTION_PLAN '$specName'&lt;br /&gt;    incr n&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;OMBCOMMIT&lt;br /&gt;OMBDISC&lt;br /&gt;#&lt;br /&gt;#**********************************************************************************************&lt;br /&gt;# END OF PROC owb_deploy_map&lt;br /&gt;#**********************************************************************************************&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-7406094944769078882?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/7406094944769078882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/deployment-script.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/7406094944769078882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/7406094944769078882'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/deployment-script.html' title='Deployment Script'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-1566517620045393837</id><published>2007-05-21T10:20:00.000Z</published><updated>2010-06-24T20:03:22.722Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='OWB10g/11gR2'/><title type='text'>Family OWB Mapping</title><content type='html'>This post is in response to a question raised by a OWB Developer on OTN Forum, follow the link for full history - &lt;a href="http://forums.oracle.com/forums/thread.jspa?threadID=509336&amp;tstart=0"&gt;http://forums.oracle.com/forums/thread.jspa?threadID=509336&amp;amp;tstart=0&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The issue is -&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);font-size:85%;" &gt;                     Hi Mahesh,&lt;br /&gt;&lt;br /&gt;Hope you have a nice weekend :)&lt;br /&gt;&lt;br /&gt;That is what i don't know how to achive this through OWB mapping.&lt;br /&gt;&lt;br /&gt;I will repeat again. I have data in this format.&lt;br /&gt;&lt;br /&gt;ID | FamilyNum | RelationType&lt;br /&gt;-------------------------------------------&lt;br /&gt;100 1000 Head&lt;br /&gt;850 1000 Wife&lt;br /&gt;1100 1000 Son&lt;br /&gt;&lt;br /&gt;and i need records in connection table as below:&lt;br /&gt;&lt;br /&gt;ID | FamilyNum | RelationType&lt;br /&gt;-------------------------------------------&lt;br /&gt;100 850 Husband&lt;br /&gt;850 100 Wife&lt;br /&gt;&lt;br /&gt;100 110 Father&lt;br /&gt;1100 100 Son&lt;br /&gt;&lt;br /&gt;If you observe this is kind of opposite entry for each record.&lt;br /&gt;&lt;br /&gt;This is very simple in PL/SQL coding. I thought use Cursor Loop in OWB, but don't find in help. If this is not possible then i implement this in SP and call it from OWB. No other option.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Danish                  &lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;The Solution is -&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;OWB Map&lt;/span&gt;&lt;br /&gt;-----------------&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Arial;font-size:10;color:blue;"   &gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" alt="" style="'width:445.5pt;"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\MAHESH~1\LOCALS~1\Temp\msohtml1\01\clip_image001.jpg" href="http://docs.google.com/FilePage?id=dftx4bbt_4cvq6smdv"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=";font-family:Arial;font-size:10;color:blue;"   &gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" alt="" style="'width:445.5pt;"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\MAHESH~1\LOCALS~1\Temp\msohtml1\01\clip_image001.jpg" href="http://docs.google.com/FilePage?id=dftx4bbt_4cvq6smdv"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Af4Ksy1dxjY/RlF-RWfo5lI/AAAAAAAAAAY/fDyMFJ6_wJ8/s1600-h/family.JPG"&gt;&lt;img style="cursor: pointer; width: 349px; height: 167px;" src="http://1.bp.blogspot.com/_Af4Ksy1dxjY/RlF-RWfo5lI/AAAAAAAAAAY/fDyMFJ6_wJ8/s320/family.JPG" alt="" id="BLOGGER_PHOTO_ID_5066969892329678418" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;1. sources&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;HEAD            FAMILY Table for Head of the Family&lt;br /&gt;REST                FAMILY Tale for rest of the family&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;2. The Join Condition is&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;HEAD.RELATION_TYPE IS NULL&lt;br /&gt;AND HEAD.FAMILY_KEY = REST.FAMILY_KEY&lt;br /&gt;AND REST.RELATION_TYPE IS NOT NULL&lt;br /&gt;&lt;br /&gt;3.  From the Output of Join  To SET Operator (UNION ALL)&lt;br /&gt;&lt;br /&gt;4.       SET Operator has 2 Ingroups REST &amp; REST_HEAD&lt;br /&gt;The Ingroup REST takes input straight from OUTGRP of JOIN operator&lt;br /&gt;The Ingroup REST_HEAD takes input from the  OUTGRP of     EXPRESSION.&lt;br /&gt;&lt;br /&gt;5.  The Expression ( this is to generate  relation record for each family member ie Husband / Father ) has 3             input attributes&lt;br /&gt;&lt;br /&gt;REST.RELATION_TYPE&lt;br /&gt;       REST.MEMBER_ID&lt;br /&gt;     HEAD.MEMBER_ID&lt;br /&gt;&lt;br /&gt;From OUTGRP of JOIN.&lt;br /&gt;&lt;br /&gt;6.      The Output attributes and the business rules of Expression&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;        FAMILY_NUM  &lt;/span&gt;&lt;br /&gt;(For this I am assuming that you are taking first 3 digits of the family member_id to get the Family Num                 of  Father / Husband )&lt;br /&gt;&lt;br /&gt;           TransformationRule   -  TO_NUMBER(SUBSTR(TO_CHAR(INGRP1.R_MEMBER_ID,1,3 )))&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;        MEMBER_ID&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;               TransformationRule - INGRP1.H_MEMBER_ID&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;  RELATION_TYPE&lt;br /&gt;&lt;br /&gt;                  &lt;span style="color: rgb(51, 51, 51);"&gt;Transformation Rule -&lt;br /&gt;                       CASE        INGRP1.R_RELATION_TYPE&lt;br /&gt;                       WHEN        'Wife'            THEN             'Husband'&lt;br /&gt;                       WHEN        'Son'                THEN            'Father'&lt;br /&gt;                       WHEN        'Daughter'        THEN         'Father'&lt;br /&gt;                       WHEN        'Husband'    THEN            'Wife'&lt;br /&gt;                      ELSE            'Unknown'&lt;br /&gt;                       END&lt;br /&gt;&lt;br /&gt;7.  Map straight from the SET operator to Target Table.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(204, 0, 0);"&gt;Test Case&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-----------------------&lt;br /&gt;-- Source Table&lt;br /&gt;-----------------------&lt;br /&gt;&lt;br /&gt;desc family&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;MEMBER_ID                         NUMBER&lt;br /&gt;FAMILY_KEY                     NUMBER&lt;br /&gt;RELATION_TYPE             VARCHAR2(30)&lt;br /&gt;&lt;br /&gt;SELECT * FROM FAMILY ORDER BY FAMILY_KEY&lt;br /&gt;&lt;br /&gt;100             1000             (null)&lt;br /&gt;850            1000             Wife&lt;br /&gt;1100          1000             Son&lt;br /&gt;&lt;br /&gt;1500         2000             Son&lt;br /&gt;500           2000             (null)&lt;br /&gt;9000        2000             Husband&lt;br /&gt;200             2000           Daughter&lt;br /&gt;&lt;br /&gt;Two Set of records ( Family Key 1000, 2000) .  One Family has 3 records and the other has 4 records including Head of Family.&lt;br /&gt;&lt;br /&gt;----------------------------------------&lt;br /&gt;--Before Running the OWB Map&lt;br /&gt;-----------------------------------------&lt;br /&gt;&lt;br /&gt;--Target Table structure&lt;br /&gt;&lt;br /&gt;DESC TGT_FAM&lt;br /&gt;FAMILY_NUM                 NUMBER&lt;br /&gt;MEMBER_ID                     NUMBER&lt;br /&gt;RELATION_TYPE         VARCHAR2(30)&lt;br /&gt;FAMILY_KEY                     NUMBER&lt;br /&gt;&lt;br /&gt;4 rows selected&lt;br /&gt;&lt;br /&gt;SELECT * FROM TGT_FAM&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FAMILY_NUM MEMBER_ID RELATION_TYPE FAMILY_KEY&lt;br /&gt;---------------------- ---------------------- ------------------------------ ----------------------&lt;br /&gt;&lt;br /&gt;0 rows selected&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------&lt;br /&gt;--Run the OWB Map&lt;br /&gt;-- Check the results&lt;br /&gt;-----------------------------&lt;br /&gt;&lt;br /&gt;SELECT * FROM TGT_FAM ORDER BY FAMILY_KEY&lt;br /&gt;&lt;br /&gt;FAMILY_NUM                     MEMBER_ID                 RELATION_TYPE                             FAMILY_KEY&lt;br /&gt;----------------------             ----------------------     ------------------------------             ----------------------&lt;br /&gt;100                                                 1100                        Son                                                                 1000&lt;br /&gt;100                                                  850                        Wife                                                                 1000&lt;br /&gt;850                                                 100                         Husband                                                         1000&lt;br /&gt;110                                                 100                         Father                                                               1000&lt;br /&gt;&lt;br /&gt;150                                                 500                        Father                                                                 2000&lt;br /&gt;200                                                 500                         Father                                                             2000&lt;br /&gt;900                                                 500                         Wife                                                                 2000&lt;br /&gt;500                                                 1500                     Son                                                                 2000&lt;br /&gt;500                                                 200                         Daughter                                                     2000&lt;br /&gt;500                                                 9000                     Husband                                                         2000&lt;br /&gt;&lt;br /&gt;10 rows selected&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-1566517620045393837?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/1566517620045393837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/family-owb-mapping.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/1566517620045393837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/1566517620045393837'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/family-owb-mapping.html' title='Family OWB Mapping'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Af4Ksy1dxjY/RlF-RWfo5lI/AAAAAAAAAAY/fDyMFJ6_wJ8/s72-c/family.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-8780967777681814994</id><published>2007-05-19T15:26:00.000Z</published><updated>2007-05-19T15:49:00.038Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Unix</title><content type='html'>&lt;p&gt;&lt;br /&gt;Unix (officially trademarked as UNIX®) is a computer operating system originally developed in the 1960s and 1970s by a group of AT&amp;T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy. Today's Unix systems are split into various branches, developed over time by AT&amp;amp;T as well as various commercial vendors and non-profit organizations.&lt;br /&gt;&lt;br /&gt;The present owner of the trademark UNIX® is The Open Group, an industry standards consortium. Only systems fully compliant with and certified to the Single UNIX Specification qualify as "UNIX®" (others are called "Unix system-like" or "Unix-like").&lt;br /&gt;&lt;br /&gt;During the late 1970s and early 1980s, Unix's influence in academic circles led to large-scale adoption of Unix (particularly of the BSD variant, originating from the University of California, Berkeley) by commercial startups, the most notable of which is Sun Microsystems. Today, in addition to certified Unix systems, Unix-like operating systems such as Linux, Mac OS X and BSD derivatives are commonly encountered.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;font style="color: rgb(0, 153, 0);" size="3"&gt;&lt;font style="font-weight: bold;"&gt;Overview&lt;/font&gt;&lt;/font&gt;&lt;br /&gt;&lt;hr&gt;&lt;br /&gt;&lt;br /&gt;Unix operating systems are widely used in both servers and workstations. The Unix environment and the client-server program model were essential elements in the development of the Internet and the reshaping of computing as centered in networks rather than in individual computers.&lt;br /&gt;&lt;br /&gt;Both Unix and the C programming language were developed by AT&amp;T and distributed to government and academic institutions, causing both to be ported to a wider variety of machine families than any other operating system. As a result, Unix became synonymous with "open systems".&lt;br /&gt;&lt;br /&gt;Unix was designed to be portable, multi-tasking and multi-user in a time-sharing configuration. Unix systems are characterized by various concepts: the use of plain text for storing data; a hierarchical file system; treating devices and certain types of inter-process communication (IPC) as files; and the use of a large number of small programs that can be strung together through a command line interpreter using pipes, as opposed to using a single monolithic program that includes all of the same functionality. These concepts are known as the Unix philosophy.&lt;br /&gt;&lt;br /&gt;Under Unix, the "operating system" consists of many of these utilities along with the master control program, the kernel. The kernel provides services to start and stop programs, handle the file system and other common "low level" tasks that most programs share, and, perhaps most importantly, schedules access to hardware to avoid conflicts if two programs try to access the same resource or device simultaneously. To mediate such access, the kernel was given special rights on the system and led to the division between user-space and kernel-space.&lt;br /&gt;&lt;br /&gt;The microkernel tried to reverse the growing size of kernels and return to a system in which most tasks were completed by smaller utilities. In an era when a "normal" computer consisted of a hard disk for storage and a data terminal for input and output (I/O), the Unix file model worked quite well as most I/O was "linear". However, modern systems include networking and other new devices. Describing a graphical user interface driven by mouse control in an "event driven" fashion didn't work well under the old model. Work on systems supporting these new devices in the 1980s led to facilities for non-blocking I/O, forms of inter-process communications other than just pipes, as well as moving functionality such as network protocols out of the kernel.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;font style="color: rgb(51, 204, 0);" size="3"&gt;Components&lt;/font&gt;&lt;br /&gt;&lt;hr&gt;&lt;br /&gt;&lt;p&gt;The Unix system is composed of several components that are normally packaged together. By including — in addition to the &lt;a href="http://en.wikipedia.org/wiki/Kernel_%28computer_science%29" title="Kernel (computer science)"&gt;kernel&lt;/a&gt; of an operating system — the development environment, libraries, documents, and the portable, modifiable source-code for all of these components, Unix was a self-contained software system.&lt;br /&gt;&lt;/p&gt;The following are the main components , which forms a Unix System. &lt;ul&gt;&lt;li&gt;&lt;b&gt;Kernel&lt;/b&gt; — source code in /usr/sys, composed of several sub-components: &lt;ul&gt;&lt;li&gt;&lt;i&gt;conf&lt;/i&gt; — configuration and machine-dependent parts, including boot code&lt;/li&gt;&lt;li&gt;&lt;i&gt;dev&lt;/i&gt; — device drivers for control of hardware (and some pseudo-hardware)&lt;/li&gt;&lt;li&gt;&lt;i&gt;sys&lt;/i&gt; — operating system "kernel", handling memory management, process scheduling, system calls, etc.&lt;/li&gt;&lt;li&gt;&lt;i&gt;h&lt;/i&gt; — header files, defining key structures within the system and important system-specific invariables&lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;&lt;b&gt;Development Environment&lt;/b&gt; — Early versions of Unix contained a development environment sufficient to recreate the entire system from source code: &lt;ul&gt;&lt;li&gt;&lt;i&gt;cc&lt;/i&gt; — C language compiler&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;as&lt;/i&gt; — machine-language assembler for the machine&lt;/li&gt;&lt;li&gt;&lt;i&gt;ld&lt;/i&gt; — linker, for combining object files&lt;/li&gt;&lt;li&gt;&lt;i&gt;lib&lt;/i&gt; — object-code libraries (installed in /lib or /usr/lib) &lt;i&gt;libc&lt;/i&gt;, the system library with C run-time support, was the primary library, but there have always been additional libraries for such things as mathematical functions (&lt;i&gt;libm&lt;/i&gt;) or database access.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/Make" title="Make"&gt;make&lt;/a&gt;&lt;/i&gt; - build manager for effectively automating the build process&lt;/li&gt;&lt;li&gt;&lt;i&gt;include&lt;/i&gt; — header files for software development, defining standard interfaces and system invariants.&lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;&lt;b&gt;Commands&lt;/b&gt; — Unix makes little distinction between commands (user-level programs) for system operation and maintenance (e.g. &lt;i&gt;cron&lt;/i&gt;), commands of general utility (e.g. &lt;i&gt;grep&lt;/i&gt;), and more general-purpose applications such as the text formatting and typesetting package. Nonetheless, some major categories are: &lt;ul&gt;&lt;li&gt;&lt;i&gt;sh&lt;/i&gt; — The "shell" programmable command-line interpreter, the primary user interface on Unix before window systems appeared, and even afterward (within a "command window").&lt;/li&gt;&lt;li&gt;&lt;i&gt;Utilities&lt;/i&gt; — the core tool kit of the Unix command set, including &lt;i&gt;cp&lt;/i&gt;, &lt;i&gt;ls&lt;/i&gt;, &lt;i&gt;grep&lt;/i&gt;, &lt;i&gt;find&lt;/i&gt; and many others. Subcategories include: &lt;ul&gt;&lt;li&gt;&lt;i&gt;System utilities&lt;/i&gt; — administrative tools such as &lt;i&gt;mkfs&lt;/i&gt;, &lt;i&gt;fsck&lt;/i&gt;, and many others&lt;/li&gt;&lt;li&gt;&lt;i&gt;User utilities&lt;/i&gt; — environment management tools such as &lt;i&gt;passwd&lt;/i&gt;, &lt;i&gt;kill&lt;/i&gt;, and others.&lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;&lt;i&gt;Document formatting&lt;/i&gt; — Unix systems were used from the outset for document preparation and typesetting systems, and included many related programs such as &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/Nroff" title="Nroff"&gt;nroff&lt;/a&gt;&lt;/i&gt;, &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/Troff" title="Troff"&gt;troff&lt;/a&gt;&lt;/i&gt;, &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/Tbl" title="Tbl"&gt;tbl&lt;/a&gt;&lt;/i&gt;, &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/Eqn" title="Eqn"&gt;eqn&lt;/a&gt;&lt;/i&gt;, &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/Refer_%28software%29" title="Refer (software)"&gt;refer&lt;/a&gt;&lt;/i&gt;, and &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/Pic" title="Pic"&gt;pic&lt;/a&gt;&lt;/i&gt;. Some modern Unix systems also include packages such as &lt;a href="http://en.wikipedia.org/wiki/TeX" title="TeX"&gt;TeX&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/GhostScript" title="GhostScript"&gt;GhostScript&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;&lt;i&gt;Graphics&lt;/i&gt; — The &lt;i&gt;plot&lt;/i&gt; subsystem provided facilities for producing simple vector plots in a device-independent format, with device-specific interpreters to display such files. Modern Unix systems also generally include &lt;a href="http://en.wikipedia.org/wiki/X11" title="X11"&gt;X11&lt;/a&gt; as a standard windowing system and &lt;a href="http://en.wikipedia.org/wiki/GUI" title="GUI"&gt;GUI&lt;/a&gt;, and many support &lt;a href="http://en.wikipedia.org/wiki/OpenGL" title="OpenGL"&gt;OpenGL&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;&lt;i&gt;Communications&lt;/i&gt; — Early Unix systems contained no inter-system communication, but did include the inter-user communication programs &lt;i&gt;mail&lt;/i&gt; and &lt;i&gt;write&lt;/i&gt;. V7 introduced the early inter-system communication system &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/UUCP" title="UUCP"&gt;UUCP&lt;/a&gt;&lt;/i&gt;, and systems beginning with BSD release 4.1c included &lt;a href="http://en.wikipedia.org/wiki/TCP/IP" title="TCP/IP"&gt;TCP/IP&lt;/a&gt; utilities.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Documentation&lt;/b&gt; — Unix was the first operating system to include all of its documentation online in machine-readable form. The documentation included: &lt;ul&gt;&lt;li&gt;&lt;i&gt;man&lt;/i&gt; — manual pages for each command, library component, system call, header file, etc.&lt;/li&gt;&lt;li&gt;&lt;i&gt;doc&lt;/i&gt; — longer documents detailing major subsystems, such as the C language and &lt;i&gt;troff&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-8780967777681814994?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/8780967777681814994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/unix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/8780967777681814994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/8780967777681814994'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2007/05/unix.html' title='Unix'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093303480180025897.post-1702038634686099228</id><published>2006-11-15T12:54:00.000Z</published><updated>2006-11-15T14:51:17.298Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Basic Unix Commands</title><content type='html'>&lt;h2&gt;Basic Unix Commands&lt;/h2&gt;&lt;hr /&gt;&lt;/hr&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;&lt;h3&gt;Navigational Commands&lt;/h3&gt;&lt;/li&gt;&lt;br /&gt;&lt;font="arial" size="10"&gt;To nativage around in Unix environment, the following commands will be useful. &lt;/font&gt;&lt;table width="100%" align="top" border="1" font="arial narrow" size="10"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="left" width="20%"&gt;cd &lt;/td&gt;&lt;td width="15"&gt;&lt;/td&gt;&lt;td&gt;Change Directory &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="20%"&gt;&lt;b&gt;pwd &lt;/b&gt;&lt;/td&gt;&lt;td width="15"&gt;&lt;/td&gt;&lt;td&gt;Prints Current working directory to the screen &lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td width="20%"&gt;&lt;b&gt;cd $HOME &lt;/b&gt;&lt;/td&gt;&lt;td width="15"&gt;&lt;/td&gt;&lt;td&gt;Changes to your Home Directory &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="20%"&gt;cd &lt;i&gt;./mydir&lt;/i&gt;&lt;/td&gt;&lt;td width="15"&gt;&lt;/td&gt;&lt;td&gt;Changes to directory named "mydir" from current working directory &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="20%"&gt;&lt;b&gt;mkdir &lt;i&gt;mydir&lt;/i&gt;&lt;/b&gt;&lt;/td&gt;&lt;td width="15"&gt;&lt;/td&gt;&lt;td&gt;Creates a new sub directory called &lt;i&gt;mydir&lt;/i&gt; under the current directory&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td width="20%"&gt;ls &lt;/td&gt;&lt;td width="15"&gt;&lt;/td&gt;&lt;td&gt;Lists the contents of the files from the current directory&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h5&gt;&lt;/h5&gt;&lt;br /&gt;&lt;li&gt;&lt;h3&gt;File Related Commands&lt;/h3&gt;&lt;/li&gt;&lt;br /&gt;&lt;font="arial narrow" size="10"&gt;Commonly used File operation commands. &lt;/font&gt;&lt;table width="100%" align="top" border="1" font="arial size="&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="left" width="20%"&gt;&lt;b&gt;cat ?myfile? &lt;/b&gt;&lt;/td&gt;&lt;td width="15"&gt;&lt;/td&gt;&lt;td&gt;displays the contents of the file named "myfile" onto screen. This command will be used if one wants to see the contents of a given file but not for editing the file.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="20%"&gt;&lt;b&gt;more ?file name? &lt;/b&gt;&lt;/td&gt;&lt;td width="15"&gt;&lt;/td&gt;&lt;td&gt;Same as the command "cat", except that this command displays the contents on the screen pausing for each screen. Pressing the spacebar displays the next screen. Is useful to check large files.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td width="20%"&gt;&lt;b&gt;vi ?file name?&lt;/b&gt;&lt;/td&gt;&lt;td width="15"&gt;&lt;/td&gt;&lt;td&gt;Opens up "vi" editor and opens the named file for editing. If the named file does not exists then creates a one.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;&lt;b&gt;cd ./mydir&lt;/b&gt;&lt;/td&gt;&lt;td width="15"&gt;&lt;/td&gt;&lt;td&gt;Changes to directory named "mydir" from current working directory &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h5&gt;&lt;/h5&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093303480180025897-1702038634686099228?l=kirti-bi-solutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kirti-bi-solutions.blogspot.com/feeds/1702038634686099228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2006/11/basic-unix-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/1702038634686099228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093303480180025897/posts/default/1702038634686099228'/><link rel='alternate' type='text/html' href='http://kirti-bi-solutions.blogspot.com/2006/11/basic-unix-commands.html' title='Basic Unix Commands'/><author><name>Mahesh Kumar Koramutla</name><uri>http://www.blogger.com/profile/13963904800361368883</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_Af4Ksy1dxjY/S7OyAddbMOI/AAAAAAAAAVE/slJMTGvrIXg/S220/bday+117.JPG'/></author><thr:total>0</thr:total></entry></feed>
