 




<?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: RPGLE &#8211; Program</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/rpgle-program/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-program/</link>
	<description></description>
	<lastBuildDate>Sun, 26 May 2013 01:40:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-program/#comment-83064</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sun, 31 Oct 2010 05:35:31 +0000</pubDate>
		<guid isPermaLink="false">#comment-83064</guid>
		<description><![CDATA[&lt;i&gt;If you define a file INPUT in the F-Spec, and you also add UsrOpn and ExtFile, and add the File-feedback-data-structure, .. all you have to do is change the values in the ExtFile to point to the file you want to check, and then open it.&lt;/i&gt;

That&#039;s a little more difficult for a set of files that all have different record formats. A beginning programmer will have enough difficulty handling UsrOpn and ExtFile logic. Complicating it with overrides for level checks and/or format mismatches on every file is probably too much.

Further, it&#039;s necessary to build a list of the files before RPG can even know which overrides to apply and what to put in to ExtFile. If a list is built, it might as well be built with member details that already include record counts.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>If you define a file INPUT in the F-Spec, and you also add UsrOpn and ExtFile, and add the File-feedback-data-structure, .. all you have to do is change the values in the ExtFile to point to the file you want to check, and then open it.</i></p>
<p>That&#8217;s a little more difficult for a set of files that all have different record formats. A beginning programmer will have enough difficulty handling UsrOpn and ExtFile logic. Complicating it with overrides for level checks and/or format mismatches on every file is probably too much.</p>
<p>Further, it&#8217;s necessary to build a list of the files before RPG can even know which overrides to apply and what to put in to ExtFile. If a list is built, it might as well be built with member details that already include record counts.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-program/#comment-81614</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sat, 18 Sep 2010 01:51:15 +0000</pubDate>
		<guid isPermaLink="false">#comment-81614</guid>
		<description><![CDATA[&lt;i&gt;If you want something that looks at ALL objects use this command ...&lt;/i&gt;

There are problems with RTVDSKINF and QAEZDISK in this case.

First, it reports sizes -- not record counts. If record counts really are wanted, then RTVDSKINF is no help.

Next, the multi-member structure complicates things, especially a new developer. That&#039;s not a big deal by itself; but running RTVDSKINF daily and managing its members can be tricky regardless of experience. The system might not allow for daily runs.

Finally, it&#039;s not indexed. And because it&#039;s multi-member, managing an index also gets tricky.

There are far easier ways if we get a little more clarification of the business problem that needs to be solved.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>If you want something that looks at ALL objects use this command &#8230;</i></p>
<p>There are problems with RTVDSKINF and QAEZDISK in this case.</p>
<p>First, it reports sizes &#8212; not record counts. If record counts really are wanted, then RTVDSKINF is no help.</p>
<p>Next, the multi-member structure complicates things, especially a new developer. That&#8217;s not a big deal by itself; but running RTVDSKINF daily and managing its members can be tricky regardless of experience. The system might not allow for daily runs.</p>
<p>Finally, it&#8217;s not indexed. And because it&#8217;s multi-member, managing an index also gets tricky.</p>
<p>There are far easier ways if we get a little more clarification of the business problem that needs to be solved.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: boykie</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-program/#comment-81579</link>
		<dc:creator>boykie</dc:creator>
		<pubDate>Thu, 16 Sep 2010 19:35:02 +0000</pubDate>
		<guid isPermaLink="false">#comment-81579</guid>
		<description><![CDATA[Sure, but speaking subject to correction, it does not include deleted records - right ?

Boykie]]></description>
		<content:encoded><![CDATA[<p>Sure, but speaking subject to correction, it does not include deleted records &#8211; right ?</p>
<p>Boykie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Featured Member: Chatmaker - ITKE Community Blog</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-program/#comment-81545</link>
		<dc:creator>Featured Member: Chatmaker - ITKE Community Blog</dc:creator>
		<pubDate>Thu, 16 Sep 2010 06:59:16 +0000</pubDate>
		<guid isPermaLink="false">#comment-81545</guid>
		<description><![CDATA[[...] RPGLE - Program  [...]]]></description>
		<content:encoded><![CDATA[<p>[...] RPGLE &#8211; Program  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-program/#comment-81533</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 15 Sep 2010 22:55:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-81533</guid>
		<description><![CDATA[&lt;i&gt;The feedback DS will tell you the current record nbr (same as DSPFD).&lt;/i&gt;

The &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/dm/rbal3feedb.htm&quot;&gt;Open feedback area&lt;/a&gt; will show the &quot;Number of records in the member at open time.&quot; at offset 75.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>The feedback DS will tell you the current record nbr (same as DSPFD).</i></p>
<p>The <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/dm/rbal3feedb.htm">Open feedback area</a> will show the &#8220;Number of records in the member at open time.&#8221; at offset 75.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: boykie</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-program/#comment-81525</link>
		<dc:creator>boykie</dc:creator>
		<pubDate>Wed, 15 Sep 2010 19:52:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-81525</guid>
		<description><![CDATA[While the QAEZDISK and DSPFD are both fairly traditional approaches, herewith something else to consider. (as another email suggested, depends on the big picture.)

If you define a file INPUT in the F-Spec, and you also add UsrOpn and ExtFile,  and add the File-feedback-data-structure, .. all you have to do is change the values in the ExtFile to point to the file you want to check, and then open it.  The feedback DS will tell you the current record nbr (same as DSPFD)..  It is a different approach, but I do it for a list of files and drive it in my RPG program .. 

good luck
kmh]]></description>
		<content:encoded><![CDATA[<p>While the QAEZDISK and DSPFD are both fairly traditional approaches, herewith something else to consider. (as another email suggested, depends on the big picture.)</p>
<p>If you define a file INPUT in the F-Spec, and you also add UsrOpn and ExtFile,  and add the File-feedback-data-structure, .. all you have to do is change the values in the ExtFile to point to the file you want to check, and then open it.  The feedback DS will tell you the current record nbr (same as DSPFD)..  It is a different approach, but I do it for a list of files and drive it in my RPG program .. </p>
<p>good luck<br />
kmh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-program/#comment-81514</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 15 Sep 2010 07:27:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-81514</guid>
		<description><![CDATA[The question seems not to have a point. There doesn&#039;t seem to be anything useful that you can do with a file that lists the number of records in other files.

And without a little more description of the &lt;i&gt;business problem&lt;/i&gt; that you are trying to solve, there doesn&#039;t seem to be any good answer possible.

For example, what do you mean by &quot;n number of physical files&quot;?

Is that supposed to mean the you will tell your batch program a number (n) and it will look at the first (n) files it finds? Or does it mean that you will provide a list of files that may have (n) elements in the list? Is the program supposed to figure out which files by some method? (Do you know the method that you want to use?)

Should the resulting file be added to or replaced every day? Do you just want to know the number of records or do you actually need to know number of additions and deletions? Do you want &lt;i&gt;all&lt;/i&gt; records in the files including deleted records? Or do you only want the number of active records? What about files with more than one member? (What if the file doesn&#039;t have a member? What about partitioned files?)

Will these only be physical files? Or might you also be tracking logical files?

A description of the &lt;i&gt;business problem&lt;/i&gt; would be much better than asking a general technical question that doesn&#039;t seem to have any point. There are so many possible variations because of the missing technical details as to be effectively impossible.

Tom]]></description>
		<content:encoded><![CDATA[<p>The question seems not to have a point. There doesn&#8217;t seem to be anything useful that you can do with a file that lists the number of records in other files.</p>
<p>And without a little more description of the <i>business problem</i> that you are trying to solve, there doesn&#8217;t seem to be any good answer possible.</p>
<p>For example, what do you mean by &#8220;n number of physical files&#8221;?</p>
<p>Is that supposed to mean the you will tell your batch program a number (n) and it will look at the first (n) files it finds? Or does it mean that you will provide a list of files that may have (n) elements in the list? Is the program supposed to figure out which files by some method? (Do you know the method that you want to use?)</p>
<p>Should the resulting file be added to or replaced every day? Do you just want to know the number of records or do you actually need to know number of additions and deletions? Do you want <i>all</i> records in the files including deleted records? Or do you only want the number of active records? What about files with more than one member? (What if the file doesn&#8217;t have a member? What about partitioned files?)</p>
<p>Will these only be physical files? Or might you also be tracking logical files?</p>
<p>A description of the <i>business problem</i> would be much better than asking a general technical question that doesn&#8217;t seem to have any point. There are so many possible variations because of the missing technical details as to be effectively impossible.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chatmaker</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-program/#comment-81508</link>
		<dc:creator>chatmaker</dc:creator>
		<pubDate>Wed, 15 Sep 2010 01:23:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-81508</guid>
		<description><![CDATA[Rudedog&#039;s approach is a good one, especially if you&#039;re interested in only specific files.  If you want something that looks at ALL objects use this command (no RPG needed): 

QSYS/RTVDSKINF

To learn more about this command see: http://publib.boulder.ibm.com/iseries/v5r2/ic2928/index.htm?info/cl/rtvdskin.htm

&quot;...the collected information will be stored in file QAEZDISK&quot; which you can view using &lt;b&gt;STRSQL&lt;/b&gt; command.  

If you like, I have a spreadsheet that reads &lt;b&gt;QAEZDISK &lt;/b&gt;called &quot;&lt;i&gt;AS400_Disk_Utilization.xls&lt;/i&gt;&quot;.  It displays any library you choose or all libraries by size and permits drill down into each library to see all objects in the library by size, and if you double click on a PF of LF, it will display the contents of the file in Excel.

Anyone can ask for this spreadsheet.  e-Mail me at: CHatmaker@CarlisleCC.com and ask for  &quot;&lt;b&gt;AS400_Disk_Utilization.xls&lt;/b&gt;&quot;.  After you get the spreadsheet, if you want information on how it was coded, see my blog in itknowledgeexchange at: &lt;a href=&quot;http://itknowledgeexchange.techtarget.com/beyond-excel/forward/&quot;&gt;Beyond Excel&lt;/a&gt;

Requirements: Excel, Client Access]]></description>
		<content:encoded><![CDATA[<p>Rudedog&#8217;s approach is a good one, especially if you&#8217;re interested in only specific files.  If you want something that looks at ALL objects use this command (no RPG needed): </p>
<p>QSYS/RTVDSKINF</p>
<p>To learn more about this command see: <a href="http://publib.boulder.ibm.com/iseries/v5r2/ic2928/index.htm?info/cl/rtvdskin.htm" rel="nofollow">http://publib.boulder.ibm.com/iseries/v5r2/ic2928/index.htm?info/cl/rtvdskin.htm</a></p>
<p>&#8220;&#8230;the collected information will be stored in file QAEZDISK&#8221; which you can view using <b>STRSQL</b> command.  </p>
<p>If you like, I have a spreadsheet that reads <b>QAEZDISK </b>called &#8220;<i>AS400_Disk_Utilization.xls</i>&#8220;.  It displays any library you choose or all libraries by size and permits drill down into each library to see all objects in the library by size, and if you double click on a PF of LF, it will display the contents of the file in Excel.</p>
<p>Anyone can ask for this spreadsheet.  e-Mail me at: <a href="mailto:CHatmaker@CarlisleCC.com">CHatmaker@CarlisleCC.com</a> and ask for  &#8220;<b>AS400_Disk_Utilization.xls</b>&#8220;.  After you get the spreadsheet, if you want information on how it was coded, see my blog in itknowledgeexchange at: <a href="http://itknowledgeexchange.techtarget.com/beyond-excel/forward/">Beyond Excel</a></p>
<p>Requirements: Excel, Client Access</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/9 queries in 0.011 seconds using memcached
Object Caching 366/369 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-26 04:06:03 -->