<?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>NewPush &#187; DB2 9.7</title> <atom:link href="http://newpush.com/tag/db2-9-7/feed/" rel="self" type="application/rss+xml" /><link>http://newpush.com</link> <description>Server Hosting, Data Warehouse Hosting, Collaboration</description> <lastBuildDate>Mon, 30 Jan 2012 15:40:45 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Migrating Data Between DB2 Servers</title><link>http://newpush.com/2010/10/migrating-data-between-db2-servers/</link> <comments>http://newpush.com/2010/10/migrating-data-between-db2-servers/#comments</comments> <pubDate>Fri, 29 Oct 2010 06:32:02 +0000</pubDate> <dc:creator>Pete</dc:creator> <category><![CDATA[AIX]]></category> <category><![CDATA[Business Intelligence]]></category> <category><![CDATA[Cloud Computing]]></category> <category><![CDATA[Cognos 10]]></category> <category><![CDATA[Data Warehouse]]></category> <category><![CDATA[DB2]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac OS X]]></category> <category><![CDATA[Managed Hosting]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[DB2 9.7]]></category><guid isPermaLink="false">http://newpush.com/?p=815</guid> <description><![CDATA[DB2 Support for Data Migration When it is time to upgrade from DB2 on Intel to DB2 on Power for example, taking a backup/restore approach isn&#8217;t possible as DB2&#8242;s backups are platform dependent. The solution is to use a DB2 &#8230; <a href="http://newpush.com/2010/10/migrating-data-between-db2-servers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<h1>DB2 Support for Data Migration</h1><p>When it is time to upgrade from DB2 on Intel to DB2 on Power for example, taking a backup/restore approach isn&#8217;t possible as DB2&#8242;s backups are platform dependent.  The solution is to use a DB2 command called <code>db2move</code>.</p><h2>Basics of db2move</h2><p>db2move allows to export data from DB2 at different levels of granularity.  It also has a very simple syntax to allow exporting all of the data and structure of a database.</p><h2>Exmaple of db2move</h2><p><code><br /> su - db2inst1<br /> mkdir /tmp/db2export<br /> cd /tmp/db2export<br /> db2move sample export<br /> </code><br /> Where <code>db2inst1</code> is the db2 instance owner, <code>/tmp/db2export</code> is where the DB2 data and structures are being exported, and <code>sample</code> is the database name.</p><p>For more DB2 Support hints, please visit our <a href="http://newpush.com/category/tech/db2/">DB2</a> category.</p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2010/10/migrating-data-between-db2-servers/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Migrating Data to DB2 9.7 LUW</title><link>http://newpush.com/2010/08/migrating-data-to-db2-9-7-luw/</link> <comments>http://newpush.com/2010/08/migrating-data-to-db2-9-7-luw/#comments</comments> <pubDate>Sun, 08 Aug 2010 04:45:35 +0000</pubDate> <dc:creator>Pete</dc:creator> <category><![CDATA[AIX]]></category> <category><![CDATA[Cloud Computing]]></category> <category><![CDATA[Data Warehouse]]></category> <category><![CDATA[DB2]]></category> <category><![CDATA[Hosting Support]]></category> <category><![CDATA[Java]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac OS X]]></category> <category><![CDATA[Data Migration]]></category> <category><![CDATA[DB2 9.7]]></category> <category><![CDATA[IBM Data Movement Tool]]></category> <category><![CDATA[Migration Toolkit]]></category> <category><![CDATA[MTK]]></category><guid isPermaLink="false">http://newpush.com/?p=629</guid> <description><![CDATA[Problem You reached the limit or your unhappy with the performance or features of your database server, and you want to move to DB2. The transition can be simple with respect to your code, as it may be just a &#8230; <a href="http://newpush.com/2010/08/migrating-data-to-db2-9-7-luw/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<h4>Problem</h4><p>You reached the limit or your unhappy with the performance or features of your database server, and you want to move to DB2.  The transition can be simple with respect to your code, as it may be just a matter of changing a few lines of code for the connection string, and setting the correct compatibility mode in DB2.  But how do you move your data?</p><h4>Solution</h4><p>IBM has published a <a href="https://www.ibm.com/developerworks/data/library/techarticle/dm-0906datamovement/">data migration toolkit</a>, that has been updated to work best with DB2 9.7.  Make sure you have service pack 2 installed, which is the latest service pack available as of this writing.</p><p>If you are migrating from MySQL or PostgreSQL, enable the ability to do limits and offsets in the where clause with:<code><br /> db2stop force<br /> echo Set compatibility to 01 or 0F<br /> db2set DB2_COMPATIBILITY_VECTOR=01<br /> db2start<br /> </code></p><h4>References</h4><ul><li><a href="https://www.ibm.com/developerworks/data/library/techarticle/dm-0906datamovement/">DB2 9.7: IBM Data Movement Tool</a></li><li><a href="http://www.redbooks.ibm.com/redbooks/pdfs/sg247093.pdf">MySQL to DB2 conversion guide</a></li><li><a href="http://www.mediawiki.org/wiki/Manual:IBM_DB2">IBM DB2 for MediaWiki</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2010/08/migrating-data-to-db2-9-7-luw/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>DB2 9.7.2 Log files on Windows 7</title><link>http://newpush.com/2010/06/db2-9-7-2-log-files-on-windows-7/</link> <comments>http://newpush.com/2010/06/db2-9-7-2-log-files-on-windows-7/#comments</comments> <pubDate>Sat, 12 Jun 2010 15:36:19 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[DB2]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[DB2 9.7]]></category> <category><![CDATA[IBM]]></category> <category><![CDATA[Windows 7]]></category><guid isPermaLink="false">http://www.wdream.com/?p=571</guid> <description><![CDATA[Problem Since Windows Vista (that includes Windows 7), the place where programs store some of their information has changed. This makes finding the DB2 log files (equivalent of db2diag.log) more difficult. Solution The log files have moved under the directory &#8230; <a href="http://newpush.com/2010/06/db2-9-7-2-log-files-on-windows-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<h4>Problem</h4><p>Since Windows Vista (that includes Windows 7), the place where programs store some of their information has changed.  This makes finding the DB2 log files (equivalent of <code>db2diag.log</code>) more difficult.</p><h4>Solution</h4><p>The log files have moved under the directory tree node <code>C:/Program Data/IBM/DB2/DB2COPY1/DB2</code>.  Under that directory there is a <code>log</code> and an <code>events</code> directory.  This being Windows, the <code>events</code> directory has the logs that on Linux/Unix are the equivalent of the <code>db2diag.log</code>.</p><h4>References</h4><p><a href="http://mhubel.com/index.php/db2-blog/Windows-Vista-Where-is-db2diag.log-location--50.html">Windows Vista: Where is db2diag.log location? </a></p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2010/06/db2-9-7-2-log-files-on-windows-7/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Create Explain Tables in DB2 9.7</title><link>http://newpush.com/2010/06/create-explain-tables-in-db2-9-7/</link> <comments>http://newpush.com/2010/06/create-explain-tables-in-db2-9-7/#comments</comments> <pubDate>Wed, 02 Jun 2010 01:39:37 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[AIX]]></category> <category><![CDATA[DB2]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac OS X]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[DB2 9.7]]></category> <category><![CDATA[IBM]]></category><guid isPermaLink="false">http://www.wdream.com/?p=562</guid> <description><![CDATA[Problem The explain tables allow to create access plans and visualize them. Before the explain feature of DB2 can be used, the EXPLAIN tables need to be generated. Solution To create the EXPLAIN tables, the following command needs to be &#8230; <a href="http://newpush.com/2010/06/create-explain-tables-in-db2-9-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<h4>Problem</h4><p>The explain tables allow to create access plans and visualize them.  Before the explain feature of DB2 can be used, the EXPLAIN tables need to be generated.</p><h4>Solution</h4><p>To create the EXPLAIN tables, the following command needs to be issued while connected to the database that the access plain needs to be generated in:<code><br /> CALL SYSPROC.SYSINSTALLOBJECTS('EXPLAIN','C',NULL,'EXPLAIN_SCHEMA')<br /> </code></p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2010/06/create-explain-tables-in-db2-9-7/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Compiling C code on Windows 7 for DB2 9.7 64bit</title><link>http://newpush.com/2010/04/compiling-c-code-on-windows-7-for-db2-9-7-64bit/</link> <comments>http://newpush.com/2010/04/compiling-c-code-on-windows-7-for-db2-9-7-64bit/#comments</comments> <pubDate>Wed, 21 Apr 2010 23:18:43 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[DB2]]></category> <category><![CDATA[DB2 9.7]]></category> <category><![CDATA[Visual Studio 10]]></category> <category><![CDATA[Windows 7]]></category> <category><![CDATA[x86_64]]></category><guid isPermaLink="false">http://www.wdream.com/?p=555</guid> <description><![CDATA[Problem The %DB2PATH%\SQLLIB\samples\c directory on windows contains many examples of C routines to extend DB2 or to work with DB2 from C programs. This article describes how to compile the sample code for 64 bit. Solution Set the environment (VC &#8230; <a href="http://newpush.com/2010/04/compiling-c-code-on-windows-7-for-db2-9-7-64bit/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<h4>Problem</h4><p>The <code>%DB2PATH%\SQLLIB\samples\c</code> directory on windows contains many examples of C routines to extend DB2 or to work with DB2 from C programs.  This article describes how to compile the sample code for 64 bit.</p><h4>Solution</h4><ul><li>Set the environment (VC includes the batch file that allows to set the environment variable): <code>C:\progra~2\micros~2.0\vc\vcvarsall.bat x64</code></li></ul> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2010/04/compiling-c-code-on-windows-7-for-db2-9-7-64bit/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Netapp Automation for DB2 9.7 (or Oracle)</title><link>http://newpush.com/2010/04/netapp-automation-for-db2-9-7-or-oracle/</link> <comments>http://newpush.com/2010/04/netapp-automation-for-db2-9-7-or-oracle/#comments</comments> <pubDate>Mon, 12 Apr 2010 01:52:43 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[AIX]]></category> <category><![CDATA[DB2]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac OS X]]></category> <category><![CDATA[CLI]]></category> <category><![CDATA[DB2 9.7]]></category> <category><![CDATA[NetApp]]></category> <category><![CDATA[useradmin]]></category><guid isPermaLink="false">http://www.wdream.com/?p=549</guid> <description><![CDATA[Problem You have one or more NetApp storage systems (F960 or later series), running Data ONTAP® 7G (or later). You would like to take advantage of the snapshot capabilities, to facilitate the database backup process. However, you don&#8217;t want to &#8230; <a href="http://newpush.com/2010/04/netapp-automation-for-db2-9-7-or-oracle/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<h4>Problem</h4><p>You have one or more NetApp storage systems (F960 or later series), running Data ONTAP® 7G (or later).  You would like to take advantage of the snapshot capabilities, to facilitate the database backup process.  However, you don&#8217;t want to use the default root login for the automated logins, nor do you want to use the unsecure rsh, as these options would violate corporate security policies (especially if you have a compliance commitment to ISO 27002, PCI or HIPAA).</p><h4>Solution</h4><p>Create a restricted users that has only login access and the ability to manage snapshots:</p><ul><li>Setup <code>ssh</code> on the filer:<code>secureadmin setup ssh</code> (it is recommended that you select long keys when you are asked 1024 and 768 for ssh v1 &#8211; ssh1 shouldn&#8217;t be enabled anyway &#8211; 2048 for ssh2).</li><li>Start <code>ssh</code> on the filer: <code>secureadmin enable ssh2</code> (at this point you should be able to log in to the filer with ssh as root with your admin password)</li><li>Create group / role / user:<code><br /> useradmin user add snapuser -g Users<br /> useradmin role add snaps -c "Snapshot Manager" -a cli-snap*,login-ssh,login-telnet<br /> useradmin group add cli-snapshot-group -r snaps<br /> useradmin user modify snapuser -f -g cli-snapshot-group<br /> useradmin user list snapuser</code><br /> The last command allows you to check your work, and the output should like:<code><br /> Name: snapuser<br /> Info:<br /> Rid: 131075<br /> Groups: cli-snapshot-group<br /> Full Name:<br /> Allowed Capabilities: cli-snap*,login-ssh,login-telnet<br /> Password min/max age in days: 0/4294967295<br /> Status: enabled</code></li><li>Put your public keys in the authorized keys file on the filer:<code>/etc/sshd/snapuser/.ssh/authorized_keys</code> (typically you do that by mounting the filer root volume on one of your AIX boxes &#8211; any OS that can mount the root volume should work).</li><li>At this point you are ready to test by logging in via ssh to the <code>snapuser</code> account.  Keep in mind that before you  can successfully log in, you have to log out from the NetApp.</li></ul><h4>References</h4><ul><li><a href="http://communities.netapp.com/thread/3136">NetApp technology Network: Read Only User</a></li><li><a href="http://cmd-cmplt.blogspot.com/2007/01/creating-snapshots-using-passwordless.html">Creating snapshots using passwordless ssh</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2010/04/netapp-automation-for-db2-9-7-or-oracle/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>DB2 Query Writing Best Practices</title><link>http://newpush.com/2010/04/db2-query-writing-best-practices/</link> <comments>http://newpush.com/2010/04/db2-query-writing-best-practices/#comments</comments> <pubDate>Thu, 08 Apr 2010 08:11:32 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[DB2]]></category> <category><![CDATA[DB2 9.7]]></category> <category><![CDATA[FETCH]]></category> <category><![CDATA[IBM]]></category> <category><![CDATA[MERGE]]></category> <category><![CDATA[UNION]]></category><guid isPermaLink="false">http://www.wdream.com/?p=545</guid> <description><![CDATA[Problem Writing efficient SQL SELECTqueries for DB2 can be tricky. Some general SQL guidelines apply, and there are also specific practices that apply only to DB2. Solution Here is a list of tips you can use to write good SELECT &#8230; <a href="http://newpush.com/2010/04/db2-query-writing-best-practices/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<h4>Problem</h4><p>Writing efficient SQL <code>SELECT</code>queries for DB2 can be tricky.  Some general SQL guidelines apply, and there are also specific practices that apply only to DB2.</p><h4>Solution</h4><p>Here is a list of tips you can use to write good <code>SELECT</code> queries:</p><ul><li>Avoid <code>SELECT *</code> in your queries. Instead, state the columns you want to select.</li><li>Use the consistent acronyms to alias your table names (makes it easier to read joins)</li><li>Use <code>FETCH ONLY x ROWS</code> to limit the results set</li><li>Use <code>CASE</code> or <code>MERGE</code> instead of <code>UNION ALL</code></li></ul><h4>References</h4><ul><li><a href="http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=/com.ibm.db2.luw.admin.perf.doc/doc/c0005283.html">Efficient SELECT statements</a></li><li><a href="http://www.ibm.com/developerworks/data/bestpractices/querytuning/">Writing and Tuning Queries for Optimal Performance</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2010/04/db2-query-writing-best-practices/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>DB2 Discovery Kit</title><link>http://newpush.com/2009/12/db2-discovery-kit/</link> <comments>http://newpush.com/2009/12/db2-discovery-kit/#comments</comments> <pubDate>Tue, 29 Dec 2009 21:40:37 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[DB2]]></category> <category><![CDATA[DB2 9.7]]></category> <category><![CDATA[IBM]]></category><guid isPermaLink="false">http://www.wdream.com/?p=445</guid> <description><![CDATA[I have posted a number of tips to use DB2. If you haven&#8217;t used DB2 before, it is one of the best databases out there, and best of all, it is available completely free from IBM. Get your DB2 discovery &#8230; <a href="http://newpush.com/2009/12/db2-discovery-kit/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I have posted a number of tips to use DB2.  If you haven&#8217;t used DB2 before, it is one of the best databases out there, and best of all, it is available completely free from IBM.   Get your <a href="http://www-304.ibm.com/jct03002c/software/data/info/expresscd/">DB2 discovery kit from IBM</a>. As <a href="http://www.amazon.com/gp/product/159059942X?ie=UTF8&#038;tag=wdr-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=159059942X">Grant Allen puts it in Beggining DB2</a>, &#8220;IBM has even thought of those of you who can’t get to their website to obtain DB2. You can e-mail or telephone IBM’s DB2 team to arrange to have the <a href="http://www-304.ibm.com/jct03002c/software/data/info/expresscd/">Discovery Kit</a> shipped to you.&#8221;</p><p><center><br /> <iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=wdr-20&#038;o=1&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=10FE9736YVPPT7A0FBG2&#038;asins=159059942X" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><br /></center></p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2009/12/db2-discovery-kit/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Register DTD for pureXML with DB2 9.7</title><link>http://newpush.com/2009/12/register-dtd-for-purexml-with-db2-9-7/</link> <comments>http://newpush.com/2009/12/register-dtd-for-purexml-with-db2-9-7/#comments</comments> <pubDate>Thu, 17 Dec 2009 13:51:14 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[DB2]]></category> <category><![CDATA[DB2 9.7]]></category> <category><![CDATA[DTD]]></category> <category><![CDATA[IBM]]></category> <category><![CDATA[pureXML]]></category> <category><![CDATA[XML]]></category> <category><![CDATA[XML Schema]]></category> <category><![CDATA[XQuery]]></category><guid isPermaLink="false">http://www.wdream.com/?p=434</guid> <description><![CDATA[Problem Even though XML schema has been around for a decade, still many APIs reference a DTD in the XML documents sent back and fourth. Such is the OpenSRS API. DB2 requires an XML schema or a DTD to be &#8230; <a href="http://newpush.com/2009/12/register-dtd-for-purexml-with-db2-9-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<h4>Problem</h4><p>Even though XML schema has been around for a decade, still many APIs reference a DTD in the XML documents sent back and fourth.  Such is the <a href="http://opensrs.com/resources/documentation/opensrsapixml/index.htm">OpenSRS API</a>.  DB2 requires an XML schema or a DTD to be registered before it will process XML documents that refer to an XML Schema or a DTD.  The process of registering such XSROBJECTs with DB2 has changed in DB2 since version 8.</p><h4>Solution</h4><ul><li>register a DTD using the DB2 9.7 command line:<code><br /> db2 CONNECT TO SAMLE<br /> db2 REGISTER XSROBJECT 'dtd-file-name.dtd' FROM /path/to/dtd/file AS sample.dtd-name DTD<br /> </code><br /> If the command is successful, the output is<code><br /> DB20000I  The REGISTER XSROBJECT command completed successfully.<br /> </code></li><li>Register a DTD from a Java program:<code><br /> String schemaName = "SAMPLE";<br /> String dtdName = "dtd-name";<br /> String dtdFile = "dtd-file-name.dtd";<br /> Reader fis = new FileReader(dtdFile);<br /> byte[] contentDtd = FileIO.readerToString(fis).getBytes();<br /> String registerProcQuery = "CALL SYSPROC.XSR_DTD (?,?,?,?,?)";<br /> PreparedStatement registerProcStatement = conn.prepareCall(registerProcQuery);<br /> registerProcStatement.setString(1, schemaName);<br /> registerProcStatement.setString(2, dtdName);<br /> registerProcStatement.setString(3, dtdFile);<br /> registerProcStatement.setString(4, "PUBLIC ID");<br /> registerProcStatement.setObject(5, contentDtd, java.sql.Types.BLOB);<br /> registerProcStatement.execute();<br /> </code><br /> The <code>FileIO</code> class can be found in <a href="http://www.amazon.com/gp/product/0596007019?ie=UTF8&#038;tag=wdr-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0596007019">Java Cookbook, Second Edition</a><img src="http://www.assoc-amazon.com/e/ir?t=wdr-20&#038;l=as2&#038;o=1&#038;a=0596007019" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></li></ul><h4>References</h4><ul><li><a href="http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=/com.ibm.db2.luw.admin.cmd.doc/doc/r0023563.html">DB2 9.7 Documentation: REGISTER XSROBJECT</a></li><li><a href="http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=/com.ibm.db2.luw.sql.ref.doc/doc/c0024419.html">DB2 9.7 Documentation: XSR_DTD procedure</a></li><li><a href="http://www.amazon.com/gp/product/0738418773?ie=UTF8&#038;tag=wdr-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0738418773">Redbook with Media : DB2 Java Stored Procedures Learning by Example (IBM Redbook)</a><img src="http://www.assoc-amazon.com/e/ir?t=wdr-20&#038;l=as2&#038;o=1&#038;a=0738418773" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></li><li><a href="http://www.amazon.com/gp/product/0596007019?ie=UTF8&#038;tag=wdr-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0596007019">Java Cookbook, Second Edition</a><img src="http://www.assoc-amazon.com/e/ir?t=wdr-20&#038;l=as2&#038;o=1&#038;a=0596007019" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></li></ul><p><center><iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=wdr-20&#038;o=1&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=10FE9736YVPPT7A0FBG2&#038;asins=0596007019" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe> <iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=wdr-20&#038;o=1&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=10FE9736YVPPT7A0FBG2&#038;asins=0738418773" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><br /></center></p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2009/12/register-dtd-for-purexml-with-db2-9-7/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Change Host Name of DB2 9.7 Server on AIX</title><link>http://newpush.com/2009/09/change-host-name-of-db2-9-7-server-on-aix-and-linux/</link> <comments>http://newpush.com/2009/09/change-host-name-of-db2-9-7-server-on-aix-and-linux/#comments</comments> <pubDate>Mon, 28 Sep 2009 09:00:09 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[AIX]]></category> <category><![CDATA[DB2]]></category> <category><![CDATA[AIX 6.1]]></category> <category><![CDATA[DB2 9.7]]></category> <category><![CDATA[IBM]]></category><guid isPermaLink="false">http://www.wdream.com/?p=400</guid> <description><![CDATA[Synopsis After changing the name of the host on which DB2 9.7 is running, the following error message is received when trying to start the database: 09/28/2009 02:32:50 0 0 SQL6048N A communication error occurred during START or STOP DATABASE &#8230; <a href="http://newpush.com/2009/09/change-host-name-of-db2-9-7-server-on-aix-and-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<h4>Synopsis</h4><p>After changing the name of the host on which DB2 9.7 is running, the following error message is received when trying to start the database:<code><br /> 09/28/2009 02:32:50     0   0   SQL6048N  A communication error occurred during START or STOP DATABASE MANAGER processing.<br /> SQL1032N  No start database manager command was issued.  SQLSTATE=57019<br /> </code></p><h4>Solution</h4><p>For each database instance on the machine where the name changed, and on each federated server instance, the file <code>$INST_HOME/sqllib/db2nodes.cfg</code> needs to be edited, and the old host name changed to the new name for each occurrence.  The format of the node lines is:<code><br /> 0 host.domain.tld 0<br /> </code></p><h4>References</h4><ul><li><a href="http://www-01.ibm.com/support/docview.wss?rs=761&#038;context=SSKNG6&#038;dc=DB520&#038;uid=swg21221940&#038;loc=en_US&#038;cs=UTF-8&#038;lang=en">DB2 does not start if the machine name is changed after DB2 is installed.</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2009/09/change-host-name-of-db2-9-7-server-on-aix-and-linux/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: newpush.com @ 2012-02-09 09:52:25 by W3 Total Cache -->
