<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Charles's Host Integration Server Ramblings - All Comments</title><link>http://blogs.msdn.com/b/charliee/</link><description>The intent is to share some knowledge about Host Integration Server (HIS) that are not well documented, not well known, as well as various tidbits that come up when supporting HIS and all the various components.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: WMI and Host Integration Server…</title><link>http://blogs.msdn.com/b/charliee/archive/2009/06/06/wmi-and-host-integration-server.aspx#9866520</link><pubDate>Wed, 12 Aug 2009 17:49:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9866520</guid><dc:creator>Charles Ezzell</dc:creator><description>&lt;p&gt;Vijay,&lt;/p&gt;
&lt;p&gt;Sorry for the delay, just saw that you had left a comment.&lt;/p&gt;
&lt;p&gt;Take a look at the wmisnastatus.mof &lt;/p&gt;
&lt;p&gt;file in the %snaroot% directory.&lt;/p&gt;
&lt;p&gt;Status is defined as:&lt;/p&gt;
&lt;p&gt;	[read, values {&amp;quot;&amp;quot;, &amp;quot;Inactive&amp;quot;, &amp;quot;Pending&amp;quot;, &amp;quot;Stopping&amp;quot;, &amp;quot;Active&amp;quot; }, Description(&amp;quot;The current status of the connection--Inactive, Pending, Stopping, or Active.&amp;quot;) ]&lt;/p&gt;
&lt;p&gt;	uint32 Status;&lt;/p&gt;
&lt;p&gt;while StatusText is defined as:&lt;/p&gt;
&lt;p&gt;	[read, values {&amp;quot;&amp;quot;, &amp;quot;Inactive&amp;quot;, &amp;quot;Pending&amp;quot;, &amp;quot;Stopping&amp;quot;, &amp;quot;Active&amp;quot;,&lt;/p&gt;
&lt;p&gt;					 &amp;nbsp;&amp;quot;Incoming&amp;quot;, &amp;quot;OnDemand&amp;quot;, &amp;quot;OnDemandIncoming&amp;quot;}, Description(&amp;quot;One of the status values.&amp;quot;) ] &lt;/p&gt;
&lt;p&gt;	string StatusText;				// one of the Status values&lt;/p&gt;
&lt;p&gt;While they appear similar, there is a difference, as StatusText will indicate if this is an OnDemand Connection or not.&lt;/p&gt;
&lt;p&gt;Granted, there is some inconsistency here, but internally there is a bit of a difference in what is returned for each. To be honest, I've not used the connection status that often, other than to display the StatusText value that is returned when testing. For example:&lt;/p&gt;
&lt;p&gt;-----------------------------------&lt;/p&gt;
&lt;p&gt;MsSnaStatus_Connection instance&lt;/p&gt;
&lt;p&gt;-----------------------------------&lt;/p&gt;
&lt;p&gt;InactiveState: 2&lt;/p&gt;
&lt;p&gt;Name: PRINT&lt;/p&gt;
&lt;p&gt;Status: 1&lt;/p&gt;
&lt;p&gt;StatusText: OnDemand&lt;/p&gt;
&lt;p&gt;-----------------------------------&lt;/p&gt;
&lt;p&gt;MsSnaStatus_Connection instance&lt;/p&gt;
&lt;p&gt;-----------------------------------&lt;/p&gt;
&lt;p&gt;InactiveState: 0&lt;/p&gt;
&lt;p&gt;Name: 3270D&lt;/p&gt;
&lt;p&gt;Status: 4&lt;/p&gt;
&lt;p&gt;StatusText: Active&lt;/p&gt;
&lt;p&gt;On the 1st (Print), looking at the MOF, the inactivestate = 2 matches with &amp;quot;OnDemand&amp;quot;. The status (1) matches &amp;quot;Inactive&amp;quot;, which is true, and the StatusText value indicates again &amp;quot;OnDemand&amp;quot;.&lt;/p&gt;
&lt;p&gt;For the 2nd (3270D)&lt;/p&gt;
&lt;p&gt;Inactive = 0, which can really be ignored since the connection is actually active (this might be a bug, not sure). Status = 4, which is &amp;quot;Active&amp;quot; and matches the StatusText. It is possible for the connection to have a Status of 4 and a StatusText of &amp;quot;incoming', depending on timing of the query. Personally, I would use Status or StatusText alone, not both.&lt;/p&gt;
&lt;p&gt;Not sure if this helps, but hopefully.&lt;/p&gt;
&lt;p&gt;Charles&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9866520" width="1" height="1"&gt;</description></item><item><title>re: WMI and Host Integration Server…</title><link>http://blogs.msdn.com/b/charliee/archive/2009/06/06/wmi-and-host-integration-server.aspx#9857886</link><pubDate>Wed, 05 Aug 2009 12:13:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9857886</guid><dc:creator>vijay_yadav@persistent.co.in</dc:creator><description>&lt;p&gt;Hi Charles,&lt;/p&gt;
&lt;p&gt;I have an doubt on WMI class property values.&lt;/p&gt;
&lt;p&gt;The WMI class MsSnaStatus_Connection has two properties &lt;/p&gt;
&lt;p&gt;1. Status and&lt;/p&gt;
&lt;p&gt;2. StatusText&lt;/p&gt;
&lt;p&gt;Q1. Why the data type of StatusText is string even it is having numeric value as 0,1,2,3,4 and 5. What value this class will display for StatusText (0 to 5 or description value in string)&lt;/p&gt;
&lt;p&gt;Q2. What is the purpose of having Status field when we already have StatusText field. And how Status field is related with StatusText field.&lt;/p&gt;
&lt;p&gt;Please provide your valuable input asap.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vijay&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9857886" width="1" height="1"&gt;</description></item><item><title> Charles s Host Integration Server Ramblings DB2 Code Page Fun | debt settlement program</title><link>http://blogs.msdn.com/b/charliee/archive/2008/10/31/db2-code-page-fun.aspx#9787754</link><pubDate>Fri, 19 Jun 2009 17:06:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9787754</guid><dc:creator> Charles s Host Integration Server Ramblings DB2 Code Page Fun | debt settlement program</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://edebtsettlementprogram.info/story.php?id=22912"&gt;http://edebtsettlementprogram.info/story.php?id=22912&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9787754" width="1" height="1"&gt;</description></item><item><title> Charles s Host Integration Server Ramblings Performance Testing the | Insomnia Cure</title><link>http://blogs.msdn.com/b/charliee/archive/2009/06/03/performance-testing-the-microsoft-ole-db-provider-for-db2-part-2.aspx#9710486</link><pubDate>Tue, 09 Jun 2009 01:34:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9710486</guid><dc:creator> Charles s Host Integration Server Ramblings Performance Testing the | Insomnia Cure</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://insomniacuresite.info/story.php?id=10473"&gt;http://insomniacuresite.info/story.php?id=10473&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9710486" width="1" height="1"&gt;</description></item><item><title>Performance Testing the Microsoft OLE DB Provider for DB2 (Part 3) - Charles</title><link>http://blogs.msdn.com/b/charliee/archive/2009/06/03/performance-testing-the-microsoft-ole-db-provider-for-db2-part-3.aspx#9698125</link><pubDate>Thu, 04 Jun 2009 06:47:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9698125</guid><dc:creator>DotNetShoutout</dc:creator><description>&lt;p&gt;Thank you for submitting this cool story - Trackback from DotNetShoutout&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9698125" width="1" height="1"&gt;</description></item><item><title>Using PowerShell to Access DB2 | MS Tech News</title><link>http://blogs.msdn.com/b/charliee/archive/2008/10/31/using-powershell-to-access-db2.aspx#9026471</link><pubDate>Fri, 31 Oct 2008 14:57:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9026471</guid><dc:creator>Using PowerShell to Access DB2 | MS Tech News</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://mstechnews.info/2008/10/using-powershell-to-access-db2/"&gt;http://mstechnews.info/2008/10/using-powershell-to-access-db2/&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9026471" width="1" height="1"&gt;</description></item><item><title>infoblog &amp;raquo; Importing CHAR() fields containing null values from DB2 to SQL Server via SSIS</title><link>http://blogs.msdn.com/b/charliee/archive/2008/10/30/importing-char-fields-containing-null-values-from-db2-to-sql-server-via-ssis.aspx#9024769</link><pubDate>Thu, 30 Oct 2008 19:31:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9024769</guid><dc:creator>infoblog &amp;raquo; Importing CHAR() fields containing null values from DB2 to SQL Server via SSIS</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blog.a-foton.ru/index.php/2008/10/30/importing-char-fields-containing-null-values-from-db2-to-sql-server-via-ssis/"&gt;http://blog.a-foton.ru/index.php/2008/10/30/importing-char-fields-containing-null-values-from-db2-to-sql-server-via-ssis/&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9024769" width="1" height="1"&gt;</description></item></channel></rss>