<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8347293</id><updated>2024-09-09T03:38:34.950-07:00</updated><title type='text'>Talk about DB2</title><subtitle type='html'>A blog that discusses DB2 stuff.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8347293.post-600722839116700157</id><published>2006-12-16T15:06:00.000-08:00</published><updated>2006-12-17T12:31:10.227-08:00</updated><title type='text'>Strange: Group privileges are ignored for CREATE VIEW</title><content type='html'>&lt;span class=&quot;drivenfieldvalue&quot;&gt;&lt;span dir=&quot;ltr&quot; id=&quot;DRIVEN_P_41&quot;&gt;SQL0551N &lt;user_name&gt; does not have the privilege to perform operation &quot;SELECT&quot; on object&lt;/user_name&gt;&lt;/span&gt;&lt;/span&gt; &lt;table_name&gt;&lt;/table_name&gt; &lt;table_name&gt;&lt;br /&gt;&lt;br /&gt;If a user receives this error while creating views, make sure the user is granted SELECT privilege individually. Group privileges are not considered for any table or view specified in the CREATE VIEW statement.&lt;br /&gt;&lt;br /&gt;No, its not a bug. Its documented :)&lt;br /&gt;&lt;/table_name&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/600722839116700157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/600722839116700157' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/600722839116700157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/600722839116700157'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2006/12/sql0551n-username-does-not-have.html' title='Strange: Group privileges are ignored for CREATE VIEW'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-116565470201529074</id><published>2006-12-09T00:53:00.000-08:00</published><updated>2006-12-09T01:03:22.133-08:00</updated><title type='text'>Maddocks Systems Success Story - DB2 Express Video</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www-306.ibm.com/software/data/info/maddocks/&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;http://photos1.blogger.com/x/blogger/5727/561/200/30164/DB2_express.jpg&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/116565470201529074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/116565470201529074' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/116565470201529074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/116565470201529074'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2006/12/maddocks-systems-success-story-db2.html' title='Maddocks Systems Success Story - DB2 Express Video'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-113106038583821172</id><published>2005-11-03T15:23:00.000-08:00</published><updated>2005-11-03T15:33:04.470-08:00</updated><title type='text'>Cross-node recovery - TSM</title><content type='html'>To recover/access the backup image of the database that was backed up from a different server. Typically to access production database from dev/qa&lt;br /&gt;&lt;br /&gt;Comment out &quot;PASSWORDACCESS = generate&quot; in file &quot;/usr/tivoli/tsm/client/ba/bin/dsm.sys&quot; by adding a &#39;*&#39; in the beginning of the line.&lt;br /&gt;&lt;br /&gt;Now we should be able to query any backup image, provided you have the required details.&lt;br /&gt;&lt;br /&gt;db2adutl query db &amp;lt;dbname&amp;gt; nodename &amp;lt;nodename&amp;gt; owner &amp;lt;owner&amp;gt; password &amp;lt;passwd&amp;gt;&lt;br /&gt;&lt;span style=&quot;font-family:monospace;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Update the following db parameters in the target db with source db values from dsm.sys to restore the db backed-up from a different server&lt;br /&gt;     &lt;ul&gt; &lt;li&gt;     TSM_NODENAME&lt;br /&gt;&lt;/li&gt;&lt;li&gt;     TSM_OWNER&lt;br /&gt;&lt;/li&gt;&lt;li&gt;     TSM_PASSWORD&lt;br /&gt;   &lt;/li&gt; &lt;/ul&gt;   Now restore the database with &#39;use adsm&#39; on the target server.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;NOTE:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;     Revert back the dsm.sys &amp;amp; db params after the refresh. Else local backups to TSM will fail.&lt;/li&gt; &lt;/ul&gt;Other References:  &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/db2help/index.jsp?topic=/com.ibm.db2.udb.doc/admin/c0011981.htm&quot;&gt;IBM Documentation&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/113106038583821172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/113106038583821172' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/113106038583821172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/113106038583821172'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2005/11/cross-node-recovery-tsm.html' title='Cross-node recovery - TSM'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-113052497615141128</id><published>2005-10-28T11:41:00.000-07:00</published><updated>2005-10-28T15:19:03.086-07:00</updated><title type='text'>Fly back in time and recover backups! :-)</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://photos1.blogger.com/blogger/5727/561/1600/backup.1.jpg&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;http://photos1.blogger.com/blogger/5727/561/320/backup.0.jpg&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://photos1.blogger.com/blogger/5727/561/1600/backup.0.jpg&quot;&gt;&lt;br /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/113052497615141128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/113052497615141128' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/113052497615141128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/113052497615141128'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2005/10/fly-back-in-time-and-recover-backups.html' title='Fly back in time and recover backups! :-)'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-113028365523026370</id><published>2005-10-25T16:30:00.000-07:00</published><updated>2005-10-25T16:49:17.870-07:00</updated><title type='text'>Parallel export for partitioned tables</title><content type='html'>db2_all &quot;&amp;lt;&amp;lt;+$nodenum&amp;lt;db2 connect to $dbname; db2 export to $filename of del select * from $tablename where nodenumber($partitioningkey)=$nodenumber&quot;&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;db2_all &quot;&amp;lt;&amp;lt;+11&amp;lt;db2 connect to testdb; db2 export to /backup/test_table.del.11 of del select * from test_table where nodenumber(ID) = 11; db2 terminate&quot;&lt;br /&gt;&lt;br /&gt;NOTE:&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;      Useful for large tables.&lt;/li&gt;   &lt;li&gt;      Be sure to export all the partitions in which the table is defined.&lt;/li&gt;   &lt;li&gt;      Export each partition to seperate filesystem for better performance.&lt;br /&gt; &lt;/li&gt; &lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/113028365523026370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/113028365523026370' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/113028365523026370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/113028365523026370'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2005/10/parallel-export-for-partitioned-tables.html' title='Parallel export for partitioned tables'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-112933638048958449</id><published>2005-10-14T17:10:00.000-07:00</published><updated>2005-11-03T15:30:58.890-08:00</updated><title type='text'>Cataloging AS/400 database on DB2 Connect</title><content type='html'>&lt;span style=&quot;font-family:courier new;&quot;&gt;Command sequence to catalog AS/400 database in DB2 Connect:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul  style=&quot;font-family:verdana;&quot;&gt;   &lt;li  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;db2 catalog tcpip node &amp;lt;node_name&amp;gt; remote &amp;lt;host_name&amp;gt; server &amp;lt;port_no&amp;gt;&lt;br /&gt; &lt;/span&gt;&lt;/li&gt;   &lt;li  style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;db2 catalog dcs database &amp;lt;local_name&amp;gt; as &amp;lt;real_db_name&amp;gt;&lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;db2 catalog database &amp;lt;local_name&amp;gt; as &amp;lt;alias&amp;gt; at node &amp;lt;node_name&amp;gt; authentication dcs&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/li&gt; &lt;/ul&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Command sequence to catalog the as/400 database that was already cataloged in DB2 Connect.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul  style=&quot;font-family:verdana;&quot;&gt;   &lt;li  style=&quot;font-family:courier new;&quot;&gt;db2 catalog tcpip node &amp;lt;node_name&amp;gt; remote &amp;lt;host_name_or_address&amp;gt; server &lt;span style=&quot;color: rgb(153, 0, 0);&quot;&gt;&amp;lt;port_no&amp;gt;*&lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;db2 catalog database &amp;lt;local_name&amp;gt; as &amp;lt;alias&amp;gt; at node &amp;lt;node_name&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/li&gt; &lt;/ul&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;*Use the portnumber of DB2 connect &lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);font-family:courier new;&quot; &gt;not&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt; AS/400&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/112933638048958449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/112933638048958449' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/112933638048958449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/112933638048958449'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2005/10/cataloging-as400-database-on-db2.html' title='Cataloging AS/400 database on DB2 Connect'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-112320143943624654</id><published>2005-08-04T17:23:00.000-07:00</published><updated>2005-08-04T17:23:59.443-07:00</updated><title type='text'>SQL0031C File sqllib/bnd/db2clish.bnd could not be opened and SQL0805N</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://photos1.blogger.com/blogger/5727/561/1600/Error2.jpg&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;http://photos1.blogger.com/blogger/5727/561/400/Error1.jpg&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Received the above while accessing DB2 database from MS Access. db2clish.bnd was not found in the local machine.&lt;br /&gt;&lt;br /&gt;Binding the files didn&#39;t help&lt;br /&gt;&lt;br /&gt;o   &quot;DB2 bind @db2ubind.lst blocking all grant public&quot; for the&lt;br /&gt;   DB2 utilities.&lt;br /&gt;&lt;br /&gt;o   &quot;DB2 bind @db2cli.lst blocking all grant public&quot; for CLI.&lt;br /&gt;&lt;br /&gt;Re-installing the DB2 client fixed the problem.</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/112320143943624654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/112320143943624654' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/112320143943624654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/112320143943624654'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2005/08/sql0031c-file-sqllibbnddb2clishbnd.html' title='SQL0031C File sqllib/bnd/db2clish.bnd could not be opened and SQL0805N'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-112244245588650887</id><published>2005-07-26T22:33:00.000-07:00</published><updated>2005-07-26T22:35:02.083-07:00</updated><title type='text'>DB2 Stats!</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;Instance Uptime&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;db2 get snapshot for dbm | grep -i start&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Last Backup Timestamp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;db2 get snapshot for db on dbname | grep backup&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Database Activation timestamp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;db2 get snapshot for db on dbname | grep First</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/112244245588650887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/112244245588650887' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/112244245588650887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/112244245588650887'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2005/07/db2-stats.html' title='DB2 Stats!'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-111533482412300360</id><published>2005-05-05T16:04:00.000-07:00</published><updated>2005-10-18T00:34:01.486-07:00</updated><title type='text'>SPM0438 The Sync point manager recovery log is bad</title><content type='html'>You might also see the following message when starting DB2&lt;b&gt;&lt;span style=&quot;;font-family:Arial;font-size:85%;&quot;  &gt;&lt;span style=&quot;font-weight: bold;font-family:Arial;font-size:10;&quot;  &gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 0, 0);font-family:verdana;font-size:100%;&quot;  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt; &lt;p  style=&quot;color: rgb(153, 0, 0);font-family:courier new;&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;font-size:10;&quot; &gt;SQL5043N&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-size:10;&quot;&gt; Support for one or more communications protocols failed to start successfully. However, core database manager functionality started successfully.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p  style=&quot;color: rgb(153, 0, 0);font-family:courier new;&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-size:10;&quot;&gt;or&lt;br /&gt;with the following message and db2 will not start.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p  style=&quot;color: rgb(153, 0, 0);font-family:courier new;&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-size:10;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;SQL5042N&lt;/span&gt;  One of the communication protocol server support processes failed to start up.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style=&quot;;font-family:Arial;font-size:85%;&quot;  &gt;&lt;span style=&quot;;font-family:Arial;font-size:10;&quot;  &gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Solution:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;ul&gt;   &lt;li&gt;Stop the instance&lt;/li&gt;   &lt;li&gt;Delete/move all the spm logs located in sqllib/spmlog/SPMLOGSD&lt;/li&gt;   &lt;li&gt;Also del/move SPMLOG.LCF located in sqllib/spmlog&lt;/li&gt;   &lt;li&gt;start the instance. Should starup without any error messages.&lt;br /&gt;&lt;/li&gt; &lt;/ul&gt; &lt;span style=&quot;;font-family:Arial;font-size:85%;&quot;  &gt;&lt;span style=&quot;;font-family:Arial;font-size:10;&quot;  &gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/111533482412300360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/111533482412300360' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/111533482412300360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/111533482412300360'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2005/05/spm0438-sync-point-manager-recovery.html' title='SPM0438 The Sync point manager recovery log is bad'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-111280742101596275</id><published>2005-04-06T10:02:00.000-07:00</published><updated>2005-04-06T10:13:21.163-07:00</updated><title type='text'>db2licm</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;SQL8000N DB2START processing failed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Cause: License Expired or License key have not yet been added.&lt;br /&gt;&lt;br /&gt;If you get this after installing You might have to add the license key&lt;br /&gt;&lt;br /&gt;As root&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 102, 0);&quot;&gt;/usr/opt/db2_08_01/adm/db2licm -a /ese.sbcs/db2/license/db2ese.lic&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;License added successfully!!&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;SQL8017W The number of processors on this machine exceeds the defined&lt;br /&gt;entitlement of...&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;db2licm -n &quot;Product identifier&quot; &quot;Number of processors entitled to this product&quot;&lt;br /&gt;&lt;br /&gt;db2licm -n DB2ESE 2&lt;br /&gt;&lt;br /&gt;Updates the number of processors to 2 for the product DB2ESE.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;db2licm -l&lt;/span&gt; gives more information about the installed products with license info.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/111280742101596275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/111280742101596275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/111280742101596275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/111280742101596275'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2005/04/db2licm.html' title='db2licm'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-111035626521704534</id><published>2005-03-09T00:06:00.000-08:00</published><updated>2005-03-09T00:17:45.220-08:00</updated><title type='text'>SQL0443N  Routine &quot;*RCH_1K16&quot; (specific name &quot;&quot;) has returned an error SQLSTATE with diagnostic text &quot;CTE0101 A search engine operation failed</title><content type='html'>&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Verdana;&quot;&gt;Received this error while trying to do db2text (NetSearchExtender) operation on a database that was restored from a different machine.&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Verdana;&quot;&gt;Noticed the text index was not there in the restored databases. Recreating &amp;&lt;o:p&gt;&lt;/o:p&gt; Updating the Text index helped.&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style=&quot;font-size: 10pt; font-family: Verdana;&quot;&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/111035626521704534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/111035626521704534' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/111035626521704534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/111035626521704534'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2005/03/sql0443n-routine-rch1k16-specific-name.html' title='SQL0443N  Routine &quot;*RCH_1K16&quot; (specific name &quot;&quot;) has returned an error SQLSTATE with diagnostic text &quot;CTE0101 A search engine operation failed'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-110871379784719961</id><published>2005-02-17T23:55:00.000-08:00</published><updated>2005-02-21T14:01:06.316-08:00</updated><title type='text'>SQL10004C  An I/O error occurred while accessing the database directory</title><content type='html'>&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;If there were no changes made to the Hardware. Then its most likely that the database directory file &lt;b style=&quot;&quot;&gt;sqldbdir &lt;/b&gt;is corrupted. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;You will not be able to create new databases, connect to or drop existing databases.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;u&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Solution:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;     &lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt; &lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Move all the files found in      “sqllib/sqldbdir” to a different location.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Now catalog all the      databases. For Local databases use: db2 catalog db “dbname”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;This should get ride of the      error.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;     &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;u&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Causes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;I received this error after *successful* installation of DB2 8.1 fixpak 7a on DB2 8.1 Fixpak 2 OS AIX 5.3.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/110871379784719961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/110871379784719961' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/110871379784719961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/110871379784719961'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2005/02/sql10004c-io-error-occurred-while.html' title='SQL10004C  An I/O error occurred while accessing the database directory'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-110845398794908677</id><published>2005-02-14T23:51:00.000-08:00</published><updated>2005-02-24T16:42:12.343-08:00</updated><title type='text'>Include logs in online backup (As of DB2 8.2)</title><content type='html'>&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;db2 BACKUP DB “dbname” ONLINE TO “backupdir” INCLUDE LOGS&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Above command includes the logs required to restore the database and bring back the database to a consistent point.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p&gt;&lt;/o:p&gt;And to restore&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;db2 RESTORE DB “dbname” FROM “backupdir” LOGTARGET “logdir”&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;ROLLFORWARD DB “dbname” TO END OF LOGS AND STOP OVERFLOW LOG PATH “logdir”&lt;/span&gt;&lt;o:p style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;      &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p style=&quot;color: rgb(51, 102, 255);&quot;&gt; &lt;/o:p&gt;To restore just the logs from the backup image&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;db2 restore db “dbname” logs from “backupdir” logtarget ‘logdir”&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/110845398794908677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/110845398794908677' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/110845398794908677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/110845398794908677'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2005/02/include-logs-in-online-backup-as-of_14.html' title='Include logs in online backup (As of DB2 8.2)'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-110062536516642327</id><published>2004-11-16T09:14:00.000-08:00</published><updated>2004-11-16T09:25:41.503-08:00</updated><title type='text'>Setting up Tomcat for DB2 and some tips </title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;NOTE:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;ul&gt;   &lt;li&gt;These were tested on win2k&lt;/li&gt;   &lt;li&gt;&quot;C:\jakarta-slide-2.0-tomcat-5.0.19\&quot; is mentioned as $CATALINA_HOME&lt;br /&gt;  &lt;/li&gt; &lt;/ul&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;Pre-Requisites:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;   &lt;li&gt; DB2.&lt;/li&gt;   &lt;li&gt; Latest Java SDK&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Steps:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;   &lt;li&gt; Set an Enviromental Variable &quot;JAVA_HOME&quot; to the Java SDK&#39;s Home Directory.&lt;/li&gt;   &lt;li&gt;Download &amp; Install the latest binaries from Apache&#39;s Site (Get *.exe for windows to install as a service)&lt;/li&gt;   &lt;li&gt; Copy &quot;C:\Program Files\IBM\SQLLIB\java\db2java.zip&quot; file to C:\jakarta-slide-2.0-tomcat-5.0.19\common\lib\&quot; and rename the file to db2java.jar.&lt;br /&gt; &lt;/li&gt; &lt;/ul&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Running Tomcat as Service (Windows)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;   &lt;li&gt; If you have installed *.exe file you already have Tomcat running as a service.&lt;/li&gt;   &lt;li&gt; An work around for this is to run the startup.bat as a schedule task on system startup. This doesn&#39;t shows the Tomcat&#39;s command window (This method doesn&#39;t really install Tomcat as service)&lt;br /&gt; &lt;/li&gt; &lt;/ul&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Changing Tomcat&#39;s 8080 Port:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;By Default Tomcat listens in the 8080 port (localhost:8080). It can be changed by changing values in the&lt;br /&gt;&lt;br /&gt;$catalina_home\conf\server.xml&lt;br /&gt;&lt;br /&gt;Change the value of Connector port to desired port.&lt;br /&gt;&lt;br /&gt;THE PART THAT NEEDS TO BE CHANGED IN SERVER.XML&lt;br /&gt;&lt;br /&gt;Connector port=&quot;8080&quot;&lt;br /&gt;             maxThreads=&quot;150&quot; minSpareThreads=&quot;25&quot; maxSpareThreads=&quot;75&quot;&lt;br /&gt;             enableLookups=&quot;false&quot; redirectPort=&quot;8443&quot; acceptCount=&quot;100&quot;&lt;br /&gt;             debug=&quot;0&quot; connectionTimeout=&quot;20000&quot;&lt;br /&gt;             disableUploadTimeout=&quot;true&quot;&lt;br /&gt;&lt;br /&gt;Restart Tomcat to see the changes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Enabling Tomcat for SSI (Server Side Includes)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Rename $CATALINA_HOME/server/lib/servlets-ssi.renametojar to $CATALINA_HOME/server/lib/servlets-ssi.jar.&lt;br /&gt;&lt;br /&gt;Remove the XML comments from around the SSI servlet and servlet-mapping configuration in $CATALINA_BASE/conf/web.xml.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;DB2 Catalog Commands&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Tomcat may have to be restarted if you re-catalog an existing database that is being used in your code.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Errors&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Looking at the Tomcat log files will help you solve the error messages that you see on browser.&lt;br /&gt;&lt;br /&gt;Location of log files $Catalina_home\logs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Resources:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.blogger.com/app/Tomcat%20Setup%20for%20DB2%20and%20some%20tips%20%28Tested%20on%20Win2k%29%0A----------------------------------------------%0A%0APre-Requisites:%0A----------------%0A*%20DB2.%0A*%20Latest%20Java%20SDK.%0A%0ANOTE:%0A------%0A%22C:%5Cjakarta-slide-2.0-tomcat-5.0.19%5C%22%20is%20mentioned%20as%20$CATALINA_HOME%0A%0ASteps:%0A------%0A%0A*%20Set%20an%20Enviromental%20Variable%20%22JAVA_HOME%22%20to%20the%20Java%20SDK%27s%20Home%20Directory.%0A*%20Download%20&amp;amp;%20Install%20the%20latest%20binaries%20from%20Apache%27s%20Site%20%28Get%20*.exe%20for%20windows%20to%20install%20as%20a%20service%29%0A*%20Copy%20%22C:%5CProgram%20Files%5CIBM%5CSQLLIB%5Cjava%5Cdb2java.zip%22%20file%20to%20%22C:%5Cjakarta-slide-2.0-tomcat-5.0.19%5Ccommon%5Clib%5C%22%20and%20rename%20the%20%0A%0Afile%20to%20db2java.jar.%0A%0A%0ARunning%20Tomcat%20as%20Service%20%28Windows%29%0A------------------------------------%0A%0A*%20If%20you%20have%20installed%20*.exe%20file%20you%20already%20have%20Tomcat%20running%20as%20a%20service.%0A*%20An%20work%20around%20for%20this%20is%20to%20run%20the%20startup.bat%20as%20a%20schedule%20task%20on%20system%20startup.%20This%20doesn%27t%20shows%20the%20Tomcat%27s%20%0A%0Acommand%20window%20%28This%20method%20doesn%27t%20really%20install%20Tomcat%20as%20service%29%0A%0A%0AChanging%20Tomcat%27s%208080%20Port:%0A----------------------------%0A%0ABy%20Default%20Tomcat%20listens%20in%20the%208080%20port%20%28localhost:8080%29.%20It%20can%20be%20changed%20by%20changing%20values%20in%20the%20%0A%0A$catalina_home%5Cconf%5Cserver.xml%20%0A%0AChange%20the%20value%20of%20Connector%20port%20to%20desired%20port.%0A%0ATHE%20PART%20THAT%20NEEDS%20TO%20BE%20CHANGED%20IN%20SERVER.XML%0A%0AConnector%20port=%228080%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20maxThreads=%22150%22%20minSpareThreads=%2225%22%20maxSpareThreads=%2275%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20enableLookups=%22false%22%20redirectPort=%228443%22%20acceptCount=%22100%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20debug=%220%22%20connectionTimeout=%2220000%22%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20disableUploadTimeout=%22true%22%20/%0A%0ARestart%20Tomcat%20to%20see%20the%20changes.%0A%0A%0AEnabling%20Tomcat%20for%20SSI%0A-------------------------%0A%0ARename%20$CATALINA_HOME/server/lib/servlets-ssi.renametojar%20to%20$CATALINA_HOME/server/lib/servlets-ssi.jar.%0A%0ARemove%20the%20XML%20comments%20from%20around%20the%20SSI%20servlet%20and%20servlet-mapping%20configuration%20in%20$CATALINA_BASE/conf/web.xml.%0A%0A%0A%0ADB2%20Catalog%20Commands%0A---------------------%0ATomcat%20may%20have%20to%20be%20restarted%20if%20you%20re-catalog%20an%20existing%20database%20that%20is%20being%20used%20in%20your%20code.%0A%0A%0AErrors%0A-------%0A%0ALooking%20at%20the%20Tomcat%20log%20files%20will%20help%20you%20solve%20the%20error%20messages%20that%20you%20see%20on%20browser.%0A%0ALocation%20of%20log%20files%20$Catalina_home%5Clogs%0A%0A%0AResources:%0A----------%0A%0ALatest%20version%20of%20Tomcat%20can%20be%20obtained%20here%0A%0Ahttp://jakarta.apache.org/tomcat/&quot;&gt;http://jakarta.apache.org/tomcat/&lt;/a&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/110062536516642327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/110062536516642327' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/110062536516642327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/110062536516642327'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2004/11/setting-up-tomcat-for-db2-and-some.html' title='Setting up Tomcat for DB2 and some tips '/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-110055037628270898</id><published>2004-11-15T13:24:00.000-08:00</published><updated>2004-11-15T12:29:15.726-08:00</updated><title type='text'>PreCompiling and Running Embeded SQL</title><content type='html'>Write your Embeded SQL C code with a file extension .sqc&lt;br /&gt;&lt;br /&gt;Precompiling&lt;br /&gt;&lt;br /&gt;db2 connect to database name&lt;br /&gt;db2 prep filename.sqc&lt;br /&gt;db2 connect reset&lt;br /&gt;&lt;br /&gt;The Above Command on Sucess will give a filename.c file.&lt;br /&gt;&lt;br /&gt;The C File needs to compilied with special flags as follows&lt;br /&gt;&lt;br /&gt;gcc filename.c -Wall -I/home/db2inst1/sqllib/include/ -L/home/db2inst1/sqllib/lib -ldb2 -Wl,-rpath,/opt/IBM/db2/V8.1/lib -o &lt;outputfile&gt;&lt;br /&gt;&lt;br /&gt;Run the outputfile to see the results.&lt;br /&gt;&lt;br /&gt;&lt;/outputfile&gt;&lt;br /&gt;NOTE:&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;The flags may vary if you have a username other than db2inst1.&lt;/li&gt;   &lt;li&gt;And the flags need to be properly spaced.&lt;br /&gt;  &lt;/li&gt; &lt;/ul&gt; </content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/110055037628270898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/110055037628270898' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/110055037628270898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/110055037628270898'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2004/11/precompiling-and-running-embeded-sql.html' title='PreCompiling and Running Embeded SQL'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-109694940178114642</id><published>2004-10-04T21:05:00.000-07:00</published><updated>2004-10-04T22:41:09.360-07:00</updated><title type='text'>Net Search Extender</title><content type='html'>  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Intro:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;DB2 Net Search Extender Version 8.1 is one of a family of DB2 Extenders™. It replaces DB2 Text Information Extender Version 7.2, and Net Search Extender Version 7.2 and offers users and application programmers a fast, versatile, and intelligent method of searching full-text documents stored in DB2, other databases, and file systems using SQL queries. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;span style=&quot;&quot;&gt;          &lt;/span&gt;Basically, DB2 Net Search Extender searches &lt;/span&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;text documents&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;held in the column of a database table. The documents can be in various formats, such as HTML or XML. Rather than sequentially searching through the text documents that would take a considerable amount of time, Net Search Extender creates a &lt;/span&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;text index&lt;/span&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt; in order to make documents searchable. A text index consists of &lt;b style=&quot;&quot;&gt;significant &lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;terms &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;extracted from the text documents. &lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Installation:&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt; &lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Make sure      you have the appropriate DB2 Fixpack that matches Extender’s      Pre-requisite. (RTFM)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Install      NSE and Fixpack if its needs any. (You can get a trial download that can      be used for 90days from IBM’s site.)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;After      installation run the sample script available in the      “SQLLIB/samples/nsesample.bat”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;     &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;span style=&quot;&quot;&gt;     &lt;/span&gt;nsesample.bat &lt;dbname&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/dbname&gt;&lt;/span&gt;&lt;/p&gt;       &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;        The script creates the given DBNAME if it doesn’t exist and tests if the NSE installation was      successful.&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt; &lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Check the      nsesample.log file to make sure everything is fine.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;       &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Enabling a database for text search:&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;db2text start &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;(Starts the NSE instance services)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;         &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;db2text ENABLE DATABASE FOR TEXT CONNECT TO &lt;dbname&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/dbname&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;(Prepares the database for use with NSE)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;b style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;As DB2 commands db2text ? &lt;command&gt; gives the syntax of the command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/command&gt;&lt;/span&gt;&lt;/p&gt;       &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Creating an Index:&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;i style=&quot;&quot;&gt;&lt;u&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Note:&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;i style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt; The table being referenced is the one which has the Text/HTML Document.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;       &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;NSE needs an index to be created on the column that needs to be searched (You need to have a primary key to create an index). Create an index on the table that has the Text/HTML file that needs to be searched.&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;db2text create index db2ext.&lt;indexname&gt; for text on &lt;/indexname&gt;&lt;table&gt; (&lt;col&gt;) UPDATE FREQUENCY D (*) H (*) M (10) connect to &lt;db&gt;&lt;o:p&gt;&lt;/o:p&gt;     &lt;/db&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;(This command creates an index and sets the update frequency to 10 minutes, this is required to avoid synchronization issues) &lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Right after creation, &lt;b style=&quot;&quot;&gt;update&lt;/b&gt; the index to fill the created index with data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;db2text update index db2ext.&lt;index&gt; for text connect to &lt;db&gt;&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/db&gt;&lt;/index&gt;&lt;/span&gt;&lt;/p&gt;       &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;br /&gt;Queries that can be used now:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;&quot;&gt;SELECT AUTHOR,TITLE FROM DB2EXT.TEXTTAB WHERE &lt;b style=&quot;&quot;&gt;CONTAINS&lt;/b&gt;(COMMENT, ’&quot;book&quot;’) = 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;       &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;i style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Searches for the word “book” in the text fields of the column comment.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;&quot;&gt;SELECT AUTHOR,TITLE FROM DB2EXT.TEXTTAB WHERE &lt;b style=&quot;&quot;&gt;CONTAINS&lt;/b&gt;(COMMENT, ’&quot;book&quot; &amp; “db2”’)=1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;       &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;i style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;As you do in &lt;b style=&quot;&quot;&gt;Google&lt;/b&gt; you can use &lt;b style=&quot;&quot;&gt;logical operators&lt;/b&gt; like “&amp;amp;” “|” “NOT”. And they can be mixed in a search string.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;&quot;&gt;SELECT AUTHOR, TITLE, &lt;b style=&quot;&quot;&gt;NUMBEROFMATCHES&lt;/b&gt;(COMMENT, ’&quot;book&quot;’) FROM DB2EXT.TEXTTAB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;i style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Gives the number of matches found for the given word.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;           &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;&quot;&gt;WITH TEMPTABLE(docid,score) AS (SELECT docid, &lt;b style=&quot;&quot;&gt;SCORE&lt;/b&gt;(COMMENT,’&quot;book&quot;’) FROM DB2EXT.TEXTTAB) &lt;o:p&gt; &lt;/o:p&gt;&lt;br /&gt;SELECT * FROM TEMPTABLE WHERE score &gt; 0 ORDER BY score ASC&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;i style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Score tells you how well the documents meets your search. This can be used to order the search results.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;       &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;This is an Interesting one!&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;&quot;&gt;SELECT AUTHOR, TITLE FROM DB2EXT.TEXTTAB WHERE CONTAINS(COMMENT, &lt;b&gt;&#39;fuzzy form of 80 &quot;Joh&quot;&#39;&lt;/b&gt;) =1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;       &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Above query results will contain JOHN. This can be used when a normal search didn’t return any result. Ever wondered how Google is making up its “&lt;b style=&quot;&quot;&gt;Did you mean&lt;/b&gt;&lt;/span&gt;” &lt;span style=&quot;font-family:Wingdings;&quot;&gt;&lt;span style=&quot;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt; :)&lt;br /&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;More searches:&lt;/p&gt;     &lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt; &lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Search for multiple words      in same sentence&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;multiple words in same      paragraph&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;search structured      documents like HTML&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Thesaurus search with the      dictionary built by you.&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Search for numeric      attributes&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Wild card search&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;     &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;Read the Users guide to get more info about NSE.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;       &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;u&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;References:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;a href=&quot;http://publibfp.boulder.ibm.com/epubs/pdf/h1267404.pdf&quot;&gt;Users Guide&lt;/a&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;               &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;a href=&quot;http://www-1.ibm.com/support/docview.wss?uid=swg27004102&amp;aid=1&quot;&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;PerFormance Overview&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Verdana;font-size:10;&quot;  &gt;&lt;a href=&quot;http://www-306.ibm.com/software/data/db2/extenders/netsearch/db2nsespecsheet.pdf&quot;&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;More Resources&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/table&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/109694940178114642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/109694940178114642' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/109694940178114642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/109694940178114642'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2004/10/net-search-extender.html' title='Net Search Extender'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-109557437046018287</id><published>2004-09-18T23:05:00.000-07:00</published><updated>2004-09-18T23:16:18.476-07:00</updated><title type='text'>Errors After A Redirected Restore!</title><content type='html'>     &lt;p class=&quot;MsoNormal&quot;&gt;ADM1814E&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;The current log path&lt;br /&gt;&quot;/&lt;path&gt; PATH/NODE0000/&quot; is invalid.&lt;/path&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;      &lt;p class=&quot;MsoNormal&quot;&gt;ADM1811E&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;DB2 will now switch to the default log path&lt;br /&gt;&quot;/PATH&lt;path&gt;/NODE0000/SQL00004/SQLOGDIR/&quot;.&lt;/path&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Whether you are restoring to a different machine or on the same machine never forget to change the NEWLOGPATH Database Parameter. If you don’t DB2 will switch to default log path. This will not be an issue if you are using default log path.&lt;/p&gt;   &lt;div style=&quot;border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color windowtext; border-width: medium medium 1pt; padding: 0in 0in 1pt;&quot;&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;border: medium none ; padding: 0in;&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;      &lt;p class=&quot;MsoNormal&quot;&gt;DB2 was unable to confirm logs were archived.&lt;br /&gt;Return code 118489304, FirstArchNum 31953, HeadExtentID 31958&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;      &lt;p class=&quot;MsoNormal&quot;&gt;An error was received from the user exit program.&lt;br /&gt;0x2FF21508 : 0x0000001C&lt;span style=&quot;&quot;&gt;                                 &lt;/span&gt;....&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Userexit program maintains a log which is more informative than the above and it will be in the files named USEREXIT.ERR &amp; ARCHIVE.LOG, you should be able to find that in the LOGPATH.&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;You have to act based on that.&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;In my case I have to create a directory for the new database so that it can archive the logs.&lt;/p&gt;   &lt;div style=&quot;border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color windowtext; border-width: medium medium 1pt; padding: 0in 0in 1pt;&quot;&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;border: medium none ; padding: 0in;&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;This message keeps coming up sometimes after a redirected restore and not sure what it means… Help me!&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;      &lt;p class=&quot;MsoNormal&quot;&gt;SQL procedure executables recovery has been initiated.  DBNAME&lt;br /&gt;0x2FF1E330 : 0x4341535342202020&lt;span style=&quot;&quot;&gt;                         &lt;/span&gt;&lt;dbname&gt;&lt;/dbname&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;      &lt;p class=&quot;MsoNormal&quot;&gt;SQL procedure executables recovery ended. RC:&lt;br /&gt;0x2FF1E310 : 0x00000000&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/109557437046018287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/109557437046018287' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/109557437046018287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/109557437046018287'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2004/09/errors-after-redirected-restore.html' title='Errors After A Redirected Restore!'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-109531789660001557</id><published>2004-09-15T23:40:00.000-07:00</published><updated>2004-09-16T00:06:13.866-07:00</updated><title type='text'>Migrating from AIX to Windows</title><content type='html'>There are the steps that i followed to migrate...&lt;br /&gt;&lt;br /&gt;Haven&#39;t done the move on Prod DB. Will update with changes if any.&lt;br /&gt;&lt;br /&gt;STEPS:&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot;&gt;DB2 doesn’t support cross platform back-up and restore between AIX &amp; Windows. Thus redirect restore cannot be used.&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot;&gt;But DB2 UDB has tools to achieve this task. &lt;/p&gt;   &lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt; &lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;b style=&quot;&quot;&gt;db2move - &lt;/b&gt;Used for moving User      tables (DATA)&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;b style=&quot;&quot;&gt;db2look - &lt;/b&gt;Creates DDL to create      the database objects in the new environment.&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;b style=&quot;&quot;&gt;db2cfexp – &lt;/b&gt;Exports connectivity      configuration to an export profile&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;b style=&quot;&quot;&gt;db2cfimp – &lt;/b&gt;Import connectivity      configuration information&lt;b style=&quot;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt; &lt;/ul&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;&quot;&gt;Steps for Moving from AIX to Windows&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;&quot;&gt;On AIX:&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;ol style=&quot;margin-top: 0in;&quot; start=&quot;1&quot; type=&quot;1&quot;&gt; &lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Use      db2move to export all table data to PC/IXF files&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Use      db2look to generate DDL for all the database objects.&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Use      db2cfexp to export the configuration information to a file.&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Transfer      PC/IXF files &amp; Configuration profile in &lt;b style=&quot;&quot;&gt;Binary Mode&lt;/b&gt;.&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Transfer      db2look.sql &amp;amp; db2move.lst in &lt;b style=&quot;&quot;&gt;ASCII      Mode&lt;/b&gt;.&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt; &lt;/ol&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;&quot;&gt;On Windows:&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;ol style=&quot;margin-top: 0in;&quot; start=&quot;1&quot; type=&quot;1&quot;&gt; &lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Make      sure the version of DB2 is same with the appropriate Fixpack.&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Create      an instance with the same name as it was in AIX. (optional)&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Create      all the databases that you are moving.&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Set      current schema name.&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Create      required Buffer pools and Table Spaces for the DB.&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Run      the script generated by db2look&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Import      the configuration information using db2cfimp tool.&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Run      db2move in load mode. (Takes a while for large DB’s)&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Update      DB CFG to reflect the source DB.&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Do a Full DB/Table space Backup to take the table space out of backup pending state and check for the integrity of the Backup.&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Detect      the tables that are in check pending state and bring it to normal state.      (set integrity)&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;Check      other db objects to make sure they are in &lt;st1:place&gt;&lt;st1:placename&gt;Normal&lt;/st1:placename&gt;       &lt;st1:placetype&gt;State&lt;/st1:placetype&gt;&lt;/st1:place&gt;.&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;All      the configuration parameters need to be tuned according to the current      hardware.&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt; &lt;/ol&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;&quot;&gt;NOTE:&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;     &lt;p class=&quot;MsoNormal&quot;&gt;Don’t forget that default values for some parameters are different for windows &amp;amp; AIX&lt;b style=&quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;br /&gt;comments, suggestions, questions are welcome..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/109531789660001557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/109531789660001557' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/109531789660001557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/109531789660001557'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2004/09/migrating-from-aix-to-windows.html' title='Migrating from AIX to Windows'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347293.post-109531247206177413</id><published>2004-09-15T22:26:00.000-07:00</published><updated>2004-09-15T22:28:05.696-07:00</updated><title type='text'>Welcome</title><content type='html'>Hi all&lt;br /&gt;&lt;br /&gt;DB2 DBA&#39;s out there&lt;br /&gt;&lt;br /&gt;Come Share your thought&#39;s findings...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://db2dba.blogspot.com/feeds/109531247206177413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8347293/109531247206177413' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/109531247206177413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347293/posts/default/109531247206177413'/><link rel='alternate' type='text/html' href='http://db2dba.blogspot.com/2004/09/welcome.html' title='Welcome'/><author><name>Visu</name><uri>http://www.blogger.com/profile/05261491612601452266</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>