<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: DB2 on Mac officially released</title>
	<atom:link href="http://programmingzen.com/2008/12/23/db2-on-mac-officially-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://programmingzen.com/2008/12/23/db2-on-mac-officially-released/</link>
	<description>By Antonio Cangiano, Software Engineer &#38; Technical Evangelist at IBM</description>
	<lastBuildDate>Thu, 09 Sep 2010 03:37:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Zafar Nadeem</title>
		<link>http://programmingzen.com/2008/12/23/db2-on-mac-officially-released/#comment-6682</link>
		<dc:creator>Zafar Nadeem</dc:creator>
		<pubDate>Sat, 11 Jul 2009 14:47:57 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=463#comment-6682</guid>
		<description>I just installed DB2 Express-C 9.7 and I am having the same error (see below) but in Windows XP.  Do you know how can I resolve it?

thanks in advanced.

=======================

Creating database “SAMPLE”…
Attempt to create the database “SAMPLE” failed.
SQL1205N The code page “1208? and/or territory code “0? that has been
specified is not valid.

‘db2sampl’ processing complete.

Any suggestions?

- Johannes

Johannes Fahrenkrug on January 13th, 2009 5:29 am Ok, answered my own question:

Add these two lines to your .profile

export LC_ALL=en_EN.UTF-8
export LANG=en_EN.UTF-8
and then source it. That’s it.

- Johannes</description>
		<content:encoded><![CDATA[<p>I just installed DB2 Express-C 9.7 and I am having the same error (see below) but in Windows XP.  Do you know how can I resolve it?</p>
<p>thanks in advanced.</p>
<p>=======================</p>
<p>Creating database “SAMPLE”…<br />
Attempt to create the database “SAMPLE” failed.<br />
SQL1205N The code page “1208? and/or territory code “0? that has been<br />
specified is not valid.</p>
<p>‘db2sampl’ processing complete.</p>
<p>Any suggestions?</p>
<p>- Johannes</p>
<p>Johannes Fahrenkrug on January 13th, 2009 5:29 am Ok, answered my own question:</p>
<p>Add these two lines to your .profile</p>
<p>export LC_ALL=en_EN.UTF-8<br />
export LANG=en_EN.UTF-8<br />
and then source it. That’s it.</p>
<p>- Johannes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes Fahrenkrug</title>
		<link>http://programmingzen.com/2008/12/23/db2-on-mac-officially-released/#comment-5291</link>
		<dc:creator>Johannes Fahrenkrug</dc:creator>
		<pubDate>Tue, 13 Jan 2009 13:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=463#comment-5291</guid>
		<description>I&#039;ve put together my experience installing DB2 for Mac and getting the Radiant CMS up and running on it in this blog post: 

http://blog.springenwerk.com/2009/01/ibm-db2-on-mac-with-ruby-rails-and.html

Enjoy!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve put together my experience installing DB2 for Mac and getting the Radiant CMS up and running on it in this blog post: </p>
<p><a href="http://blog.springenwerk.com/2009/01/ibm-db2-on-mac-with-ruby-rails-and.html" rel="nofollow">http://blog.springenwerk.com/2009/01/ibm-db2-on-mac-with-ruby-rails-and.html</a></p>
<p>Enjoy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes Fahrenkrug</title>
		<link>http://programmingzen.com/2008/12/23/db2-on-mac-officially-released/#comment-5290</link>
		<dc:creator>Johannes Fahrenkrug</dc:creator>
		<pubDate>Tue, 13 Jan 2009 10:29:09 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=463#comment-5290</guid>
		<description>Ok, answered my own question:

Add these two lines to your .profile
&lt;pre&gt;
export LC_ALL=en_EN.UTF-8 
export LANG=en_EN.UTF-8
&lt;/pre&gt; 
and then source it. That&#039;s it.

- Johannes</description>
		<content:encoded><![CDATA[<p>Ok, answered my own question:</p>
<p>Add these two lines to your .profile</p>
<pre>
export LC_ALL=en_EN.UTF-8
export LANG=en_EN.UTF-8
</pre>
<p>and then source it. That&#8217;s it.</p>
<p>- Johannes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes Fahrenkrug</title>
		<link>http://programmingzen.com/2008/12/23/db2-on-mac-officially-released/#comment-5289</link>
		<dc:creator>Johannes Fahrenkrug</dc:creator>
		<pubDate>Tue, 13 Jan 2009 09:58:57 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=463#comment-5289</guid>
		<description>Hi!
&lt;br/&gt;
This is incredible news. I&#039;ve been working with DB2 for years and it&#039;s a great DB. Wonderful to see it on a great OS now ;-)
I have an issue though. When I run the db2sampl command, I get this:
&lt;br/&gt;
Creating database &quot;SAMPLE&quot;...
  Attempt to create the database &quot;SAMPLE&quot; failed.
  SQL1205N  The code page &quot;1208&quot; and/or territory code &quot;0&quot; that has been 
specified is not valid.
&lt;br/&gt;
  &#039;db2sampl&#039; processing complete.
&lt;br/&gt;
Any suggestions?
&lt;br/&gt;
- Johannes</description>
		<content:encoded><![CDATA[<p>Hi!<br />
<br />
This is incredible news. I&#8217;ve been working with DB2 for years and it&#8217;s a great DB. Wonderful to see it on a great OS now <img src='http://programmingzen.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
I have an issue though. When I run the db2sampl command, I get this:<br />
<br />
Creating database &#8220;SAMPLE&#8221;&#8230;<br />
  Attempt to create the database &#8220;SAMPLE&#8221; failed.<br />
  SQL1205N  The code page &#8220;1208&#8243; and/or territory code &#8220;0&#8243; that has been<br />
specified is not valid.<br />
<br />
  &#8216;db2sampl&#8217; processing complete.<br />
<br />
Any suggestions?<br />
<br />
- Johannes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Torsten Grust</title>
		<link>http://programmingzen.com/2008/12/23/db2-on-mac-officially-released/#comment-5283</link>
		<dc:creator>Torsten Grust</dc:creator>
		<pubDate>Mon, 12 Jan 2009 08:02:06 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=463#comment-5283</guid>
		<description>Dear all,
&lt;br/&gt;
the IBM DB2 on Mac OS X team prepared new download packages.  For me, these new packages now work right out of the box — just as advertised by Antonio above.
&lt;br/&gt;
I&#039;d like to thank the team for their responsiveness and help in resolving this — as it turned out — 32-bit vs. 64-bit library issue.
&lt;br/&gt;
Best wishes,
  --Torsten</description>
		<content:encoded><![CDATA[<p>Dear all,<br />
<br />
the IBM DB2 on Mac OS X team prepared new download packages.  For me, these new packages now work right out of the box — just as advertised by Antonio above.<br />
<br />
I&#8217;d like to thank the team for their responsiveness and help in resolving this — as it turned out — 32-bit vs. 64-bit library issue.<br />
<br />
Best wishes,<br />
  &#8211;Torsten</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Torsten Grust</title>
		<link>http://programmingzen.com/2008/12/23/db2-on-mac-officially-released/#comment-5250</link>
		<dc:creator>Torsten Grust</dc:creator>
		<pubDate>Tue, 06 Jan 2009 20:56:25 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=463#comment-5250</guid>
		<description>Hi Praveen,
&lt;br/&gt;
many thanks for your reply.  You&#039;re pointing at libicclib.dylib and, indeed, I can find this file only in the sqllib/lib64/icc/icclib directory (note: lib64, not lib32).  In fact, there is *no* icc subdirectory below sqllib/lib32...
&lt;br/&gt;
This coincides with my observation that I can compile/link/run 64-bit CLI applications just fine, but receive &#039;Bus Errors&#039; once I try do the same with a 32-bit application.  (Here&#039;s the corresponding posting in the DB2 Express-C forum:
http://www.ibm.com/developerworks/forums/thread.jspa?threadID=238971&amp;tstart=0
&lt;br/&gt;
I dug deep into the db2exc_952beta_MAC_x86_64.tar.gz and db2exc_client_952beta_MAC_x86_64.tar.gz files (and the contained tar archives) and can only find the sqllib/lib64/icc directory and its contents.  No sqllib/lib32/icc directory at all.  
&lt;br/&gt;
Hmm...
&lt;br/&gt;
Many thanks again,
   --Torsten</description>
		<content:encoded><![CDATA[<p>Hi Praveen,<br />
<br />
many thanks for your reply.  You&#8217;re pointing at libicclib.dylib and, indeed, I can find this file only in the sqllib/lib64/icc/icclib directory (note: lib64, not lib32).  In fact, there is *no* icc subdirectory below sqllib/lib32&#8230;<br />
<br />
This coincides with my observation that I can compile/link/run 64-bit CLI applications just fine, but receive &#8216;Bus Errors&#8217; once I try do the same with a 32-bit application.  (Here&#8217;s the corresponding posting in the DB2 Express-C forum:<br />
<a href="http://www.ibm.com/developerworks/forums/thread.jspa?threadID=238971&amp;tstart=0" rel="nofollow">http://www.ibm.com/developerworks/forums/thread.jspa?threadID=238971&amp;tstart=0</a><br />
<br />
I dug deep into the db2exc_952beta_MAC_x86_64.tar.gz and db2exc_client_952beta_MAC_x86_64.tar.gz files (and the contained tar archives) and can only find the sqllib/lib64/icc directory and its contents.  No sqllib/lib32/icc directory at all.<br />
<br />
Hmm&#8230;<br />
<br />
Many thanks again,<br />
   &#8211;Torsten</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Praveen</title>
		<link>http://programmingzen.com/2008/12/23/db2-on-mac-officially-released/#comment-5235</link>
		<dc:creator>Praveen</dc:creator>
		<pubDate>Tue, 06 Jan 2009 05:27:03 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=463#comment-5235</guid>
		<description>Hi Torsten,
&lt;br/&gt;
The bus error might be because the DB2 client is not able to find a required library or might be the ipc resources available on the system is less. Could you check if there is a file named libicclib.dylib present in the directory /sqllib/lib32/icc/icclib. If you are seeing a libicclib.so instead of libicclib.dylib please rename the file to libicclib.dylib. With this you should be able to get going with the ibm_db gem without any problems. 
&lt;br/&gt;
If the files specified above are as required, then you would need to check the ipc resources on your system.
&lt;br/&gt;
Thanks 
&lt;br/&gt;
Praveen</description>
		<content:encoded><![CDATA[<p>Hi Torsten,<br />
<br />
The bus error might be because the DB2 client is not able to find a required library or might be the ipc resources available on the system is less. Could you check if there is a file named libicclib.dylib present in the directory /sqllib/lib32/icc/icclib. If you are seeing a libicclib.so instead of libicclib.dylib please rename the file to libicclib.dylib. With this you should be able to get going with the ibm_db gem without any problems.<br />
<br />
If the files specified above are as required, then you would need to check the ipc resources on your system.<br />
<br />
Thanks<br />
<br />
Praveen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Torsten Grust</title>
		<link>http://programmingzen.com/2008/12/23/db2-on-mac-officially-released/#comment-5221</link>
		<dc:creator>Torsten Grust</dc:creator>
		<pubDate>Mon, 05 Jan 2009 11:45:31 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=463#comment-5221</guid>
		<description>Dear all,
&lt;br/&gt;
I&#039;ve successfully installed DB2 V9.5 Express-C on my 10.5.6 Mac OS X system.  Creation of the SAMPLE database (db2sampl) worked just fine and first tests (SQL queries, ODBC connects) indicate that the DBMS works as it should.
&lt;br/&gt;
When I follow Antonio&#039;s recipe (thanks!) to install the ibm_db gem, however, everythings appears to work OK first.
I then stumble quickly, though:
&lt;pre&gt;
$ irb -rubygems
&gt;&gt; require &#039;ibm_db.bundle&#039;
=&gt; true
&gt;&gt; conn = IBM_DB.connect(&quot;sample&quot;,&quot;grust&quot;,&quot;XXX&quot;)
(irb):2: [BUG] Bus Error
ruby 1.8.6 (2008-03-03) [universal-darwin9.0]

Abort trap 
&lt;/pre&gt;
Has anyone seen similar behavior/problems?  I&#039;d appreciate any hint or insight!
&lt;br/&gt;
Thanks and best wishes for 2009,
  --Torsten</description>
		<content:encoded><![CDATA[<p>Dear all,<br />
<br />
I&#8217;ve successfully installed DB2 V9.5 Express-C on my 10.5.6 Mac OS X system.  Creation of the SAMPLE database (db2sampl) worked just fine and first tests (SQL queries, ODBC connects) indicate that the DBMS works as it should.<br />
<br />
When I follow Antonio&#8217;s recipe (thanks!) to install the ibm_db gem, however, everythings appears to work OK first.<br />
I then stumble quickly, though:</p>
<pre>
$ irb -rubygems
&gt;&gt; require 'ibm_db.bundle'
=&gt; true
&gt;&gt; conn = IBM_DB.connect("sample","grust","XXX")
(irb):2: [BUG] Bus Error
ruby 1.8.6 (2008-03-03) [universal-darwin9.0]

Abort trap
</pre>
<p>Has anyone seen similar behavior/problems?  I&#8217;d appreciate any hint or insight!<br />
<br />
Thanks and best wishes for 2009,<br />
  &#8211;Torsten</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andruby</title>
		<link>http://programmingzen.com/2008/12/23/db2-on-mac-officially-released/#comment-5069</link>
		<dc:creator>Andruby</dc:creator>
		<pubDate>Sun, 28 Dec 2008 15:26:07 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=463#comment-5069</guid>
		<description>Hi. I&#039;ve seen quite a few announcements on DB2 lately. Could anyone point out what the key advantages of DB2 are? Compared to, for example, PostgreSQL. 

I maintain a rails frontend app that runs on PostgreSQL which imports data periodically from a DB2 database. I am wondering if changing to DB2 would yield any benefits.</description>
		<content:encoded><![CDATA[<p>Hi. I&#8217;ve seen quite a few announcements on DB2 lately. Could anyone point out what the key advantages of DB2 are? Compared to, for example, PostgreSQL. </p>
<p>I maintain a rails frontend app that runs on PostgreSQL which imports data periodically from a DB2 database. I am wondering if changing to DB2 would yield any benefits.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonio Cangiano</title>
		<link>http://programmingzen.com/2008/12/23/db2-on-mac-officially-released/#comment-5064</link>
		<dc:creator>Antonio Cangiano</dc:creator>
		<pubDate>Sat, 27 Dec 2008 22:49:43 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=463#comment-5064</guid>
		<description>Len, thank you very much for the pointer. I wasn&#039;t aware of RazorSQL, but I will definitely check it out as soon as I get a new Mac.</description>
		<content:encoded><![CDATA[<p>Len, thank you very much for the pointer. I wasn&#8217;t aware of RazorSQL, but I will definitely check it out as soon as I get a new Mac.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
