<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 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/" version="2.0"><channel><atom:link href="http://feed.feedsky.com/mydwbiblog" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/mydwbiblog" type="application/rss+xml"></fs:self_link><lastBuildDate>Wed, 08 Apr 2009 05:33:41 GMT</lastBuildDate><title>mydwbi blog</title><description>blog of mydwbi</description><image><url>http://www.feedsky.com/feed/mydwbiblog/sc/gif</url><title>mydwbi blog</title><link>http://blog.mydwbi.com</link></image><link>http://blog.mydwbi.com</link><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><language>en</language><pubDate>Wed, 08 Apr 2009 05:33:41 GMT</pubDate><item><title>HOW TO: Achieve High Availability for Web Services Hub in the event of a failover</title><link>http://item.feedsky.com/~feedsky/mydwbiblog/~7129164/198629418/5168874/1/item.html</link><content:encoded>&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;
&lt;div id=&quot;ctl00_PlaceHolderMain_ctl01__ControlWrapper_RichHtmlField&quot; style=&quot;display: inline;&quot;&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Using High Availability for Web Services Hub, a client application can access the Web Service even in the event of failover of the Web Service to another node (when the URL changes). To achieve this, use either of the following:   &lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Third party load balancer &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;S&lt;/span&gt;&lt;span&gt;ample third party load balancers provided by Informatica (used only for test environment) &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;span&gt;Third party load balancer &lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;In the Administration Console, provide the &lt;em&gt;HubLogicalAddress&lt;/em&gt; in the &lt;em&gt;Advance&lt;/em&gt; properties of the Web Services Hub. For the &lt;em&gt;HubLogicalAddress,&lt;/em&gt; provide the URL of the third party load balancer that manages the Web Services Hub. This URL is published in the WSDL for all Web Services that run on a Web Services Hub managed by the load balancer. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;With a load balancer, the client application sends a request to the load balancer and the load balancer routes the request to an available Web Services Hub. Any of the Web Services Hub services can process requests from the client application. The load balancer does not verify that the host names and port numbers given for the Web Services Hub services are valid or that the services are running.  &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Before you send requests through the load balancer, ensure that the Web Service Hub services are available.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Some of the third party load balancers that can be used (available on the Web) are Apache &lt;em&gt;tcpmon&lt;/em&gt; and &lt;em&gt;Apache jmeter&lt;/em&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Sample third party load balancers provided by Informatica&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Informatica provides sample third party load balancers (used only for test environment). This can be used to understand the usage of load balancer with web Services Hub. This sample third party load balancer is present at &lt;em&gt;infa_home/server/samples/WebServices/samples/SoftwareLoadBalancer&lt;/em&gt;. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Before using load balancer, read the &lt;em&gt;Readme.txt&lt;/em&gt; file which is present in the same path. This guides you on:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;How does the load balancer work&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;How to set up the &lt;em&gt;Configuration File&lt;/em&gt; that is used by the load balancer &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h6&gt;&lt;span&gt;Note&lt;/span&gt;&lt;/h6&gt;
&lt;p&gt;&lt;span&gt;Informatica third party load balancers can be used only for test environment and not for production environment.&lt;/span&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Possibly Related Posts:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=124&quot;&gt;HOW TO: Disable the XMLW_31213 error messages in the PowerCenter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=106&quot;&gt;HOW TO: Use “Is_Null” and “Not Is_Null” functions with Rule Based Analyzer Component in Data Quality&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=103&quot;&gt;HOW TO: Read an unstructured binary file and load it to an Oracle BLOB column&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=101&quot;&gt;What changes are required in PowerCenter when the server or client machine IP address changes?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=74&quot;&gt;HOW TO: Write column names to the first row of a flat file target&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;p class=&quot;addtoany_share_save_container&quot;&gt;
    &lt;a class=&quot;a2a_dd addtoany_share_save&quot; href=&quot;http://www.addtoany.com/share_save?sitename=Data%20Warehouse%20Story&amp;amp;siteurl=http%3A%2F%2Fblog.mydwbi.com%2F&amp;amp;linkname=HOW%20TO%3A%20Achieve%20High%20Availability%20for%20Web%20Services%20Hub%20in%20the%20event%20of%20a%20failover&amp;amp;linkurl=http%3A%2F%2Fblog.mydwbi.com%2F%3Fp%3D126&quot;&gt;&lt;img src=&quot;http://blog.mydwbi.com/wp-content/plugins/add-to-any/share_save_256_24.gif&quot; width=&quot;256&quot; height=&quot;24&quot; alt=&quot;Share/Save/Bookmark&quot;/&gt;&lt;/a&gt;

	&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.mydwbi.com/?feed=rss2&amp;p=126</wfw:commentRss><description>Solution

Using High Availability for Web Services Hub, a client application can access the Web Service even in the event of failover of the Web Service to another node (when the URL changes). To achieve this, use either of the following:   
Third party load balancer 
Sample third party load balancers provided by Informatica (used only for test environment)</description><category>Informatica</category><category>Web Services Hub</category><category>High Availability</category><pubDate>Wed, 08 Apr 2009 13:33:41 +0800</pubDate><author>lynx286</author><comments>http://blog.mydwbi.com/?p=126#comments</comments><guid isPermaLink="false">http://blog.mydwbi.com/?p=126</guid><dc:creator>lynx286</dc:creator><fs:srclink>http://blog.mydwbi.com/?p=126</fs:srclink><fs:srcfeed>http://blog.mydwbi.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/mydwbiblog/~7129164/198629418/5168874</fs:itemid></item><item><title>HOW TO: Disable the XMLW_31213 error messages in the PowerCenter</title><link>http://item.feedsky.com/~feedsky/mydwbiblog/~7129164/198629419/5168874/1/item.html</link><content:encoded>&lt;div id=&quot;ctl00_PlaceHolderMain_EditModePanel2&quot;&gt;&lt;strong&gt;Problem Description&lt;/strong&gt;&lt;/div&gt;
&lt;div id=&quot;ctl00_PlaceHolderMain_ctl01__ControlWrapper_RichHtmlField&quot; style=&quot;display: inline;&quot;&gt;
&lt;p&gt;The following error is in session log:&lt;/p&gt;
&lt;blockquote style=&quot;margin-right: 0px;&quot; dir=&quot;ltr&quot;&gt;&lt;p&gt;&lt;samp&gt;Error XMLW_31213 : Row rejected due to duplicate primary key.&lt;/samp&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Data is written correctly to target, but above error will appear multiple times in session log and it will grow to very large size.  Is there away to stop this message from being written to the session log?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;
&lt;div id=&quot;ctl00_PlaceHolderMain_ctl03__ControlWrapper_RichHtmlField&quot; style=&quot;display: inline;&quot;&gt;
&lt;p&gt;In order to fix the issue do the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select Integration Service in the Administration Console&lt;/li&gt;
&lt;li&gt;Go to &lt;em&gt;Properties&lt;/em&gt; &amp;gt; &lt;em&gt;Configuration Properties&lt;/em&gt; &amp;gt;&lt;/li&gt;
&lt;li&gt;Click &lt;em&gt;Edit&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Clear the &lt;em&gt;XMLWarnDupRows&lt;/em&gt; option.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;More Information&lt;/strong&gt;&lt;/p&gt;
&lt;div id=&quot;ctl00_PlaceHolderMain_ctl04__ControlWrapper_RichHtmlField&quot; style=&quot;display: inline;&quot;&gt;
&lt;p&gt;Setting the custom property &lt;em&gt;XMLWarnDupRows&lt;/em&gt; to &amp;#8220;NO&amp;#8221; will not resolve this issue as it has been replaced by the &lt;em&gt;XMLWarnDupRows&lt;/em&gt; Integration Service property.&lt;/p&gt;
&lt;p&gt;To use the option on PowerCenter 8.5.1 install the latest HotFix.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Reference&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;PowerCenter Administrator Guide&lt;/em&gt; &amp;gt; &amp;#8220;Creating and Configuring the Integration Service&amp;#8221; &amp;gt; &amp;#8220;Configuring the Integration Service Properties&amp;#8221; &amp;gt; &amp;#8220;Configuration Properties&amp;#8221; &amp;gt; &amp;#8220;Table 9-6. Configuration Properties for an Integration Service&amp;#8221;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Possibly Related Posts:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=126&quot;&gt;HOW TO: Achieve High Availability for Web Services Hub in the event of a failover&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=106&quot;&gt;HOW TO: Use “Is_Null” and “Not Is_Null” functions with Rule Based Analyzer Component in Data Quality&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=103&quot;&gt;HOW TO: Read an unstructured binary file and load it to an Oracle BLOB column&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=101&quot;&gt;What changes are required in PowerCenter when the server or client machine IP address changes?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=74&quot;&gt;HOW TO: Write column names to the first row of a flat file target&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;p class=&quot;addtoany_share_save_container&quot;&gt;
    &lt;a class=&quot;a2a_dd addtoany_share_save&quot; href=&quot;http://www.addtoany.com/share_save?sitename=Data%20Warehouse%20Story&amp;amp;siteurl=http%3A%2F%2Fblog.mydwbi.com%2F&amp;amp;linkname=HOW%20TO%3A%20Disable%20the%20XMLW_31213%20error%20messages%20in%20the%20PowerCenter&amp;amp;linkurl=http%3A%2F%2Fblog.mydwbi.com%2F%3Fp%3D124&quot;&gt;&lt;img src=&quot;http://blog.mydwbi.com/wp-content/plugins/add-to-any/share_save_256_24.gif&quot; width=&quot;256&quot; height=&quot;24&quot; alt=&quot;Share/Save/Bookmark&quot;/&gt;&lt;/a&gt;

	&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.mydwbi.com/?feed=rss2&amp;p=124</wfw:commentRss><description>Problem Description 
The following error is in session log:

Error XMLW_31213 : Row rejected due to duplicate primary key.

Data is written correctly to target, but above error will appear multiple times in session log and it will grow to very large size.  Is there away to stop this message from being written to the session log?</description><category>Informatica</category><category>XMLW_31213</category><pubDate>Wed, 08 Apr 2009 13:28:41 +0800</pubDate><author>lynx286</author><comments>http://blog.mydwbi.com/?p=124#comments</comments><guid isPermaLink="false">http://blog.mydwbi.com/?p=124</guid><dc:creator>lynx286</dc:creator><fs:srclink>http://blog.mydwbi.com/?p=124</fs:srclink><fs:srcfeed>http://blog.mydwbi.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/mydwbiblog/~7129164/198629419/5168874</fs:itemid></item><item><title>How to create a Time Dimension in Framework Manager</title><link>http://item.feedsky.com/~feedsky/mydwbiblog/~7129164/198629420/5168874/1/item.html</link><content:encoded>&lt;p&gt;&lt;strong&gt;Description:&lt;/strong&gt;&lt;br /&gt;
This document describes how to create a Time Dimension in Framework Manager which is similar to a Time Dimension created in Powerplay Transformer.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Steps:&lt;/strong&gt;&lt;/p&gt;
&lt;li&gt;Right-click on the Namespace and choose Create-&gt;Regular Dimension. &lt;/li&gt;
&lt;li&gt;From Available Items drag the date column and drop it under Hierarchies. &lt;/li&gt;
&lt;li&gt;Click the ellipsis in Source field to open Calculation Definition windows. &lt;/li&gt;
&lt;li&gt;Change the name of the calculation to Year. &lt;/li&gt;
&lt;li&gt;Use &amp;#8216;cast&amp;#8217; and &amp;#8216;extract&amp;#8217; functions to extract the years from the date column and convert it to character string, e.g.:&lt;br /&gt;
  cast(extract ( year, [&lt;namespace&gt;].[&lt;query subject&gt;].[&lt;query item&gt;] ) , char(8)) &lt;/li&gt;
&lt;li&gt;Back in the Dimension Definition windows, click the ellipsis in the Role field. &lt;/li&gt;
&lt;li&gt;Assign _businessKey and _memberCaption roles. &lt;/li&gt;
&lt;li&gt;Under Hierarchies, Add Levels for Month and Day. &lt;/li&gt;
&lt;li&gt;Repeat the steps 3-7 for the Month and Day using expressions:&lt;br /&gt;
  cast(extract ( month, [&lt;namespace&gt;].[&lt;query subject&gt;].[&lt;query item&gt;] ) , char(8))&lt;br /&gt;
  cast(extract ( day, [&lt;namespace&gt;].[&lt;query subject&gt;].[&lt;query item&gt;] ) , char(8)) &lt;/li&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;br /&gt;
&amp;#8216;cast&amp;#8217; function has to be used to convert a numeric field to a string as _memberCaption Role cannot be numeric.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Possibly Related Posts:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=114&quot;&gt;How To: Generate multiple worksheets from Report Studio&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=112&quot;&gt;How to publish a package after modifying the model without impacting existing reports&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=110&quot;&gt;How To: Change to a new Directory Server&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=108&quot;&gt;How to convert a numeric value to character string padded with zeros at left hand side&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=97&quot;&gt;How to remove the column title and rows border in a report?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;p class=&quot;addtoany_share_save_container&quot;&gt;
    &lt;a class=&quot;a2a_dd addtoany_share_save&quot; href=&quot;http://www.addtoany.com/share_save?sitename=Data%20Warehouse%20Story&amp;amp;siteurl=http%3A%2F%2Fblog.mydwbi.com%2F&amp;amp;linkname=How%20to%20create%20a%20Time%20Dimension%20in%20Framework%20Manager&amp;amp;linkurl=http%3A%2F%2Fblog.mydwbi.com%2F%3Fp%3D122&quot;&gt;&lt;img src=&quot;http://blog.mydwbi.com/wp-content/plugins/add-to-any/share_save_256_24.gif&quot; width=&quot;256&quot; height=&quot;24&quot; alt=&quot;Share/Save/Bookmark&quot;/&gt;&lt;/a&gt;

	&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.mydwbi.com/?feed=rss2&amp;p=122</wfw:commentRss><description>Description:

This document describes how to create a Time Dimension in Framework Manager which is similar to a Time Dimension created in Powerplay Transformer.

Steps:

1.Right-click on the Namespace and choose Create-&gt;Regular Dimension. 
2.From Available Items drag the date column and drop it under Hierarchies. 
3.Click the ellipsis in Source field to open Calculation Definition windows. 
4.Change the name of the calculation to Year. 
5.Use 'cast' and 'extract' functions to extract the years from the date column and convert it to character string, e.g.:
  cast(extract ( year, [&lt;namespace&gt;].[&lt;query subject&gt;].[&lt;query item&gt;] ) , char(8)) 
6.Back in the Dimension Definition windows, click the ellipsis in the Role field. 
7.Assign _businessKey and _memberCaption roles. 
8.Under Hierarchies, Add Levels for Month and Day. 
9.Repeat the steps 3-7 for the Month and Day using expressions:
  cast(extract ( month, [&lt;namespace&gt;].[&lt;query subject&gt;].[&lt;query item&gt;] ) , char(8))
  cast(extract ( day, [&lt;namespace&gt;].[&lt;query subject&gt;].[&lt;query item&gt;] ) , char(8)) 
Note:
'cast' function has to be used to convert a numeric field to a string as _memberCaption Role cannot be numeric.</description><category>Framework Manager</category><category>Cognos</category><category>dimension</category><pubDate>Tue, 25 Nov 2008 00:09:29 +0800</pubDate><author>lynx286</author><comments>http://blog.mydwbi.com/?p=122#comments</comments><guid isPermaLink="false">http://blog.mydwbi.com/?p=122</guid><dc:creator>lynx286</dc:creator><fs:srclink>http://blog.mydwbi.com/?p=122</fs:srclink><fs:srcfeed>http://blog.mydwbi.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/mydwbiblog/~7129164/198629420/5168874</fs:itemid></item><item><title>How To: Generate multiple worksheets from Report Studio</title><link>http://item.feedsky.com/~feedsky/mydwbiblog/~7129164/198629421/5168874/1/item.html</link><content:encoded>&lt;p&gt;&lt;strong&gt;Description:&lt;/strong&gt;&lt;br /&gt;
How to generate multiple worksheets in excel from a report studio page&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;br /&gt;
Windows [All]&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;br /&gt;
Use grouping on a query item in the page break to generate separate excel worksheets&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Steps:&lt;/strong&gt;&lt;br /&gt;
1.  Create a list report&lt;br /&gt;
2.  Group on a query item in the list report&lt;br /&gt;
3.  Open the page explorer and click on pages&lt;br /&gt;
4.  Add a page break using the grouped query item&lt;br /&gt;
5.  Run the report to generate an XLS output&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Possibly Related Posts:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=122&quot;&gt;How to create a Time Dimension in Framework Manager&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=112&quot;&gt;How to publish a package after modifying the model without impacting existing reports&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=110&quot;&gt;How To: Change to a new Directory Server&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=108&quot;&gt;How to convert a numeric value to character string padded with zeros at left hand side&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=97&quot;&gt;How to remove the column title and rows border in a report?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;p class=&quot;addtoany_share_save_container&quot;&gt;
    &lt;a class=&quot;a2a_dd addtoany_share_save&quot; href=&quot;http://www.addtoany.com/share_save?sitename=Data%20Warehouse%20Story&amp;amp;siteurl=http%3A%2F%2Fblog.mydwbi.com%2F&amp;amp;linkname=How%20To%3A%20Generate%20multiple%20worksheets%20from%20Report%20Studio&amp;amp;linkurl=http%3A%2F%2Fblog.mydwbi.com%2F%3Fp%3D114&quot;&gt;&lt;img src=&quot;http://blog.mydwbi.com/wp-content/plugins/add-to-any/share_save_256_24.gif&quot; width=&quot;256&quot; height=&quot;24&quot; alt=&quot;Share/Save/Bookmark&quot;/&gt;&lt;/a&gt;

	&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.mydwbi.com/?feed=rss2&amp;p=114</wfw:commentRss><description>Description:
How to generate multiple worksheets in excel from a report studio page

Environment:
Windows [All]

Solution:
Use grouping on a query item in the page break to generate separate excel worksheets

Steps:
1.  Create a list report
2.  Group on a query item in the list report
3.  Open the page explorer and click on pages
4.  Add a page break using the grouped query item
5.  Run the report to generate an XLS output</description><category>Cognos</category><category>Multiple Worksheets</category><category>Grouping</category><category>Excel</category><category>Page Break</category><pubDate>Mon, 24 Nov 2008 23:51:40 +0800</pubDate><author>lynx286</author><comments>http://blog.mydwbi.com/?p=114#comments</comments><guid isPermaLink="false">http://blog.mydwbi.com/?p=114</guid><dc:creator>lynx286</dc:creator><fs:srclink>http://blog.mydwbi.com/?p=114</fs:srclink><fs:srcfeed>http://blog.mydwbi.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/mydwbiblog/~7129164/198629421/5168874</fs:itemid></item><item><title>How to publish a package after modifying the model without impacting existing reports</title><link>http://item.feedsky.com/~feedsky/mydwbiblog/~7129164/198629422/5168874/1/item.html</link><content:encoded>&lt;p&gt;Description:&lt;/p&gt;
&lt;p&gt;How to publish a package after modifying the model without impacting existing reports based on that package.&lt;/p&gt;
&lt;p&gt;Solution:&lt;/p&gt;
&lt;p&gt;This is essentially a question about how model versioning works.&lt;/p&gt;
&lt;p&gt;If you want all your old reports to still work fine after changing a model, you need to enable model versioning when you publish the package in Framework Manager. With this option checked, ReportNet (or Cognos &lt;img src='http://blog.mydwbi.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /&gt; will create a new version of the model for this package in the content store, instead of overwriting the existing model.&lt;/p&gt;
&lt;p&gt;Once done, the published package will have multiple versions of the model in the content store.  All old reports will automatically link to the old model, and all new reports will be created against the new model.&lt;/p&gt;
&lt;p&gt;Please be aware, however, that if you open an existing report from within the Studios, it will run against the newest model.  There may be a validation prompt, and it may result in error messages becasue the old report may not match the metedata of the newest model.&lt;/p&gt;
&lt;p&gt;Steps:&lt;br /&gt;
  1. Check Enable model versioning in Framework Manager in the package publishing wizard.&lt;br /&gt;
  2. Publish the package.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Possibly Related Posts:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=122&quot;&gt;How to create a Time Dimension in Framework Manager&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=114&quot;&gt;How To: Generate multiple worksheets from Report Studio&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=110&quot;&gt;How To: Change to a new Directory Server&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=108&quot;&gt;How to convert a numeric value to character string padded with zeros at left hand side&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=97&quot;&gt;How to remove the column title and rows border in a report?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;p class=&quot;addtoany_share_save_container&quot;&gt;
    &lt;a class=&quot;a2a_dd addtoany_share_save&quot; href=&quot;http://www.addtoany.com/share_save?sitename=Data%20Warehouse%20Story&amp;amp;siteurl=http%3A%2F%2Fblog.mydwbi.com%2F&amp;amp;linkname=How%20to%20publish%20a%20package%20after%20modifying%20the%20model%20without%20impacting%20existing%20reports&amp;amp;linkurl=http%3A%2F%2Fblog.mydwbi.com%2F%3Fp%3D112&quot;&gt;&lt;img src=&quot;http://blog.mydwbi.com/wp-content/plugins/add-to-any/share_save_256_24.gif&quot; width=&quot;256&quot; height=&quot;24&quot; alt=&quot;Share/Save/Bookmark&quot;/&gt;&lt;/a&gt;

	&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.mydwbi.com/?feed=rss2&amp;p=112</wfw:commentRss><description>Description:
How to publish a package after modifying the model without impacting existing reports based on that package.

Solution:

This is essentially a question about how model versioning works.
If you want all your old reports to still work fine after changing a model, you need to enable model versioning when you publish the package in Framework Manager. With this option checked, ReportNet (or Cognos 8) will create a new version of the model for this package in the content store, instead of overwriting the existing model.
Once done, the published package will have multiple versions of the model in the content store.  All old reports will automatically link to the old model, and all new reports will be created against the new model.
Please be aware, however, that if you open an existing report from within the Studios, it will run against the newest model.  There may be a validation prompt, and it may result in error messages becasue the old report may not match the metedata of the newest model.

Steps:
  1. Check Enable model versioning in Framework Manager in the package publishing wizard.
  2. Publish the package.</description><category>Cognos</category><category>modeling versioning</category><category>model version control</category><pubDate>Mon, 24 Nov 2008 23:46:25 +0800</pubDate><author>lynx286</author><comments>http://blog.mydwbi.com/?p=112#comments</comments><guid isPermaLink="false">http://blog.mydwbi.com/?p=112</guid><dc:creator>lynx286</dc:creator><fs:srclink>http://blog.mydwbi.com/?p=112</fs:srclink><fs:srcfeed>http://blog.mydwbi.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/mydwbiblog/~7129164/198629422/5168874</fs:itemid></item><item><title>How To: Change to a new Directory Server</title><link>http://item.feedsky.com/~feedsky/mydwbiblog/~7129164/198629423/5168874/1/item.html</link><content:encoded>&lt;p&gt;&lt;strong&gt;Description:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;How to change to a new Directory Server&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Steps:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A) Before changing the Directory Server:&lt;br /&gt;
- set a Master Password in IBM Cognos Finance&lt;br /&gt;
(this is a safe guard only, you shouldn&amp;#8217;t need to use it; you will only need to use it if you have problems logging back on to Finance after changing your Directory Server)&lt;br /&gt;
- Export your existing Access Manager Directory Server information to an .LAE file (select the Option to &amp;#8220;Empty the target namespace&amp;#8221;)&lt;/p&gt;
&lt;p&gt;B) Install SunOne Directory Server on the new Server&lt;/p&gt;
&lt;p&gt;C) After the install of the Directory Server, on the new Server :&lt;br /&gt;
- update Configuration Manager with this new information (ie new Directory Server SunOne details)&lt;br /&gt;
- within Configuration Manager, &amp;#8220;Services&amp;#8221;, &amp;#8220;Access Manager&amp;#8221;, &amp;#8220;General&amp;#8221; - answer &amp;#8220;Yes&amp;#8221; to &amp;#8220;Are you sure that you want to configure this directory server?&amp;#8221;&lt;br /&gt;
- within Configuration Manager - do a Validate / Apply / Start Services - ensure that there are no errors&lt;br /&gt;
- update Access Manager Administration with this new information (ie new Directory Server SunOne details):&lt;br /&gt;
    i) create a Directory Server Namespace&lt;br /&gt;
   ii) import the .LAE file from the old server into the new Directory Server Namespace (select the Option to &amp;#8220;Empty the target namespace&amp;#8221;)&lt;br /&gt;
- within Access Manager, Tools, use &amp;#8220;Runtime Configuration&amp;#8221; to reestablish your authentication source to the new Directory Server&lt;/p&gt;
&lt;p&gt;D)  Every Finance Windows (non-Web) user will need to run Access Manager - Configuration Wizard (Start, Programs, Finance, Tools) to update their Access Manager authentication source&lt;/p&gt;
&lt;p&gt;You may not want to wipe the existing Directory Server until you have confirmed all is OK using the new server.&lt;/p&gt;
&lt;p&gt;If you have a different Finance application server from a Finance Web server then you will need to perform the Access Manager, Tools, use &amp;#8220;Runtime Configuration&amp;#8221; to reestablish your authentication source on the Finance Web server too.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Possibly Related Posts:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=122&quot;&gt;How to create a Time Dimension in Framework Manager&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=114&quot;&gt;How To: Generate multiple worksheets from Report Studio&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=112&quot;&gt;How to publish a package after modifying the model without impacting existing reports&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=108&quot;&gt;How to convert a numeric value to character string padded with zeros at left hand side&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=97&quot;&gt;How to remove the column title and rows border in a report?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;p class=&quot;addtoany_share_save_container&quot;&gt;
    &lt;a class=&quot;a2a_dd addtoany_share_save&quot; href=&quot;http://www.addtoany.com/share_save?sitename=Data%20Warehouse%20Story&amp;amp;siteurl=http%3A%2F%2Fblog.mydwbi.com%2F&amp;amp;linkname=How%20To%3A%20Change%20to%20a%20new%20Directory%20Server&amp;amp;linkurl=http%3A%2F%2Fblog.mydwbi.com%2F%3Fp%3D110&quot;&gt;&lt;img src=&quot;http://blog.mydwbi.com/wp-content/plugins/add-to-any/share_save_256_24.gif&quot; width=&quot;256&quot; height=&quot;24&quot; alt=&quot;Share/Save/Bookmark&quot;/&gt;&lt;/a&gt;

	&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.mydwbi.com/?feed=rss2&amp;p=110</wfw:commentRss><description>Description:

How to change to a new Directory Server

Steps:

A) Before changing the Directory Server:
- set a Master Password in IBM Cognos Finance
(this is a safe guard only, you shouldn't need to use it; you will only need to use it if you have problems logging back on to Finance after changing your Directory Server)
- Export your existing Access Manager Directory Server information to an .LAE file (select the Option to &quot;Empty the target namespace&quot;)

B) Install SunOne Directory Server on the new Server

C) After the install of the Directory Server, on the new Server :
- update Configuration Manager with this new information (ie new Directory Server SunOne details)
- within Configuration Manager, &quot;Services&quot;, &quot;Access Manager&quot;, &quot;General&quot; - answer &quot;Yes&quot; to &quot;Are you sure that you want to configure this directory server?&quot;
- within Configuration Manager - do a Validate / Apply / Start Services - ensure that there are no errors
- update Access Manager Administration with this new information (ie new Directory Server SunOne details):
    i) create a Directory Server Namespace
   ii) import the .LAE file from the old server into the new Directory Server Namespace (select the Option to &quot;Empty the target namespace&quot;)
- within Access Manager, Tools, use &quot;Runtime Configuration&quot; to reestablish your authentication source to the new Directory Server

D)  Every Finance Windows (non-Web) user will need to run Access Manager - Configuration Wizard (Start, Programs, Finance, Tools) to update their Access Manager authentication source

You may not want to wipe the existing Directory Server until you have confirmed all is OK using the new server.

If you have a different Finance application server from a Finance Web server then you will need to perform the Access Manager, Tools, use &quot;Runtime Configuration&quot; to reestablish your authentication source on the Finance Web server too.</description><category>SunOne</category><category>Cognos</category><category>Directory Server</category><pubDate>Mon, 24 Nov 2008 23:38:35 +0800</pubDate><author>lynx286</author><comments>http://blog.mydwbi.com/?p=110#comments</comments><guid isPermaLink="false">http://blog.mydwbi.com/?p=110</guid><dc:creator>lynx286</dc:creator><fs:srclink>http://blog.mydwbi.com/?p=110</fs:srclink><fs:srcfeed>http://blog.mydwbi.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/mydwbiblog/~7129164/198629423/5168874</fs:itemid></item><item><title>How to convert a numeric value to character string padded with zeros at left hand side</title><link>http://item.feedsky.com/~feedsky/mydwbiblog/~7129164/198629424/5168874/1/item.html</link><content:encoded>&lt;p&gt;&lt;strong&gt;Description:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This document provides an example of how a numeric value can be converted to a character string and padded with zeros at the left hand side. There is no direct function to pad character strings on the left or right with a specific character.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This technique has been tested against SQL Server 2000 database but it should work for all the other databases.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Edit the Query Subject that the padded character string have to be added to it and create a calculated column with the following definition:&lt;/p&gt;
&lt;p&gt;replace(str (&lt;numeric-value&gt; ,&lt;length&gt;),&amp;#8217; &amp;#8216;,
&lt;padding-character&gt;)&lt;/p&gt;
&lt;p&gt;Example to pad with zeros at the left in a 4 character long character:&lt;/p&gt;
&lt;p&gt;replace(str ([gosales_goretailers].[Orders].[Quantity] ,4),&amp;#8217; &amp;#8216;,&amp;#8217;0&amp;#8242;)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Possibly Related Posts:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=122&quot;&gt;How to create a Time Dimension in Framework Manager&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=114&quot;&gt;How To: Generate multiple worksheets from Report Studio&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=112&quot;&gt;How to publish a package after modifying the model without impacting existing reports&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=110&quot;&gt;How To: Change to a new Directory Server&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=97&quot;&gt;How to remove the column title and rows border in a report?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;p class=&quot;addtoany_share_save_container&quot;&gt;
    &lt;a class=&quot;a2a_dd addtoany_share_save&quot; href=&quot;http://www.addtoany.com/share_save?sitename=Data%20Warehouse%20Story&amp;amp;siteurl=http%3A%2F%2Fblog.mydwbi.com%2F&amp;amp;linkname=How%20to%20convert%20a%20numeric%20value%20to%20character%20string%20padded%20with%20zeros%20at%20left%20hand%20side&amp;amp;linkurl=http%3A%2F%2Fblog.mydwbi.com%2F%3Fp%3D108&quot;&gt;&lt;img src=&quot;http://blog.mydwbi.com/wp-content/plugins/add-to-any/share_save_256_24.gif&quot; width=&quot;256&quot; height=&quot;24&quot; alt=&quot;Share/Save/Bookmark&quot;/&gt;&lt;/a&gt;

	&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.mydwbi.com/?feed=rss2&amp;p=108</wfw:commentRss><description>Description:
This document provides an example of how a numeric value can be converted to a character string and padded with zeros at the left hand side. There is no direct function to pad character strings on the left or right with a specific character.

Environment
This technique has been tested against SQL Server 2000 database but it should work for all the other databases.

Solution:
Edit the Query Subject that the padded character string have to be added to it and create a calculated column with the following definition:
replace(str (&lt;numeric-value&gt; ,&lt;length&gt;),' ',&lt;padding-character&gt;)
Example to pad with zeros at the left in a 4 character long character:
replace(str ([gosales_goretailers].[Orders].[Quantity] ,4),' ','0')</description><category>convert</category><category>Cognos</category><category>zero</category><pubDate>Mon, 24 Nov 2008 23:30:50 +0800</pubDate><author>lynx286</author><comments>http://blog.mydwbi.com/?p=108#comments</comments><guid isPermaLink="false">http://blog.mydwbi.com/?p=108</guid><dc:creator>lynx286</dc:creator><fs:srclink>http://blog.mydwbi.com/?p=108</fs:srclink><fs:srcfeed>http://blog.mydwbi.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/mydwbiblog/~7129164/198629424/5168874</fs:itemid></item><item><title>HOW TO: Use “Is_Null” and “Not Is_Null” functions with Rule Based Analyzer Component in Data Quality</title><link>http://item.feedsky.com/~feedsky/mydwbiblog/~7129164/198629425/5168874/1/item.html</link><content:encoded>&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;br /&gt;
In Data Quality, is there a way to use the Is_Null and Not Is_Null function with the Rule Based Analyzer Component? &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;
There is no direct way to use Is_null or Not Is_null function in the Rule Based Analyzer Component. However, you do the following to achieve the same: &lt;/p&gt;
&lt;p&gt;equal to &amp;#8220;&amp;#8221;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example &lt;/strong&gt;&lt;br /&gt;
For Is_null, use the following:&lt;/p&gt;
&lt;p&gt;IF (value1 = &amp;#8220;&amp;#8221;) THEN&lt;br /&gt;
Value2 := 0 &lt;/p&gt;
&lt;p&gt;For Not Is_Null, use the following:&lt;/p&gt;
&lt;p&gt;IF (value1 &lt;&gt; &amp;#8220;&amp;#8221;) THEN&lt;br /&gt;
Value2 := 0&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Applies To&lt;/strong&gt;&lt;br /&gt;
Data Quality&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Possibly Related Posts:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=126&quot;&gt;HOW TO: Achieve High Availability for Web Services Hub in the event of a failover&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=124&quot;&gt;HOW TO: Disable the XMLW_31213 error messages in the PowerCenter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=103&quot;&gt;HOW TO: Read an unstructured binary file and load it to an Oracle BLOB column&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=101&quot;&gt;What changes are required in PowerCenter when the server or client machine IP address changes?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=74&quot;&gt;HOW TO: Write column names to the first row of a flat file target&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;p class=&quot;addtoany_share_save_container&quot;&gt;
    &lt;a class=&quot;a2a_dd addtoany_share_save&quot; href=&quot;http://www.addtoany.com/share_save?sitename=Data%20Warehouse%20Story&amp;amp;siteurl=http%3A%2F%2Fblog.mydwbi.com%2F&amp;amp;linkname=HOW%20TO%3A%20Use%20%E2%80%9CIs_Null%E2%80%9D%20and%20%E2%80%9CNot%20Is_Null%E2%80%9D%20functions%20with%20Rule%20Based%20Analyzer%20Component%20in%20Data%20Quality&amp;amp;linkurl=http%3A%2F%2Fblog.mydwbi.com%2F%3Fp%3D106&quot;&gt;&lt;img src=&quot;http://blog.mydwbi.com/wp-content/plugins/add-to-any/share_save_256_24.gif&quot; width=&quot;256&quot; height=&quot;24&quot; alt=&quot;Share/Save/Bookmark&quot;/&gt;&lt;/a&gt;

	&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.mydwbi.com/?feed=rss2&amp;p=106</wfw:commentRss><description>Description
In Data Quality, is there a way to use the Is_Null and Not Is_Null function with the Rule Based Analyzer Component? 

Solution
There is no direct way to use Is_null or Not Is_null function in the Rule Based Analyzer Component. However, you do the following to achieve the same: 

equal to &quot;&quot;:

Example 
For Is_null, use the following:

IF (value1 = &quot;&quot;) THEN 
Value2 := 0 

For Not Is_Null, use the following:

IF (value1 &lt;&gt; &quot;&quot;) THEN 
Value2 := 0</description><category>Data Quality</category><category>Is_null</category><category>Informatica</category><pubDate>Thu, 06 Nov 2008 21:49:08 +0800</pubDate><author>lynx286</author><comments>http://blog.mydwbi.com/?p=106#comments</comments><guid isPermaLink="false">http://blog.mydwbi.com/?p=106</guid><dc:creator>lynx286</dc:creator><fs:srclink>http://blog.mydwbi.com/?p=106</fs:srclink><fs:srcfeed>http://blog.mydwbi.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/mydwbiblog/~7129164/198629425/5168874</fs:itemid></item><item><title>HOW TO: Read an unstructured binary file and load it to an Oracle BLOB column</title><link>http://item.feedsky.com/~feedsky/mydwbiblog/~7129164/198629426/5168874/1/item.html</link><content:encoded>&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;
PowerCenter does not support reading or writing unstructured binary files such as image (&amp;#8221; .jpg &amp;#8220;, &amp;#8221; .bmp &amp;#8220;) files or compressed (&amp;#8221; .zip &amp;#8220;) files. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Workaround: &lt;/strong&gt;&lt;br /&gt;
Use an Oracle Stored Procedure and call the stored procedure in the mapping as post\pre target load or post session command of any session. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example: &lt;/strong&gt;&lt;br /&gt;
The following is a stored procedure which uses the DBMS_LOB package to read and load a .zip file into an Oracle database: &lt;/p&gt;
&lt;p&gt;***************&lt;br /&gt;
create table demo&lt;br /&gt;
( id int primary key,&lt;br /&gt;
theBlob blob&lt;br /&gt;
)&lt;br /&gt;
/&lt;br /&gt;
create or replace directory my_files as &amp;#8216;/export/home/tkyte/public_html&amp;#8217;;&lt;br /&gt;
declare&lt;br /&gt;
l_blob blob;&lt;br /&gt;
l_bfile bfile;&lt;br /&gt;
begin&lt;br /&gt;
insert into demo values ( 1, empty_blob() )&lt;br /&gt;
returning theBlob into l_blob;&lt;br /&gt;
l_bfile := bfilename( &amp;#8216;MY_FILES&amp;#8217;, &amp;#8216;test.zip&amp;#8217; );&lt;br /&gt;
dbms_lob.fileopen( l_bfile );&lt;br /&gt;
dbms_lob.loadfromfile( l_blob, l_bfile,&lt;br /&gt;
dbms_lob.getlength( l_bfile ) );&lt;br /&gt;
dbms_lob.fileclose( l_bfile );&lt;br /&gt;
end;&lt;br /&gt;
/&lt;br /&gt;
&lt;strong&gt;More Information &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The following are key points to consider when working with Binary Large Objects (LOBs) in Oracle: &lt;/p&gt;
&lt;li&gt;Internal LOBs associate with the transaction model of server and has a size limitation of 4GB. &lt;/li&gt;
&lt;li&gt;Internal LOBs are stored in the database as columns in a table while external LOBs are stored outside the database in operating system files. In your case, you can store it as a external LOB - as a BFILE so that it is stored on a disk. &lt;/li&gt;
&lt;li&gt;Every LOB has a LOB Locator associated with it which can be viewed as a handle or pointer to the actual location of the LOB value. &lt;/li&gt;
&lt;li&gt;Since only the LOB locator is stored in a row, when you query from a LOB column, Oracle only returns the LOB locator - not the entire value of the LOB. &lt;/li&gt;
&lt;li&gt;Internal LOBs are stored in the database as columns in a table while external LOBs are stored outside the database in operating system files. In your case, you can store it as a external LOB - as a BFILE so that it is stored on a disk. &lt;/li&gt;

&lt;p&gt;&lt;strong&gt;Possibly Related Posts:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=126&quot;&gt;HOW TO: Achieve High Availability for Web Services Hub in the event of a failover&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=124&quot;&gt;HOW TO: Disable the XMLW_31213 error messages in the PowerCenter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=106&quot;&gt;HOW TO: Use “Is_Null” and “Not Is_Null” functions with Rule Based Analyzer Component in Data Quality&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=101&quot;&gt;What changes are required in PowerCenter when the server or client machine IP address changes?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=74&quot;&gt;HOW TO: Write column names to the first row of a flat file target&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;p class=&quot;addtoany_share_save_container&quot;&gt;
    &lt;a class=&quot;a2a_dd addtoany_share_save&quot; href=&quot;http://www.addtoany.com/share_save?sitename=Data%20Warehouse%20Story&amp;amp;siteurl=http%3A%2F%2Fblog.mydwbi.com%2F&amp;amp;linkname=HOW%20TO%3A%20Read%20an%20unstructured%20binary%20file%20and%20load%20it%20to%20an%20Oracle%20BLOB%20column&amp;amp;linkurl=http%3A%2F%2Fblog.mydwbi.com%2F%3Fp%3D103&quot;&gt;&lt;img src=&quot;http://blog.mydwbi.com/wp-content/plugins/add-to-any/share_save_256_24.gif&quot; width=&quot;256&quot; height=&quot;24&quot; alt=&quot;Share/Save/Bookmark&quot;/&gt;&lt;/a&gt;

	&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.mydwbi.com/?feed=rss2&amp;p=103</wfw:commentRss><description>Solution   

PowerCenter does not support reading or writing unstructured binary files such as image (&quot; .jpg &quot;, &quot; .bmp &quot;) files or compressed (&quot; .zip &quot;) files. 

Workaround: 
Use an Oracle Stored Procedure and call the stored procedure in the mapping as post\pre target load or post session command of any session. 

Example: 
The following is a stored procedure which uses the DBMS_LOB package to read and load a .zip file into an Oracle database:</description><category>oracle</category><category>Informatica</category><category>blob</category><pubDate>Wed, 22 Oct 2008 09:31:49 +0800</pubDate><author>lynx286</author><comments>http://blog.mydwbi.com/?p=103#comments</comments><guid isPermaLink="false">http://blog.mydwbi.com/?p=103</guid><dc:creator>lynx286</dc:creator><fs:srclink>http://blog.mydwbi.com/?p=103</fs:srclink><fs:srcfeed>http://blog.mydwbi.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/mydwbiblog/~7129164/198629426/5168874</fs:itemid></item><item><title>What changes are required in PowerCenter when the server or client machine IP address changes?</title><link>http://item.feedsky.com/~feedsky/mydwbiblog/~7129164/198629427/5168874/1/item.html</link><content:encoded>&lt;p&gt;There are no changes required in PowerCenter as long as the host name remains same and you use a host name in your domain, node and services configuration. &lt;/p&gt;
&lt;p&gt;There is no connectivity changes required in the PowerCenter clients. &lt;/p&gt;
&lt;p&gt;However, if the IP address of the node, instead of hostname, is configured  at the domain level, then do the following:&lt;/p&gt;
&lt;li&gt;Backup the domain by executing infasetup backupdomain command &lt;/li&gt;
&lt;li&gt;Make changes to the backup file by editing it with the new IP address&lt;/li&gt;
&lt;li&gt;Restore the domain&lt;/li&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;br /&gt;
This is under the assumption that there are no additional changes in the network. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Possibly Related Posts:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=126&quot;&gt;HOW TO: Achieve High Availability for Web Services Hub in the event of a failover&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=124&quot;&gt;HOW TO: Disable the XMLW_31213 error messages in the PowerCenter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=106&quot;&gt;HOW TO: Use “Is_Null” and “Not Is_Null” functions with Rule Based Analyzer Component in Data Quality&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=103&quot;&gt;HOW TO: Read an unstructured binary file and load it to an Oracle BLOB column&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.mydwbi.com/?p=74&quot;&gt;HOW TO: Write column names to the first row of a flat file target&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;p class=&quot;addtoany_share_save_container&quot;&gt;
    &lt;a class=&quot;a2a_dd addtoany_share_save&quot; href=&quot;http://www.addtoany.com/share_save?sitename=Data%20Warehouse%20Story&amp;amp;siteurl=http%3A%2F%2Fblog.mydwbi.com%2F&amp;amp;linkname=What%20changes%20are%20required%20in%20PowerCenter%20when%20the%20server%20or%20client%20machine%20IP%20address%20changes%3F&amp;amp;linkurl=http%3A%2F%2Fblog.mydwbi.com%2F%3Fp%3D101&quot;&gt;&lt;img src=&quot;http://blog.mydwbi.com/wp-content/plugins/add-to-any/share_save_256_24.gif&quot; width=&quot;256&quot; height=&quot;24&quot; alt=&quot;Share/Save/Bookmark&quot;/&gt;&lt;/a&gt;

	&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.mydwbi.com/?feed=rss2&amp;p=101</wfw:commentRss><description>There are no changes required in PowerCenter as long as the host name remains same and you use a host name in your domain, node and services configuration. 
There is no connectivity changes required in the PowerCenter clients. 
However, if the IP address of the node, instead of hostname, is configured  at the domain level, then do the following:
Backup the domain by executing infasetup backupdomain command 
Make changes to the backup file by editing it with the new IP address 
Restore the domain</description><category>IP Address</category><category>Informatica</category><pubDate>Tue, 07 Oct 2008 22:59:31 +0800</pubDate><author>lynx286</author><comments>http://blog.mydwbi.com/?p=101#comments</comments><guid isPermaLink="false">http://blog.mydwbi.com/?p=101</guid><dc:creator>lynx286</dc:creator><fs:srclink>http://blog.mydwbi.com/?p=101</fs:srclink><fs:srcfeed>http://blog.mydwbi.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/mydwbiblog/~7129164/198629427/5168874</fs:itemid></item></channel></rss>