 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: I would like to run a report on AS/400 to indentify which DB2 tables to reorg.</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/i-would-like-to-run-a-report-on-as400-to-indentify-which-db2-tables-to-reorg/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/i-would-like-to-run-a-report-on-as400-to-indentify-which-db2-tables-to-reorg/</link>
	<description></description>
	<lastBuildDate>Sat, 18 May 2013 11:56:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/i-would-like-to-run-a-report-on-as400-to-indentify-which-db2-tables-to-reorg/#comment-105290</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 23 Mar 2012 21:32:52 +0000</pubDate>
		<guid isPermaLink="false">#comment-105290</guid>
		<description><![CDATA[Since DB2 is integrated with the operating system, and since the OS is &#039;object-based&#039;, many utilities seen on other DB2 platforms do not exist in the same form in the AS/400 product line. There is no actual DB2 function that returns the information; you use an object method (e.g., DSPFD) to extract/retrieve the information from the file description object.

There are some alternatives. These are generally in the form of APIs for use by HLLs and don&#039;t require SQL. You might call the &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fapis%2Fquslmbr.htm&quot;&gt;List Database File Members (QUSLMBR) API&lt;/a&gt; to generate a list of file members in a user space. If the number of members is too large, you might instead access a member at a time with the &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fapis%2Fqusrmbrd.htm&quot;&gt;Retrieve Member Description (QUSRMBRD) API&lt;/a&gt;.

Regardless of how you do it, if your database is of any significant size and complexity, it&#039;s almost a certainty that you do not want to rely on something like &quot;deleted records are more than 10%&quot; as a threshold for RGZPFM. (If you&#039;re a past DBA, you already know that; but this thread can be read by others who are just beginning.)

You&#039;ll want to be familiar with the &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/index.jsp?topic=/rzajq/rzajqkickoff.htm&quot;&gt;Database performance and query optimization&lt;/a&gt; topic in the Info Center for i 6.1 to see the possible tools you might use.

Do you have some specific objectives in mind?

Tom]]></description>
		<content:encoded><![CDATA[<p>Since DB2 is integrated with the operating system, and since the OS is &#8216;object-based&#8217;, many utilities seen on other DB2 platforms do not exist in the same form in the AS/400 product line. There is no actual DB2 function that returns the information; you use an object method (e.g., DSPFD) to extract/retrieve the information from the file description object.</p>
<p>There are some alternatives. These are generally in the form of APIs for use by HLLs and don&#8217;t require SQL. You might call the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fapis%2Fquslmbr.htm">List Database File Members (QUSLMBR) API</a> to generate a list of file members in a user space. If the number of members is too large, you might instead access a member at a time with the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fapis%2Fqusrmbrd.htm">Retrieve Member Description (QUSRMBRD) API</a>.</p>
<p>Regardless of how you do it, if your database is of any significant size and complexity, it&#8217;s almost a certainty that you do not want to rely on something like &#8220;deleted records are more than 10%&#8221; as a threshold for RGZPFM. (If you&#8217;re a past DBA, you already know that; but this thread can be read by others who are just beginning.)</p>
<p>You&#8217;ll want to be familiar with the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/index.jsp?topic=/rzajq/rzajqkickoff.htm">Database performance and query optimization</a> topic in the Info Center for i 6.1 to see the possible tools you might use.</p>
<p>Do you have some specific objectives in mind?</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charliebrowne</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/i-would-like-to-run-a-report-on-as400-to-indentify-which-db2-tables-to-reorg/#comment-105282</link>
		<dc:creator>charliebrowne</dc:creator>
		<pubDate>Fri, 23 Mar 2012 15:35:22 +0000</pubDate>
		<guid isPermaLink="false">#comment-105282</guid>
		<description><![CDATA[Your very welcome.
That is why this site exists]]></description>
		<content:encoded><![CDATA[<p>Your very welcome.<br />
That is why this site exists</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wendyb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/i-would-like-to-run-a-report-on-as400-to-indentify-which-db2-tables-to-reorg/#comment-105273</link>
		<dc:creator>wendyb</dc:creator>
		<pubDate>Fri, 23 Mar 2012 13:10:33 +0000</pubDate>
		<guid isPermaLink="false">#comment-105273</guid>
		<description><![CDATA[Thank you so much Charlie Brown]]></description>
		<content:encoded><![CDATA[<p>Thank you so much Charlie Brown</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charliebrowne</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/i-would-like-to-run-a-report-on-as400-to-indentify-which-db2-tables-to-reorg/#comment-105272</link>
		<dc:creator>charliebrowne</dc:creator>
		<pubDate>Fri, 23 Mar 2012 13:00:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-105272</guid>
		<description><![CDATA[You can download commands from the web to assist you with this.
If you google RGZPGM FREE you will find sites that have homwgrown utilities that will let you setup an easy way to do RGZPFM based on % of deleted records or other criteria]]></description>
		<content:encoded><![CDATA[<p>You can download commands from the web to assist you with this.<br />
If you google RGZPGM FREE you will find sites that have homwgrown utilities that will let you setup an easy way to do RGZPFM based on % of deleted records or other criteria</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/8 queries in 0.011 seconds using memcached
Object Caching 311/312 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-18 13:44:31 -->