 




<?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 know when EOD jobs are done so I can schedule my AS/400 job?</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/as400-job-scheduling/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-job-scheduling/</link>
	<description></description>
	<lastBuildDate>Sat, 25 May 2013 10:29:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: yorkshireman</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-job-scheduling/#comment-96184</link>
		<dc:creator>yorkshireman</dc:creator>
		<pubDate>Tue, 06 Sep 2011 07:00:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-96184</guid>
		<description><![CDATA[&lt;i&gt;You could use a data area &lt;/i&gt;

THis is a well used technique, but ensure that any failrues / restarts are taken care of.  If a job fails, the data area will exist, signifying that EOD is active, and this would prevent a rerun, for instance.   
A &#039;dissolving&#039; lock could be arranged, whereby, say, the first thread creates a lock on the dtaara, and any other jobs add a lock, and believe that EOD is active only if a lock exists. If a job fails, its lock dissolves when the session ends...  

- There are lots of variations - a file with records per job step, the record locked for the duration of the step.. blah blah...]]></description>
		<content:encoded><![CDATA[<p><i>You could use a data area </i></p>
<p>THis is a well used technique, but ensure that any failrues / restarts are taken care of.  If a job fails, the data area will exist, signifying that EOD is active, and this would prevent a rerun, for instance.<br />
A &#8216;dissolving&#8217; lock could be arranged, whereby, say, the first thread creates a lock on the dtaara, and any other jobs add a lock, and believe that EOD is active only if a lock exists. If a job fails, its lock dissolves when the session ends&#8230;  </p>
<p>- There are lots of variations &#8211; a file with records per job step, the record locked for the duration of the step.. blah blah&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: splat</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-job-scheduling/#comment-96102</link>
		<dc:creator>splat</dc:creator>
		<pubDate>Fri, 02 Sep 2011 15:02:56 +0000</pubDate>
		<guid isPermaLink="false">#comment-96102</guid>
		<description><![CDATA[You could use a data area to carry flags indicating the state of the EOD jobs, keeping your job in a delay loop until the the data area indicates the jobs are complete.]]></description>
		<content:encoded><![CDATA[<p>You could use a data area to carry flags indicating the state of the EOD jobs, keeping your job in a delay loop until the the data area indicates the jobs are complete.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-job-scheduling/#comment-96059</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 01 Sep 2011 18:24:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-96059</guid>
		<description><![CDATA[Jobs will send completion (*COMP) messages to their external message queues when they end. The SBMJOB MSGQ() parameter determines what message queue will get the message. A CL program can use RCVMSG MSGTYPE(*COMP) from that message queue to determine when each job ends.

Tom]]></description>
		<content:encoded><![CDATA[<p>Jobs will send completion (*COMP) messages to their external message queues when they end. The SBMJOB MSGQ() parameter determines what message queue will get the message. A CL program can use RCVMSG MSGTYPE(*COMP) from that message queue to determine when each job ends.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: futymed</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-job-scheduling/#comment-96036</link>
		<dc:creator>futymed</dc:creator>
		<pubDate>Thu, 01 Sep 2011 09:46:53 +0000</pubDate>
		<guid isPermaLink="false">#comment-96036</guid>
		<description><![CDATA[You might also want to Consider using the JOBPTY parameter. The default priority  is 5, you could make your job 6 or 9. Thus if anyone submitted a job after your job was submitted, but your job was still on the single-theaded jobq, their job would be run before your job,  - Futymed]]></description>
		<content:encoded><![CDATA[<p>You might also want to Consider using the JOBPTY parameter. The default priority  is 5, you could make your job 6 or 9. Thus if anyone submitted a job after your job was submitted, but your job was still on the single-theaded jobq, their job would be run before your job,  &#8211; Futymed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-job-scheduling/#comment-82485</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 15 Oct 2010 23:42:55 +0000</pubDate>
		<guid isPermaLink="false">#comment-82485</guid>
		<description><![CDATA[How do you know that all EOD jobs are complete when you look yourself?

If you can tell us what you look for manually, we can tell you how to do it with a program.

A single-threaded job queue is potentially useful, but there might be significant problems.

Tom]]></description>
		<content:encoded><![CDATA[<p>How do you know that all EOD jobs are complete when you look yourself?</p>
<p>If you can tell us what you look for manually, we can tell you how to do it with a program.</p>
<p>A single-threaded job queue is potentially useful, but there might be significant problems.</p>
<p>Tom</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.013 seconds using memcached
Object Caching 324/327 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-25 10:38:13 -->