<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ODI Experts</title>
	<atom:link href="http://odiexperts.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://odiexperts.com</link>
	<description>The blog for Oracle Data Integrator</description>
	<lastBuildDate>Wed, 20 Jan 2010 01:29:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MINUS IN ODI</title>
		<link>http://odiexperts.com/?p=1004</link>
		<comments>http://odiexperts.com/?p=1004#comments</comments>
		<pubDate>Wed, 20 Jan 2010 00:36:33 +0000</pubDate>
		<dc:creator>Kshitiz Devendra</dc:creator>
				<category><![CDATA[Common Errors]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Logic]]></category>
		<category><![CDATA[ODI]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[MINUS]]></category>

		<guid isPermaLink="false">http://odiexperts.com/?p=1004</guid>
		<description><![CDATA[This post is about how to do a simple Minus query in ODI without creating any view or other process .
 
Join the two source  and apply a LEFT OUTER JOIN  and in the join query box delete the condition and write the query in this form namely.
NOT EXISTS ( SELECT ‘X’ FROM  SCHEMA_NAME.SOURCE_1 ( TABLE [...]]]></description>
			<content:encoded><![CDATA[<p>This post is about how to do a simple Minus query in ODI without creating any view or other process .</p>
<p> <a href="http://odiexperts.com/wp-content/uploads/2010/01/image3.png"><img style="display: inline; border-width: 0px;" title="image" src="http://odiexperts.com/wp-content/uploads/2010/01/image_thumb3.png" border="0" alt="image" width="573" height="409" /></a></p>
<p>Join the two source  and apply a <strong>LEFT OUTER JOIN</strong>  and in the join query box delete the condition and write the query in this form namely.</p>
<p id="code">NOT EXISTS ( SELECT ‘X’ FROM  SCHEMA_NAME.SOURCE_1 ( TABLE TO BE MINUS WITH ) WHERE JOINING CONDITION.</p>
<p>So for my Example it is </p>
<p id="code">NOT EXISTS ( SELECT ‘X’ FROM ODI_TEMP.SOURCE_1 WHERE SOURCE_2.EMP_ID=SOURCE_1.EMP_ID)</p>
<p>Also enable Distinct Rows option as there a cross join occurs and thus getting the right record .</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2010/01/image4.png"><img style="display: inline; border-width: 0px;" title="image" src="http://odiexperts.com/wp-content/uploads/2010/01/image_thumb4.png" border="0" alt="image" width="404" height="344" /></a></p>
<p>comparing the Data between the minus query and odi interface result reveals that they are similar.</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2010/01/image5.png"><img style="display: inline; border-width: 0px;" title="image" src="http://odiexperts.com/wp-content/uploads/2010/01/image_thumb5.png" border="0" alt="image" width="258" height="238" /></a></p>
<p><a href="http://odiexperts.com/wp-content/uploads/2010/01/image6.png"><img style="display: inline; border-width: 0px;" title="image" src="http://odiexperts.com/wp-content/uploads/2010/01/image_thumb6.png" border="0" alt="image" width="554" height="142" /></a></p>
<p>Lets look at another example where the table columns are mismatched.</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2010/01/image7.png"><img style="display: inline; border-width: 0px;" title="image" src="http://odiexperts.com/wp-content/uploads/2010/01/image_thumb7.png" border="0" alt="image" width="504" height="421" /></a></p>
<p>Similarly LEFT OUTER JOIN  on the Source with to be compared and writing the condition and also enabling the distinct records option.</p>
<p id="code">NOT EXITS( SELECT ‘X’ FROM ODI_TEMP.DUP_CHANNELS ( TO BE MINUS WITH) WHERE CHANNELS.CHANNEL_ID=DUP_CHANNELS.CHANNEL_ID( JOINING CONDITION)</p>
<p> </p>
<p><a href="http://odiexperts.com/wp-content/uploads/2010/01/image8.png"><img style="display: inline; border-width: 0px;" title="image" src="http://odiexperts.com/wp-content/uploads/2010/01/image_thumb8.png" border="0" alt="image" width="555" height="301" /></a></p>
<p><a href="http://odiexperts.com/wp-content/uploads/2010/01/image9.png"><img style="display: inline; border-width: 0px;" title="image" src="http://odiexperts.com/wp-content/uploads/2010/01/image_thumb9.png" border="0" alt="image" width="244" height="143" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://odiexperts.com/?feed=rss2&amp;p=1004</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Variable Detail Query</title>
		<link>http://odiexperts.com/?p=985</link>
		<comments>http://odiexperts.com/?p=985#comments</comments>
		<pubDate>Wed, 20 Jan 2010 00:31:59 +0000</pubDate>
		<dc:creator>Kshitiz Devendra</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Logic]]></category>
		<category><![CDATA[ODI]]></category>
		<category><![CDATA[Reports]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://odiexperts.com/?p=985</guid>
		<description><![CDATA[This query provides all the detail of the Variables created under various project and their associated  default properties.

SELECT DISTINCT
CASE
WHEN SNP_VAR.I_PROJECT IS NULL
THEN 'GLOBAL_VARIABLE'
ELSE SNP_PROJECT.PROJECT_NAME
END                 AS PROJECT_NAME,
SNP_VAR.VAR_NAME    AS VARIABLE_NAME,
CASE
WHEN SNP_VAR.VAR_DATATYPE='A' THEN 'ALPHANUMERIC'
WHEN SNP_VAR.VAR_DATATYPE='N' THEN 'NUMERIC'
WHEN SNP_VAR.VAR_DATATYPE='D' THEN [...]]]></description>
			<content:encoded><![CDATA[<p>This query provides all the detail of the Variables created under various project and their associated  default properties.</p>
<pre class="brush:sql">
SELECT DISTINCT
CASE
WHEN SNP_VAR.I_PROJECT IS NULL
THEN 'GLOBAL_VARIABLE'
ELSE SNP_PROJECT.PROJECT_NAME
END                 AS PROJECT_NAME,
SNP_VAR.VAR_NAME    AS VARIABLE_NAME,
CASE
WHEN SNP_VAR.VAR_DATATYPE='A' THEN 'ALPHANUMERIC'
WHEN SNP_VAR.VAR_DATATYPE='N' THEN 'NUMERIC'
WHEN SNP_VAR.VAR_DATATYPE='D' THEN 'DATE'
ELSE 'TEXT' END     AS DATATYPE,
CASE WHEN SNP_VAR.VAR_DATATYPE='T' THEN V_TXT.TXT
ELSE SNP_VAR.DEF_v  END      AS DEFAULT_VALUE,
SNP_VAR.lschema_name AS VARIABLE_QUERY_SCHEMA,
SNP_TXT.TXT         AS VARIABLE_QUERY,
S_TXT.TXT           AS DESCRIPTION
FROM SNP_VAR
LEFT OUTER JOIN SNP_PROJECT ON SNP_VAR.I_PROJECT=SNP_PROJECT.I_PROJECT
LEFT OUTER JOIN SNP_TXT ON SNP_TXT.I_TXT=SNP_VAR.I_TXT_VAR_IN
LEFT OUTER JOIN SNP_TXT S_TXT ON S_TXT.I_TXT=SNP_VAR.I_TXT_VAR
LEFT OUTER JOIN SNP_TXT V_TXT ON V_TXT.I_TXT=SNP_VAR.i_txt_var_val_txt
ORDER BY project_name
</pre>
<p><a href="http://odiexperts.com/wp-content/uploads/2010/01/image1.png"><img style="display: inline; border: 0px;" title="image" src="http://odiexperts.com/wp-content/uploads/2010/01/image_thumb1.png" border="0" alt="image" width="504" height="81" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://odiexperts.com/?feed=rss2&amp;p=985</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interface Mapping Query</title>
		<link>http://odiexperts.com/?p=982</link>
		<comments>http://odiexperts.com/?p=982#comments</comments>
		<pubDate>Wed, 20 Jan 2010 00:29:11 +0000</pubDate>
		<dc:creator>Kshitiz Devendra</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Logic]]></category>
		<category><![CDATA[ODI]]></category>
		<category><![CDATA[Reports]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://odiexperts.com/?p=982</guid>
		<description><![CDATA[This query will show the interface  mapping  in the following order
PROJECT_NAME  , FOLDER_NAME  ,  INTERFACE_NAME  , INTERFACE_TYPE , TARGET_SCHEMA , TARGET_TABLE , TARGET_COLUMN , TARGET_DATATYPE , SOURCE_SCHEMA , SOURCE_TABLE , SOURCE_COLUMN , SOURCE_DATATYPE , MAPPING  filtered by Interface , Folder  or  Project Name. I have commented out other option of Interface &#38; Folder..

SELECT DISTINCT
SNP_PROJECT.PROJECT_NAME  [...]]]></description>
			<content:encoded><![CDATA[<p>This query will show the interface  mapping  in the following order</p>
<p>PROJECT_NAME  , FOLDER_NAME  ,  INTERFACE_NAME  , INTERFACE_TYPE , TARGET_SCHEMA , TARGET_TABLE , TARGET_COLUMN , TARGET_DATATYPE , SOURCE_SCHEMA , SOURCE_TABLE , SOURCE_COLUMN , SOURCE_DATATYPE , MAPPING  filtered by Interface , Folder  or  Project Name. I have commented out other option of Interface &amp; Folder..</p>
<pre class="brush: sql">
SELECT DISTINCT
SNP_PROJECT.PROJECT_NAME    AS PROJECT_NAME,
SNP_FOLDER.FOLDER_NAME      AS FOLDER_NAME,
SNP_POP.POP_NAME            AS INTERFACE_NAME,
CASE
WHEN SNP_POP.WSTAGE='E' THEN 'TABLE_TO_TABLE_INF'
ELSE 'TEMP_INTERFACE' END   AS INTERFACE_TYPE,
SNP_POP.LSCHEMA_NAME        AS TARGET_SCHEMA,
SNP_POP.TABLE_NAME          AS TARGET_TABLE,
SNP_POP_COL.COL_NAME        AS TARGET_COLUMN,
CASE
WHEN SNP_POP.WSTAGE='E' THEN T_COL.SOURCE_DT||' ('||T_COL.LONGC||')'
ELSE SNP_POP_COL.SOURCE_DT||' ('||SNP_POP_COL.LONGC||')'
END AS TRG_DATATYPE,
SNP_SOURCE_TAB.LSCHEMA_NAME AS SOURCE_SCHEMA,
SNP_TABLE.TABLE_NAME        AS SOURCE_TABLE,
SNP_COL.COL_NAME            AS SOURCE_COLUMN ,
SNP_COL.SOURCE_DT||' ('||SNP_COL.LONGC||')' AS SRC_DATATYPE,
rowtocol('SELECT DISTINCT TXT FROM SNP_TXT WHERE I_TXT='||i_txt ) AS COLUMN_MAPPING
-- to use without rowtocol use SNP_TXT.TXT AS COLUMN_MAPPING
FROM SNP_PROJECT
LEFT OUTER JOIN SNP_FOLDER ON SNP_FOLDER.I_PROJECT=SNP_PROJECT.I_PROJECT
LEFT OUTER JOIN SNP_POP ON SNP_POP.I_FOLDER=SNP_FOLDER.I_FOLDER
LEFT OUTER JOIN SNP_POP_COL ON SNP_POP_COL.I_POP=SNP_POP.I_POP
LEFT OUTER JOIN SNP_POP_CLAUSE ON SNP_POP_CLAUSE.I_POP=SNP_POP.I_POP
LEFT OUTER JOIN SNP_TXT S_TXT ON S_TXT.I_TXT=SNP_POP_CLAUSE.I_TXT_SQL
LEFT OUTER JOIN SNP_TXT ON SNP_TXT.I_TXT= SNP_POP_COL.I_TXT_MAP
LEFT OUTER JOIN SNP_SOURCE_TAB ON SNP_SOURCE_TAB.I_POP=SNP_POP.I_POP
LEFT OUTER JOIN SNP_TXT_CROSSR ON SNP_TXT_CROSSR.I_TXT=SNP_TXT.I_TXT
LEFT OUTER JOIN SNP_COL ON SNP_COL.I_COL=SNP_TXT_CROSSR.I_COL
LEFT OUTER JOIN SNP_TABLE ON SNP_TABLE.I_TABLE= SNP_COL.I_TABLE
LEFT OUTER JOIN SNP_COL T_COL ON T_COL.I_COL=SNP_POP_COL.I_COL
WHERE
-- SNP_POP.POP_NAME='&amp;TAB'
-- SNP_FOLDER.FOLDER_NAME ='&amp;TAB'
SNP_PROJECT.PROJECT_NAME='DEVELOPMENT'
ORDER BY SNP_POP.POP_NAME</pre>
<p>I have used the rowtocol function  for SNP_TXT.TXT  ,as when  mapping length  is more than  256 character ODI stores in separate line with different i_txt number causing  mapping to come into two or multiple rows . In order to avoid such scenario and in order to get all the Mapping field information into a single column , i have used this function rowtocol.</p>
<p>Source code for  rowtocol function is available here &#8211; &gt; <a href="http://www.oracle.com/technology/oramag/code/tips2004/050304.html">http://www.oracle.com/technology/oramag/code/tips2004/050304.html</a> </p>
<p><a href="http://odiexperts.com/wp-content/uploads/2010/01/image.png"><img style="display: inline; border: 0px;" title="image" src="http://odiexperts.com/wp-content/uploads/2010/01/image_thumb.png" border="0" alt="image" width="604" height="112" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://odiexperts.com/?feed=rss2&amp;p=982</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ODI Topology Connection Detail</title>
		<link>http://odiexperts.com/?p=988</link>
		<comments>http://odiexperts.com/?p=988#comments</comments>
		<pubDate>Sun, 17 Jan 2010 00:33:34 +0000</pubDate>
		<dc:creator>Kshitiz Devendra</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Logic]]></category>
		<category><![CDATA[ODI]]></category>
		<category><![CDATA[Reports]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://odiexperts.com/?p=988</guid>
		<description><![CDATA[This query provide  all the necessary connection detail   in  ODI Topology.

SELECT DISTINCT
SNP_TECHNO.TECHNO_NAME    AS TECHNOLOGY,
SNP_CONNECT.CON_NAME      AS DATA_SERVER,
SNP_PSCHEMA.EXT_NAME      AS PHYSICAL_SCHEMA,
SNP_PSCHEMA.SCHEMA_NAME   AS SCHEMA_NAME,
SNP_PSCHEMA.WSCHEMA_NAME  AS WORK_SCHEMA,
SNP_CONTEXT.CONTEXT_NAME  AS CONTEXT_NAME,
SNP_LSCHEMA.LSCHEMA_NAME  AS LOGICAL_SCHEMA,
SNP_CONNECT.JAVA_DRIVER   AS DRIVER_INFO,
SNP_MTXT_PART.TXT        [...]]]></description>
			<content:encoded><![CDATA[<p>This query provide  all the necessary connection detail   in  ODI Topology.</p>
<pre class="brush:sql">
SELECT DISTINCT
SNP_TECHNO.TECHNO_NAME    AS TECHNOLOGY,
SNP_CONNECT.CON_NAME      AS DATA_SERVER,
SNP_PSCHEMA.EXT_NAME      AS PHYSICAL_SCHEMA,
SNP_PSCHEMA.SCHEMA_NAME   AS SCHEMA_NAME,
SNP_PSCHEMA.WSCHEMA_NAME  AS WORK_SCHEMA,
SNP_CONTEXT.CONTEXT_NAME  AS CONTEXT_NAME,
SNP_LSCHEMA.LSCHEMA_NAME  AS LOGICAL_SCHEMA,
SNP_CONNECT.JAVA_DRIVER   AS DRIVER_INFO,
SNP_MTXT_PART.TXT         AS URL
FROM SNP_TECHNO
LEFT OUTER JOIN SNP_CONNECT ON SNP_CONNECT.I_TECHNO=SNP_TECHNO.I_TECHNO
LEFT OUTER JOIN SNP_PSCHEMA ON SNP_PSCHEMA.I_CONNECT=SNP_CONNECT.I_CONNECT
LEFT OUTER JOIN SNP_PSCHEMA_CONT ON SNP_PSCHEMA_CONT.I_PSCHEMA=SNP_PSCHEMA.I_PSCHEMA
LEFT OUTER JOIN SNP_LSCHEMA ON SNP_LSCHEMA.I_LSCHEMA=SNP_PSCHEMA_CONT.I_LSCHEMA
LEFT OUTER JOIN SNP_CONTEXT ON SNP_CONTEXT.I_CONTEXT=SNP_PSCHEMA_CONT.I_CONTEXT
LEFT OUTER JOIN SNP_MTXT_PART ON SNP_MTXT_PART.I_TXT=SNP_CONNECT.I_TXT_JAVA_URL
WHERE SNP_CONNECT.CON_NAME IS NOT NULL
ORDER BY SNP_TECHNO.TECHNO_NAME
</pre>
<p><a href="http://odiexperts.com/wp-content/uploads/2010/01/image2.png"><img style="display: inline; border: 0px;" title="image" src="http://odiexperts.com/wp-content/uploads/2010/01/image_thumb2.png" border="0" alt="image" width="504" height="106" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://odiexperts.com/?feed=rss2&amp;p=988</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Versioning</title>
		<link>http://odiexperts.com/?p=966</link>
		<comments>http://odiexperts.com/?p=966#comments</comments>
		<pubDate>Thu, 07 Jan 2010 16:35:27 +0000</pubDate>
		<dc:creator>Kshitiz Devendra</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[ODI]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://odiexperts.com/?p=966</guid>
		<description><![CDATA[Versioning is a smart method of implementing a certain condition or multiple condition , objects for a particular interface , package or scenarios without required to have multiple such objects.
Creating Version
 

To create a version , right click on the object to be versioned and click ok Version-&#62; Create and a popup will be appear as [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">Versioning is a smart method of implementing a certain condition or multiple condition , objects for a particular interface , package or scenarios without required to have multiple such objects.</p>
<h3><span style="text-decoration: underline;">Creating Version</span></h3>
<p align="justify"> </p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image001.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image001" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image001_thumb.png" border="0" alt="clip_image001" width="423" height="299" /></a></p>
<p align="justify">To create a version , right click on the object to be versioned and click ok Version-&gt; Create and a popup will be appear as shown below and automatically version number appears , you can also change the version number if required and also provide the description as in the long term and in future understanding would help us to understand the purpose of the version .</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image002.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image002_thumb.png" border="0" alt="clip_image002" width="374" height="215" /></a></p>
<h3><span style="text-decoration: underline;">Restoring Version</span></h3>
<p align="justify"> </p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image003.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image003" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image003_thumb.png" border="0" alt="clip_image003" width="423" height="304" /></a></p>
<p align="justify">To restore any object version , just right click and select Version -&gt; Restore .. , and select the version to be restored.</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image004.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image004" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image004_thumb.png" border="0" alt="clip_image004" width="415" height="127" /></a></p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image005.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image005" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image005_thumb.png" border="0" alt="clip_image005" width="418" height="123" /></a></p>
<p align="justify">Don&#8217;t worry about the warning , click ok .</p>
<h3><span style="text-decoration: underline;">Interface Versioning</span></h3>
<p align="justify"> </p>
<p align="justify">VERSION &#8211; 1.0.0.0</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image006.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image006" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image006_thumb.png" border="0" alt="clip_image006" width="426" height="102" /></a></p>
<p align="justify">VERSION &#8211; 1.0.0.1</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image007.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image007" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image007_thumb.png" border="0" alt="clip_image007" width="426" height="115" /></a></p>
<h3><span style="text-decoration: underline;">Package Versioning </span></h3>
<p align="justify"> </p>
<p align="justify">VERSION &#8211; 1.0.0.0</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image008.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image008" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image008_thumb.png" border="0" alt="clip_image008" width="274" height="94" /></a></p>
<p align="justify">VERSION &#8211; 1.0.0.1</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image009.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image009" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image009_thumb.png" border="0" alt="clip_image009" width="277" height="80" /></a></p>
<p align="justify">Scenario Versioning</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image010.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image010" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image010_thumb.png" border="0" alt="clip_image010" width="394" height="106" /></a></p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image011.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image011" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image011_thumb.png" border="0" alt="clip_image011" width="237" height="103" /></a></p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image012.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image012" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image012_thumb.png" border="0" alt="clip_image012" width="387" height="73" /></a></p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image013.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image013" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image013_thumb.png" border="0" alt="clip_image013" width="244" height="79" /></a></p>
<p align="justify">Regenerate scenario</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image014.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image014" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image014_thumb.png" border="0" alt="clip_image014" width="384" height="90" /></a></p>
<h3><span style="text-decoration: underline;">Comparing Versions</span></h3>
<p align="justify"> </p>
<p align="justify">To compare any two version of the objects , just right click and select version -&gt; Compare with versions..</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image015.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image015" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image015_thumb.png" border="0" alt="clip_image015" width="432" height="295" /></a></p>
<p align="justify">Here I am comparing 1.0.0.1 with 1.0.0.0</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image016.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image016" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image016_thumb.png" border="0" alt="clip_image016" width="439" height="106" /></a></p>
<p align="justify">As you can see that in version 1.0.0.0 all the columns where mapped where&#8217;s in the COLUMN- C3 was not mapped .</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image017.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image017" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image017_thumb.png" border="0" alt="clip_image017" width="448" height="220" /></a></p>
<p align="justify">Here in this Example I am comparing the Packages created above .</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image018.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image018" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image018_thumb.png" border="0" alt="clip_image018" width="456" height="168" /></a></p>
<p align="justify">And as you can see that VAR_JOIN1 is added in the var_join1 and it even shows the different in descriptions , for example</p>
<p align="justify">Description in Version 1.0.0.0</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image019.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image019" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image019_thumb.png" border="0" alt="clip_image019" width="461" height="189" /></a></p>
<p align="justify">Version 1.0.0.1 Description with addition of VAR_JOIN1 being added to it .</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image020.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image020" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image020_thumb.png" border="0" alt="clip_image020" width="464" height="207" /></a></p>
<p align="justify">Comparing Scenarios</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image021.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image021" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image021_thumb.png" border="0" alt="clip_image021" width="469" height="138" /></a></p>
<h3><span style="text-decoration: underline;">Report Generation</span></h3>
<p align="justify"> </p>
<p align="justify">You can create a report by click on the print button found on the top of the compare version</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image022.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image022" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image022_thumb.png" border="0" alt="clip_image022" width="465" height="79" /></a></p>
<p align="justify">And select the path and location of the PDF Folder.</p>
<p align="justify"><a href="http://odiexperts.com/wp-content/uploads/2010/01/clip_image023.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image023" src="http://odiexperts.com/wp-content/uploads/2010/01/clip_image023_thumb.png" border="0" alt="clip_image023" width="400" height="209" /></a></p>
<p align="justify">The biggest drawback I see is that I can compare between two version only , not multiple. Hope Oracle implements multiple comparison in future versions.</p>
<p align="justify">All the versioning information is stored in SNP_VERSION table of Master Repository and are connected to Work Respository objects linked to External_version and Object_name.</p>
<p align="justify"> </p>
]]></content:encoded>
			<wfw:commentRss>http://odiexperts.com/?feed=rss2&amp;p=966</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get File Length and Header in Operator</title>
		<link>http://odiexperts.com/?p=918</link>
		<comments>http://odiexperts.com/?p=918#comments</comments>
		<pubDate>Tue, 22 Dec 2009 15:55:14 +0000</pubDate>
		<dc:creator>Kshitiz Devendra</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Logic]]></category>
		<category><![CDATA[ODI]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://odiexperts.com/?p=918</guid>
		<description><![CDATA[We get so many source files and some time we have different files coming of different length  and we would need to do  a row count every time to see whether we have got the correct number of records in the target .
To solve this issue, I have written a small program that [...]]]></description>
			<content:encoded><![CDATA[<p>We get so many source files and some time we have different files coming of different length  and we would need to do  a row count every time to see whether we have got the correct number of records in the target .</p>
<p>To solve this issue, I have written a small program that shows the File Length and Header or First Line of the file in the operator . Why First line so that I know whether the first line is an Header row or not .</p>
<p><strong><span style="color: #ff0000;"><span style="text-decoration: underline;">JYTHON PROCEDURE CODE</span></span></strong></p>
<p id="code"># AUTHOR     &#8211;      KSHITIZ DEVENDRA<br />
# LANG        &#8211;    JYTHON<br />
# DESCRIPTION<br />
# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
# THIS PROGRAM IS USED TO  GET THE NUMBER OF RECORDS IN FILE  AND<br />
# ALSO DISPLAYS THE HEADER OF THE FILE<br />
# THE CORRECT NO OF RECORDS ARE CALCULATED BY SUBTRACTING TOTAL LENGTH &#8211; HEADER<br />
# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
filesrc = open(&#8216;&lt;&#8212; SPECIFY FILE PATH AND NAME HERE &#8212;-&gt; &#8216;,&#8217;r')<br />
first=filesrc.readline()<br />
lines = 0<br />
while first:<br />
        #get the no of lines in the file<br />
        lines += 1<br />
        first=filesrc.readline()<br />
#print lines<br />
## THE ABOVE PART OF THE PROGRAM IS TO COUNT THE NUMBER OF LINES<br />
## AND STORE IT INTO THE VARIABLE &#8216; LINES &#8216;<br />
def intWithCommas(x):<br />
    if type(x) not in [type(0), type(0L)]:<br />
        raise TypeError(&#8220;Parameter must be an integer.&#8221;)<br />
    if x &lt; 0:<br />
        return &#8216;-&#8217; + intWithCommas(-x)<br />
    result = &#8221;<br />
    while x &gt;= 1000:<br />
        x, r = divmod(x, 1000)<br />
        result = &#8220;,%03d%s&#8221; % (r, result)<br />
    return &#8220;%d%s&#8221; % (x, result)<br />
## THE ABOVE PROGRAM IS TO DISPLAY THE NUMBERS<br />
##  1234567890 AS  1,234,567,890<br />
s1=str(intWithCommas(lines))<br />
s2=&#8217; \n\n and the First Line of the File is &#8212;&gt;&gt; \n\n &#8216;<br />
filesrc.seek(0)<br />
s3=str(filesrc.readline())<br />
final=s1 + s2 + s3<br />
raise &#8216; \n\n The Number of Lines in the File  are &#8212;&gt;&gt; &#8216; , final<br />
## SINCE IN OPERATOR I CAN THROW ONLY SINGLE RAISE COMMAND I CONCATENATED ALL<br />
## THE REQUIRED MESSAGE AND DISPLAYED IN THE OPERATOR AS ONE RAISE COMMAND</p>
<p><strong><span style="color: #ff0000;"><span style="text-decoration: underline;">SAMPLE OUTPUT</span></span></strong></p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image17.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb17.png" border="0" alt="image" width="389" height="168" /></a></p>
<p>The total execution time for 1.4 million records was 22 so i am expecting it to be fast</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image18.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb18.png" border="0" alt="image" width="297" height="168" /></a></p>
<p>Please note i have attached the codes in two formats one for Procedure and another for LKM’s  as i have done small changes so that when used in  LKM it read the source file automatically , and also does the correct length calculation.</p>
<p><span style="color: #ff0000;"><span style="text-decoration: underline;"><strong>JYTHON CODE FOR LKM</strong></span></span></p>
<p id="code"># AUTHOR     &#8211;      KSHITIZ DEVENDRA<br />
# LANG        &#8211;    JYTHON<br />
# DESCRIPTION<br />
# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
# THIS PROGRAM IS USED TO  GET THE NUMBER OF RECORDS IN FILE  AND<br />
# ALSO DISPLAYS THE HEADER OF THE FILE<br />
# THE CORRECT NO OF RECORDS ARE CALCULATED BY SUBTRACTING TOTAL LENGTH &#8211; HEADER<br />
# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
filesrc = open(&#8216;&lt;%=odiRef.getSrcTablesList(&#8220;&#8221;, &#8220;[SCHEMA]/[RES_NAME]&#8220;, &#8220;&#8221;, &#8220;&#8221;)%&gt;&#8217;,'r&#8217;)<br />
first=filesrc.readline()<br />
lines = 0<br />
while first:<br />
        #get the no of lines in the file<br />
        lines += 1<br />
        first=filesrc.readline()<br />
#print lines<br />
## THE ABOVE PART OF THE PROGRAM IS TO COUNT THE NUMBER OF LINES<br />
## AND STORE IT INTO THE VARIABLE &#8216; LINES &#8216;<br />
def intWithCommas(x):<br />
    if type(x) not in [type(0), type(0L)]:<br />
        raise TypeError(&#8220;Parameter must be an integer.&#8221;)<br />
    if x &lt; 0:<br />
        return &#8216;-&#8217; + intWithCommas(-x)<br />
    result = &#8221;<br />
    while x &gt;= 1000:<br />
        x, r = divmod(x, 1000)<br />
        result = &#8220;,%03d%s&#8221; % (r, result)<br />
    return &#8220;%d%s&#8221; % (x, result)<br />
## THE ABOVE PROGRAM IS TO DISPLAY THE NUMBERS<br />
##  1234567890 AS  1,234,567,890<br />
s1=str(intWithCommas(lines-&lt;%=odiRef.getSrcTablesList(&#8220;&#8221;, &#8220;[FILE_FIRST_ROW]&#8220;, &#8220;, &#8220;, &#8220;&#8221;)%&gt;))<br />
s2=&#8217; \n\n and the First Line of the File is &#8212;&gt;&gt; \n\n &#8216;<br />
filesrc.seek(0)<br />
s3=str(filesrc.readline())<br />
final=s1 + s2 + s3<br />
raise &#8216; \n\n The Number of Lines in the File  &lt;%=odiRef.getSrcTablesList(&#8220;&#8221;, &#8220;[SCHEMA]/[RES_NAME]&#8220;, &#8220;&#8221;, &#8220;&#8221;)%&gt;   are &#8212;&gt;&gt; &#8216; , final<br />
## SINCE IN OPERATOR I CAN THROW ONLY SINGLE RAISE COMMAND I CONCATENATED ALL<br />
## THE REQUIRED MESSAGE AND DISPLAYED IN THE OPERATOR AS ONE RAISE COMMAND</p>
<p>Comparing the above Procedure , LKM codes have small changes to get the File and the correct Length calculated smartly.</p>
<p id="code">filesrc = open(&#8216;&lt;%=odiRef.getSrcTablesList(&#8220;&#8221;, &#8220;[SCHEMA]/[RES_NAME]&#8220;, &#8220;&#8221;, &#8220;&#8221;)%&gt;&#8217;,'r&#8217;)</p>
<p>This code will be the correct File name and would open it for reading .</p>
<p id="code">s1=str(intWithCommas(lines-&lt;%=odiRef.getSrcTablesList(&#8220;&#8221;, &#8220;[FILE_FIRST_ROW]&#8220;, &#8220;, &#8220;, &#8220;&#8221;)%&gt;))</p>
<p>This code will subtract the  Total lines  &#8211;  Heading(No of  Lines)  so that in operator it shows the correct value.</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image19.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb19.png" border="0" alt="image" width="244" height="95" /></a></p>
<p id="code">raise &#8216; \n\n The Number of Lines in the File  &lt;%=odiRef.getSrcTablesList(&#8220;&#8221;, &#8220;[SCHEMA]/[RES_NAME]&#8220;, &#8220;&#8221;, &#8220;&#8221;)%&gt;   are &#8212;&gt;&gt; &#8216; , final</p>
<p>This code will display the File path and Name in the operator Message box.</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image20.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb20.png" border="0" alt="image" width="358" height="149" /></a></p>
<p>As you can see  it displayed the File Path and Name with Total Number of Lines , Comparing to the above procedure where it displayed  1,453,389 , here smartly it read from the Data store definition and found out that the Heading (no of lines ) is one and while displaying showing the correct output.</p>
<p>Please find the codes below in XML format and import in INSERT_UPDATE mode and also enable &#8221; IGNORE ERRORS &#8221; option as Jython raise command  is used to throw warning message in the operator and I have used raise to display the output required.</p>
<p> To use in any LKM File to <technology > KM , just copy paste the code from -PROCEDURE FILE_LENGTH_HEADER TO BE USED IN LKM&#8217;s and enable the option -IGNORE ERRORS and move it to the first order so that as soon the load starts you would get the required details in the operator.</p>
<p><span style="color: #ff0000;"><span style="text-decoration: underline;"><strong>PROCEDURE FILE_LENGTH_HEADER</strong></span></span></p>
<p> <iframe title ="Preview" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" style="width:98px;height:115px;padding:0;background-color:#fcfcfc;" src="http://cid-d7195c8badc40d0b.skydrive.live.com/embedicon.aspx/odiexperts.com/TRT^_PROC^_FILE^_LENGTH^_HEADER.xml"></iframe></p>
<p><span style="color: #ff0000;"><span style="text-decoration: underline;"><strong>PROCEDURE FILE_LENGTH_HEADER TO BE USED IN LKM&#8217;s</strong></span></span><br />
<iframe title ="Preview" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" style="width:98px;height:115px;padding:0;background-color:#fcfcfc;" src="http://cid-d7195c8badc40d0b.skydrive.live.com/embedicon.aspx/odiexperts.com/TRT^_LKM^_FILE^_LENGTH^_HEADER.xml"></iframe></p>
<p><span style="color: #ff0000;"><strong></strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://odiexperts.com/?feed=rss2&amp;p=918</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Find the Value of the Variable in Operator ?</title>
		<link>http://odiexperts.com/?p=855</link>
		<comments>http://odiexperts.com/?p=855#comments</comments>
		<pubDate>Tue, 22 Dec 2009 15:47:46 +0000</pubDate>
		<dc:creator>Kshitiz Devendra</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Logic]]></category>
		<category><![CDATA[ODI]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[values]]></category>
		<category><![CDATA[variable]]></category>

		<guid isPermaLink="false">http://odiexperts.com/?p=855</guid>
		<description><![CDATA[In ODI&#160; value of the variable is calculated at the run time but not shown in the operator.
Please find this ODI procedure using Jython to show the value of the Variable.
Step 1
Create an ODI Procedure and Insert an option called&#160; “VAR” and give the default as
&#60;%=odiRef.getPrevStepLog(&#34;STEP_NAME&#34;)%&#62; , reason being so that by default when using [...]]]></description>
			<content:encoded><![CDATA[<p>In ODI&#160; value of the variable is calculated at the run time but not shown in the operator.</p>
<p>Please find this ODI procedure using <strong>Jython</strong> to show the value of the Variable.</p>
<p><u><em><font color="#ff0000">Step 1</font></em></u></p>
<p>Create an ODI Procedure and Insert an option called&#160; “<strong>VAR</strong>” and give the default as</p>
<p><strong>&lt;%=odiRef.getPrevStepLog(&quot;STEP_NAME&quot;)%&gt; , </strong>reason being so that by default when using this procedure after the variable, ODI&#160; automatically&#160; takes the name and throws the variable value in Operator .</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb.png" width="329" height="194" /></a></p>
<p>Create another Option called “<strong>PROJECT” </strong>and give the default value as your project code. The reason i have created an option for Project code is that so that you can modify in the option without any need for change in code also you can use for global variables too.</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image9.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb9.png" width="324" height="189" /></a> </p>
<p><font color="#ff0000"><u><em>Step 2</em></u> .</font></p>
<p>Add an option&#160; in the ODI procedure&#160; and give the technology  &#8211; <strong>Jython</strong>&#160; and check “ <strong>Ignore Errors</strong> “ and paste the following code</p>
<p id="code">raise&#160; &#8216;&#160; \n THE VALUE OF THE VARIABLE &lt;%=odiRef.getOption(&quot;VAR&quot;)%&gt;&#160; IS&#160; &#8211;&#160; &lt;%=#odiRef.getOption(&quot;PROJECT&quot;)%&gt;.&lt;%=odiRef.getOption(&quot;VAR&quot;)%&gt; &#8216;</p>
<p>make sure that everything inside the raise command&#160; have single quotes before and after .</p>
<p>Lets test this Procedure.</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image10.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb10.png" width="338" height="145" /></a> </p>
<p>and for Jython is</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image12.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb12.png" width="303" height="82" /></a> </p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image13.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb13.png" width="302" height="170" /></a> </p>
<p>This above example shows that i want to find the value of&#160; variable of&#160; variable other than the previous step , just change the var value to that name of the required variable.</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image14.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb14.png" width="301" height="76" /></a> </p>
<p>hope this helps who are looking for a way to know the value of the variable at run time.</p>
<p>For global variables you don&#8217;t need to mention the project code. Just type ‘GLOBAL’ instead of the project code. </p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image15.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb15.png" width="304" height="152" /></a> </p>
<p>&#160;<a href="http://odiexperts.com/wp-content/uploads/2009/12/image16.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb16.png" width="309" height="73" /></a> </p>
<p>&#160;</p>
<p>Please find below the codes ,download and all you would need to do is to change your default project codes in the option from XMT to whatever desired and you can make any kind of changes desired.</p>
<p>Just import in an Insert_Update mode and change the project code to your default.</p>
<p>&#160;</p>
<p><font color="#ff0000"><u>VALUE OF VARIABLE – JYTHON</u></font> </p>
<p> <iframe style="padding-bottom: 0px; background-color: #fcfcfc; padding-left: 0px; width: 98px; padding-right: 0px; height: 115px; padding-top: 0px" title="Preview" marginheight="0" src="http://cid-d7195c8badc40d0b.skydrive.live.com/embedicon.aspx/odiexperts.com/TRT^_VALUE^_OF^_VARIABLE^_JYTHON.xml" frameborder="0" marginwidth="0" scrolling="no"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://odiexperts.com/?feed=rss2&amp;p=855</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Invisible Join</title>
		<link>http://odiexperts.com/?p=897</link>
		<comments>http://odiexperts.com/?p=897#comments</comments>
		<pubDate>Tue, 22 Dec 2009 15:45:40 +0000</pubDate>
		<dc:creator>Kshitiz Devendra</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Logic]]></category>
		<category><![CDATA[ODI]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://odiexperts.com/?p=897</guid>
		<description><![CDATA[I would like to show a simple invisible join between tables in the interface. The reason why i am calling the joins invisible is because I am not defining the joins at the build but rather at run time.
Such a scenario can exist while doing lookup of staging table with other Lookup or join tables [...]]]></description>
			<content:encoded><![CDATA[<p>I would like to show a simple invisible join between tables in the interface. The reason why i am calling the joins invisible is because I am not defining the joins at the build but rather at run time.</p>
<p>Such a scenario can exist while doing lookup of staging table with other Lookup or join tables and so the joining condition can keep getting changed so there way I can have only one interface rather than two or multiple interfaces.</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image21.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb21.png" border="0" alt="image" width="599" height="217" /></a></p>
<p>As you can see there are two joins but they are not connected.  Looking at each join as you can see I have declared the Table_Name. Variable = Join_Table_name.Variable</p>
<p>TO do so ,just connect any two columns of the two tables and then change the joining condition column with variables.</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image22.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb22.png" border="0" alt="image" width="398" height="89" /></a></p>
<p>similarly for the second one two.</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image23.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb23.png" border="0" alt="image" width="391" height="115" /></a></p>
<p> </p>
<p>I have specified the join columns in the variable ,as for this example i am making the join between S_COL.I_TABLE.SNP_COL.I_TABLE  and S_COL.I_TABLE=SNP_TABLE.I_TABLE</p>
<p><a href="http://odiexperts.com/wp-content/uploads/2009/12/image24.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://odiexperts.com/wp-content/uploads/2009/12/image_thumb24.png" border="0" alt="image" width="399" height="83" /></a></p>
<p>Specify your variable with the required column names  as i did with I_TABLE and run your interface. You can have different column conditions with a same variables and one interface.</p>
]]></content:encoded>
			<wfw:commentRss>http://odiexperts.com/?feed=rss2&amp;p=897</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ODI Shortcuts Keys</title>
		<link>http://odiexperts.com/?p=831</link>
		<comments>http://odiexperts.com/?p=831#comments</comments>
		<pubDate>Fri, 27 Nov 2009 00:26:34 +0000</pubDate>
		<dc:creator>Kshitiz Devendra</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[ODI]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://odiexperts.com/?p=831</guid>
		<description><![CDATA[ 
Short cut for keys for ODI 









F5
REFRESH


F11
FULL SCREEN MODE


F3
SEARCH


F1
HELP


F2
RENAME AN OBJECT [ Click on an Interface , Package or other Object and Press F2 , you can rename the object code ] 




 Shortcuts for ODI Designer 









CNTL+ALT+P
PROJECT                           


CNTL+ALT+M
MODEL


CNTL+ALT+S
SOLUTION


CNTL+ALT+G
OTHERS




 
Shortcuts of ODI Operator
 








CNTL +ALT+E
SESSION LIST


CNTL+ALT+H
HIERARCHICAL SESSION


CNTL+ALT+P
SCHEDULING


CNTL+ALT+S
SCENARIO


CNTL+ALT+O
SOLUTION




 
 Shortcuts of ODI Topology
  








CNTL +ALT+P
PHYSICAL ARCHITECTURE


CNTL+ALT+C
CONTEXT


CNTL+ALT+L
LOGICAL ARCHITECTURE


CNTL+ALT+A
LANGUAGES


CNTL+ALT+R
REPOSITORIES


CNTL+ALT+H
HOSTS


CNTL+ALT+A
GENERIC ACTION






]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 16pt"><em> </em></span></p>
<p><span style="font-size: 16pt"><em><span style="color: #ff0000;">Short cut for keys for ODI</span> </em></span><span style="font-size: 16pt"><em><br />
</em></span></p>
<div>
<table style="border-collapse: collapse" border="0">
<colgroup span="1">
<col style="width: 39px;" span="1"></col>
<col style="width: 599px;" span="1"></col>
</colgroup>
<tbody>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top: 0.5pt solid; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">F5</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-left-style: none; border-top: 0.5pt solid; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">REFRESH</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">F11</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">FULL SCREEN MODE</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">F3</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">SEARCH</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">F1</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">HELP</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">F2</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">RENAME AN OBJECT [ Click on an Interface , Package or other Object and Press F2 , you can rename the object code ] </span></td>
</tr>
</tbody>
</table>
</div>
<p><span style="font-size: 14pt"><em> </em></span><span style="font-size: 14pt"><em><span style="color: #ff0000;">Shortcuts for ODI Designer</span> </em></span><span style="font-size: 14pt"><em><br />
</em></span></p>
<div>
<table style="border-collapse: collapse" border="0">
<colgroup span="1">
<col style="width: 120px;" span="1"></col>
<col style="width: 190px;" span="1"></col>
</colgroup>
<tbody>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top: 0.5pt solid; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL+ALT+P</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-left-style: none; border-top: 0.5pt solid; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">PROJECT                           </span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL+ALT+M</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">MODEL</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL+ALT+S</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">SOLUTION</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL+ALT+G</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">OTHERS</span></td>
</tr>
</tbody>
</table>
</div>
<p><span style="font-size: 14pt"><em> </em></span></p>
<p><span style="font-size: 14pt"><em><span style="color: #ff0000;">Shortcuts of ODI Operator</span></em></span></p>
<p><span style="font-size: 14pt"><em> </em></span></p>
<div>
<table style="border-collapse: collapse" border="0">
<colgroup span="1">
<col style="width: 119px;" span="1"></col>
<col style="width: 202px;" span="1"></col>
</colgroup>
<tbody>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top: 0.5pt solid; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL +ALT+E</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-left-style: none; border-top: 0.5pt solid; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">SESSION LIST</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL+ALT+H</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">HIERARCHICAL SESSION</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL+ALT+P</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">SCHEDULING</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL+ALT+S</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">SCENARIO</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL+ALT+O</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">SOLUTION</span></td>
</tr>
</tbody>
</table>
</div>
<div> </div>
<div> <span style="font-size: 14pt"><em><span style="color: #ff0000;">Shortcuts of ODI Topology</span></em></span></div>
<p><span style="font-size: 14pt"><em><span style="color: #ff0000;"> </span></em></span><span style="font-size: 14pt"><em> </em></span></p>
<div>
<table style="border-collapse: collapse" border="0">
<colgroup span="1">
<col style="width: 119px;" span="1"></col>
<col style="width: 202px;" span="1"></col>
</colgroup>
<tbody>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top: 0.5pt solid; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL +ALT+P</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-left-style: none; border-top: 0.5pt solid; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">PHYSICAL ARCHITECTURE</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL+ALT+C</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CONTEXT</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL+ALT+L</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">LOGICAL ARCHITECTURE</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL+ALT+A</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">LANGUAGES</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL+ALT+R</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">REPOSITORIES</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL+ALT+H</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">HOSTS</span></td>
</tr>
<tr>
<td style="border-bottom: 0.5pt solid; border-left: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">CNTL+ALT+A</span></td>
<td style="border-bottom: 0.5pt solid; padding-left: 7px; padding-right: 7px; border-top-style: none; border-left-style: none; border-right: 0.5pt solid"><span style="font-family: times new roman; font-size: 12pt">GENERIC ACTION</span></td>
</tr>
</tbody>
</table>
</div>
<p><span style="font-family: georgia"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://odiexperts.com/?feed=rss2&amp;p=831</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Export &#8211; Import DWR to EWR having same Master Rep</title>
		<link>http://odiexperts.com/?p=829</link>
		<comments>http://odiexperts.com/?p=829#comments</comments>
		<pubDate>Fri, 27 Nov 2009 00:04:59 +0000</pubDate>
		<dc:creator>Kshitiz Devendra</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Logic]]></category>
		<category><![CDATA[ODI]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://odiexperts.com/?p=829</guid>
		<description><![CDATA[For this particular Example I am exporting Project, Models and all the other objects under it from ODI_DEV [ DWR ] environment to ODI_WORK_EWR [ EWR ]
DWR – Development Work Repository
EWR – Execution Work Repository




Step 1 &#8211; Export the scenarios
Right click and export the scenario to the required folder


Step 2 &#8211; Select the Folder to [...]]]></description>
			<content:encoded><![CDATA[<p>For this particular Example I am exporting Project, Models and all the other objects under it from ODI_DEV [ DWR ] environment to ODI_WORK_EWR [ EWR ]</p>
<p>DWR – Development Work Repository</p>
<p>EWR – Execution Work Repository</p>
<p><img src="http://odiexperts.com/wp-content/uploads/2009/11/112709_0004_ExportImpor1.png" alt="" /><span style="font-family: times new roman; font-size: 12pt"><br />
</span></p>
<p><img src="http://odiexperts.com/wp-content/uploads/2009/11/112709_0004_ExportImpor2.png" alt="" /><span style="font-family: times new roman; font-size: 12pt"><br />
</span></p>
<p>Step 1 &#8211; Export the scenarios</p>
<p>Right click and export the scenario to the required folder</p>
<p><img src="http://odiexperts.com/wp-content/uploads/2009/11/112709_0004_ExportImpor3.png" alt="" /><span style="font-family: times new roman; font-size: 12pt"><br />
</span></p>
<p>Step 2 &#8211; Select the Folder to export the scenarios</p>
<p><img src="http://odiexperts.com/wp-content/uploads/2009/11/112709_0004_ExportImpor4.png" alt="" /><span style="font-family: times new roman; font-size: 12pt"><br />
</span></p>
<p>Step 3 &#8211; Repeat the above steps for all the scenarios to be exported.</p>
<p>Login into other EWR environment and go the Operator &#8211; scenarios tab ,as the EWR don&#8217;t have designer enabled.</p>
<p>Step 1 &#8211; Right click on the Scenario and select &#8216; Import Scenario .. &#8216;</p>
<p><img src="http://odiexperts.com/wp-content/uploads/2009/11/112709_0004_ExportImpor5.png" alt="" /><span style="font-family: times new roman; font-size: 12pt"><br />
</span></p>
<p>Step 2 &#8211; Select the right Import Type &#8221; INSERT_UPDATE &#8221; and the directory to be imported and you would find the list of scenarios to be imported.</p>
<p><img src="http://odiexperts.com/wp-content/uploads/2009/11/112709_0004_ExportImpor6.png" alt="" /><span style="font-family: times new roman; font-size: 12pt"><br />
</span></p>
<p>The best practice is to use import type &#8221; INSERT_UPDATE &#8221; for the reason being that if the scenarios are already present they would be updated else inserted.</p>
<p>Click ok to the warning</p>
<p><img src="http://odiexperts.com/wp-content/uploads/2009/11/112709_0004_ExportImpor7.png" alt="" /><span style="font-family: times new roman; font-size: 12pt"><br />
</span></p>
<p>And all the scenarios imported will be visible.</p>
<p><img src="http://odiexperts.com/wp-content/uploads/2009/11/112709_0004_ExportImpor8.png" alt="" /><span style="font-family: times new roman; font-size: 12pt"><br />
</span></p>
<p>Run the test for one or two for successful scenario import and it works.</p>
<p><img src="http://odiexperts.com/wp-content/uploads/2009/11/112709_0004_ExportImpor9.png" alt="" /><span style="font-family: times new roman; font-size: 12pt"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://odiexperts.com/?feed=rss2&amp;p=829</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
