 




<?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: How to delete a user&#8217;s spoolfile in batch by date range?</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-a-users-spoolfile-in-batch-by-date-range/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-a-users-spoolfile-in-batch-by-date-range/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 12:30:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: woodengineer</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-a-users-spoolfile-in-batch-by-date-range/#comment-69684</link>
		<dc:creator>woodengineer</dc:creator>
		<pubDate>Thu, 29 Oct 2009 16:29:27 +0000</pubDate>
		<guid isPermaLink="false">#comment-69684</guid>
		<description><![CDATA[Check out IBM&#039;s DLTOLDSPLF.  It includes a parm for days to retain a spool file.  We use it exactly as you describe.  Works great.

The code should be available for download from IBM.]]></description>
		<content:encoded><![CDATA[<p>Check out IBM&#8217;s DLTOLDSPLF.  It includes a parm for days to retain a spool file.  We use it exactly as you describe.  Works great.</p>
<p>The code should be available for download from IBM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: teandy</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-a-users-spoolfile-in-batch-by-date-range/#comment-69620</link>
		<dc:creator>teandy</dc:creator>
		<pubDate>Wed, 28 Oct 2009 15:51:48 +0000</pubDate>
		<guid isPermaLink="false">#comment-69620</guid>
		<description><![CDATA[The CVTOUTQ  &amp; ADDDAT commands are part of TAATOOLS which was a licensed product from IBM but has since been dropped.  Jim Sloan was the original author and I believe he took it with him when he left IBM.   I&#039;m not sure if you can still buy a copy or not.]]></description>
		<content:encoded><![CDATA[<p>The CVTOUTQ  &amp; ADDDAT commands are part of TAATOOLS which was a licensed product from IBM but has since been dropped.  Jim Sloan was the original author and I believe he took it with him when he left IBM.   I&#8217;m not sure if you can still buy a copy or not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aunumberone</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-a-users-spoolfile-in-batch-by-date-range/#comment-60585</link>
		<dc:creator>aunumberone</dc:creator>
		<pubDate>Fri, 06 Mar 2009 15:27:48 +0000</pubDate>
		<guid isPermaLink="false">#comment-60585</guid>
		<description><![CDATA[I used the code above and the library at my company does not have the commands CVTOUTQ and ADDDAT.  Is there any other commands I can use to make this code capture and delete spool files after a certain amount of days?]]></description>
		<content:encoded><![CDATA[<p>I used the code above and the library at my company does not have the commands CVTOUTQ and ADDDAT.  Is there any other commands I can use to make this code capture and delete spool files after a certain amount of days?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rcomstock</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-a-users-spoolfile-in-batch-by-date-range/#comment-57143</link>
		<dc:creator>rcomstock</dc:creator>
		<pubDate>Fri, 17 Oct 2008 12:19:18 +0000</pubDate>
		<guid isPermaLink="false">#comment-57143</guid>
		<description><![CDATA[Check out DLTSPLFDAT. Herman Van Der Staey wrote a utility using the api.  Not only is it a good tool but it has the techniques in it so that if you want to modify it for workspace specific tasks (such as moving old spoolfiles to a specific outq, changing spool attributes, etc).]]></description>
		<content:encoded><![CDATA[<p>Check out DLTSPLFDAT. Herman Van Der Staey wrote a utility using the api.  Not only is it a good tool but it has the techniques in it so that if you want to modify it for workspace specific tasks (such as moving old spoolfiles to a specific outq, changing spool attributes, etc).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slack400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-a-users-spoolfile-in-batch-by-date-range/#comment-57125</link>
		<dc:creator>slack400</dc:creator>
		<pubDate>Thu, 16 Oct 2008 16:38:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-57125</guid>
		<description><![CDATA[If you happen to have TAATOOLS on your system there are a couple of utility programs that you can use to do this. It would save some time over writing it from scratch.

(Every shop I visit seems to always have a 10 year old version of TAATOOLS)]]></description>
		<content:encoded><![CDATA[<p>If you happen to have TAATOOLS on your system there are a couple of utility programs that you can use to do this. It would save some time over writing it from scratch.</p>
<p>(Every shop I visit seems to always have a 10 year old version of TAATOOLS)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cwc</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-a-users-spoolfile-in-batch-by-date-range/#comment-57123</link>
		<dc:creator>cwc</dc:creator>
		<pubDate>Thu, 16 Oct 2008 15:08:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-57123</guid>
		<description><![CDATA[Or, if you&#039;d like the flexibility of using APIs:  

There is an API, QUSLSPL, that will produce a list of spool files which have the critiera you specify through its paramameters.    This list would be written to a user space.  From an RPG program (or COBOL, or whatever your preferred language is), you could read through those entries and delete them.  But I haven&#039;t been able to find an API to delete a spool file, so you could use the QCMDEXEC method, although it seems a bit roundabout to me.  Or, as each entry is read, you could move it to an out queue via the QSPMOVSP API.  Afterwards, you could clear that out queue.]]></description>
		<content:encoded><![CDATA[<p>Or, if you&#8217;d like the flexibility of using APIs:  </p>
<p>There is an API, QUSLSPL, that will produce a list of spool files which have the critiera you specify through its paramameters.    This list would be written to a user space.  From an RPG program (or COBOL, or whatever your preferred language is), you could read through those entries and delete them.  But I haven&#8217;t been able to find an API to delete a spool file, so you could use the QCMDEXEC method, although it seems a bit roundabout to me.  Or, as each entry is read, you could move it to an out queue via the QSPMOVSP API.  Afterwards, you could clear that out queue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-a-users-spoolfile-in-batch-by-date-range/#comment-57122</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Thu, 16 Oct 2008 14:43:53 +0000</pubDate>
		<guid isPermaLink="false">#comment-57122</guid>
		<description><![CDATA[I think you&#039;ll find some good examples if you search under
AS/400 DLTOLDSPLF  or AS/400 DLTUSRSPLF]]></description>
		<content:encoded><![CDATA[<p>I think you&#8217;ll find some good examples if you search under<br />
AS/400 DLTOLDSPLF  or AS/400 DLTUSRSPLF</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cin</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-a-users-spoolfile-in-batch-by-date-range/#comment-57115</link>
		<dc:creator>cin</dc:creator>
		<pubDate>Thu, 16 Oct 2008 00:42:16 +0000</pubDate>
		<guid isPermaLink="false">#comment-57115</guid>
		<description><![CDATA[I need a sample CL program for this, anybody can help? Thanks.]]></description>
		<content:encoded><![CDATA[<p>I need a sample CL program for this, anybody can help? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tjgm88</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-delete-a-users-spoolfile-in-batch-by-date-range/#comment-57113</link>
		<dc:creator>tjgm88</dc:creator>
		<pubDate>Wed, 15 Oct 2008 21:20:12 +0000</pubDate>
		<guid isPermaLink="false">#comment-57113</guid>
		<description><![CDATA[I agree with Phillip&#039;s suggestion.  Infact, I am writing a CL program as we speak to do the same.]]></description>
		<content:encoded><![CDATA[<p>I agree with Phillip&#8217;s suggestion.  Infact, I am writing a CL program as we speak to do the same.</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/10 queries in 0.041 seconds using memcached
Object Caching 379/385 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 12:32:10 -->