<?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: DSPLNK Details not complete</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/dsplnk-details-not-complete/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/dsplnk-details-not-complete/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 01:14:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: roberthart</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/dsplnk-details-not-complete/#comment-75107</link>
		<dc:creator>roberthart</dc:creator>
		<pubDate>Tue, 23 Mar 2010 00:18:10 +0000</pubDate>
		<guid isPermaLink="false">#comment-75107</guid>
		<description><![CDATA[Thanks for your help on this. We have gone back to the QSHELL Find command and within it&#039;s constraints our client is happy with the results.]]></description>
		<content:encoded><![CDATA[<p>Thanks for your help on this. We have gone back to the QSHELL Find command and within it&#8217;s constraints our client is happy with the results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roberthart</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/dsplnk-details-not-complete/#comment-74879</link>
		<dc:creator>roberthart</dc:creator>
		<pubDate>Mon, 15 Mar 2010 22:17:02 +0000</pubDate>
		<guid isPermaLink="false">#comment-74879</guid>
		<description><![CDATA[Hi Tom, 

Thanks for that. I changed the Number of records on the QSYSPRT file to *nomax and that stopped it halting but it gave the same result.

I will look at the rest.

Rob]]></description>
		<content:encoded><![CDATA[<p>Hi Tom, </p>
<p>Thanks for that. I changed the Number of records on the QSYSPRT file to *nomax and that stopped it halting but it gave the same result.</p>
<p>I will look at the rest.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/dsplnk-details-not-complete/#comment-74878</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Mon, 15 Mar 2010 21:25:46 +0000</pubDate>
		<guid isPermaLink="false">#comment-74878</guid>
		<description><![CDATA[For any OUTPUT(*PRINT) function, the size of the resulting spooled file should be estimated ahead of time. The size should be compared to the MAXRCDS() attribute of the printer file to understand what can happen when the spooled file is larger than MAXRCDS. (Note that print lines are records, rather than pages.)

As for &quot;creation date/time&quot;, I&#039;m not sure if that&#039;s available anywhere outside of i5/OS-specific APIs, in particular Qp0lGetAttr(). I.e., it&#039;s displayed/printed with DSPLNK, but I suspect that the same or a similar API is used. The Qp0lGetAttr() API isn&#039;t pretty for those who are unfamiliar with that type of API.

In general, if I was doing this, I&#039;d use opendir() to open the directory, I&#039;d read the directory entries with readdir() and use Qp0lGetAttr() to retrieve creation time and then...

Well, actually, I might just use RTVDIRINF for the directory and name some work library to build the information files in. You&#039;ll possibly find the database format of the resulting QAEZD0001O output file easier to work with than either a spooled file or the funky API sequences.

Tom]]></description>
		<content:encoded><![CDATA[<p>For any OUTPUT(*PRINT) function, the size of the resulting spooled file should be estimated ahead of time. The size should be compared to the MAXRCDS() attribute of the printer file to understand what can happen when the spooled file is larger than MAXRCDS. (Note that print lines are records, rather than pages.)</p>
<p>As for &#8220;creation date/time&#8221;, I&#8217;m not sure if that&#8217;s available anywhere outside of i5/OS-specific APIs, in particular Qp0lGetAttr(). I.e., it&#8217;s displayed/printed with DSPLNK, but I suspect that the same or a similar API is used. The Qp0lGetAttr() API isn&#8217;t pretty for those who are unfamiliar with that type of API.</p>
<p>In general, if I was doing this, I&#8217;d use opendir() to open the directory, I&#8217;d read the directory entries with readdir() and use Qp0lGetAttr() to retrieve creation time and then&#8230;</p>
<p>Well, actually, I might just use RTVDIRINF for the directory and name some work library to build the information files in. You&#8217;ll possibly find the database format of the resulting QAEZD0001O output file easier to work with than either a spooled file or the funky API sequences.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roberthart</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/dsplnk-details-not-complete/#comment-74850</link>
		<dc:creator>roberthart</dc:creator>
		<pubDate>Sun, 14 Mar 2010 20:43:42 +0000</pubDate>
		<guid isPermaLink="false">#comment-74850</guid>
		<description><![CDATA[Tom,

I totally agree, that is what I am querying. 

No, it is a second tier directory that we are reading but all the objects we want to check are in the one level. We get the 200,000 figure from the IFS Catalog created using qsrsrv. 

The report I get from DSPLNK is 5838 pages. The first 461 list the short names (giving 461 x 55pp = 25355obj), the next 460 report Long names and the rest are the display attributes. Having looked again I see that each object takes 2 pages to report where my original calculation was made on 2 a page. So It actually only reports full detail on 2500 (approx) objects.]]></description>
		<content:encoded><![CDATA[<p>Tom,</p>
<p>I totally agree, that is what I am querying. </p>
<p>No, it is a second tier directory that we are reading but all the objects we want to check are in the one level. We get the 200,000 figure from the IFS Catalog created using qsrsrv. </p>
<p>The report I get from DSPLNK is 5838 pages. The first 461 list the short names (giving 461 x 55pp = 25355obj), the next 460 report Long names and the rest are the display attributes. Having looked again I see that each object takes 2 pages to report where my original calculation was made on 2 a page. So It actually only reports full detail on 2500 (approx) objects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roberthart</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/dsplnk-details-not-complete/#comment-74849</link>
		<dc:creator>roberthart</dc:creator>
		<pubDate>Sun, 14 Mar 2010 20:08:50 +0000</pubDate>
		<guid isPermaLink="false">#comment-74849</guid>
		<description><![CDATA[Wilson,

We have tried that method. The problem was that -ctime reports the Last Changed Time and our client wants it based on Creation Time.

Rob]]></description>
		<content:encoded><![CDATA[<p>Wilson,</p>
<p>We have tried that method. The problem was that -ctime reports the Last Changed Time and our client wants it based on Creation Time.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/dsplnk-details-not-complete/#comment-74825</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sat, 13 Mar 2010 00:27:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-74825</guid>
		<description><![CDATA[&lt;i&gt;...over 200,000 objects...&lt;/i&gt;

For your example DSPLNK command, I would expect some 9.2 million print lines out of that many streamfiles. Perhaps around half a million pages...

With only 9500 objects, I&#039;d think in terms of 20k pages with maybe 437k print lines. (Give or take some percentage...)

Is this a multi-level directory? If so, do you intend to retain subdirectories?

Tom]]></description>
		<content:encoded><![CDATA[<p><i>&#8230;over 200,000 objects&#8230;</i></p>
<p>For your example DSPLNK command, I would expect some 9.2 million print lines out of that many streamfiles. Perhaps around half a million pages&#8230;</p>
<p>With only 9500 objects, I&#8217;d think in terms of 20k pages with maybe 437k print lines. (Give or take some percentage&#8230;)</p>
<p>Is this a multi-level directory? If so, do you intend to retain subdirectories?</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roberthart</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/dsplnk-details-not-complete/#comment-74785</link>
		<dc:creator>roberthart</dc:creator>
		<pubDate>Fri, 12 Mar 2010 03:16:03 +0000</pubDate>
		<guid isPermaLink="false">#comment-74785</guid>
		<description><![CDATA[Have just had someone point out that there are actually over 200,000 objects in the directory, hense the need to do a purge.]]></description>
		<content:encoded><![CDATA[<p>Have just had someone point out that there are actually over 200,000 objects in the directory, hense the need to do a purge.</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 3/8 queries in 0.154 seconds using memcached
Object Caching 353/354 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 01:53:14 -->