<?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 Prevent An SQR Program From Running Twice</title>
	<atom:link href="http://peoplesoftsqr.com/index.php/2009/01/how-to-prevent-an-sqr-program-from-running-twice/feed/" rel="self" type="application/rss+xml" />
	<link>http://peoplesoftsqr.com/index.php/2009/01/how-to-prevent-an-sqr-program-from-running-twice/</link>
	<description>When Peoplebooks Is Not Enough</description>
	<lastBuildDate>Mon, 16 Aug 2010 16:52:22 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: administrator</title>
		<link>http://peoplesoftsqr.com/index.php/2009/01/how-to-prevent-an-sqr-program-from-running-twice/comment-page-1/#comment-643</link>
		<dc:creator>administrator</dc:creator>
		<pubDate>Tue, 16 Jun 2009 23:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=120#comment-643</guid>
		<description>Look around.  The earlier blog entries have brain teasers, most of which were never solved.  I&#039;ll try to invent some more.</description>
		<content:encoded><![CDATA[<p>Look around.  The earlier blog entries have brain teasers, most of which were never solved.  I&#8217;ll try to invent some more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sundeep Kumar</title>
		<link>http://peoplesoftsqr.com/index.php/2009/01/how-to-prevent-an-sqr-program-from-running-twice/comment-page-1/#comment-638</link>
		<dc:creator>Sundeep Kumar</dc:creator>
		<pubDate>Tue, 16 Jun 2009 20:16:34 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=120#comment-638</guid>
		<description>Yeah i enjoyed solving this riddle. Post some more riddles. I&#039;ll Try solving them.</description>
		<content:encoded><![CDATA[<p>Yeah i enjoyed solving this riddle. Post some more riddles. I&#8217;ll Try solving them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: administrator</title>
		<link>http://peoplesoftsqr.com/index.php/2009/01/how-to-prevent-an-sqr-program-from-running-twice/comment-page-1/#comment-636</link>
		<dc:creator>administrator</dc:creator>
		<pubDate>Tue, 16 Jun 2009 18:11:16 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=120#comment-636</guid>
		<description>Thank you for responding to my brain teaser and welcome to my blog, Sundeep.  Good solution - I hope you enjoyed working it out.</description>
		<content:encoded><![CDATA[<p>Thank you for responding to my brain teaser and welcome to my blog, Sundeep.  Good solution &#8211; I hope you enjoyed working it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sundeep Kumar</title>
		<link>http://peoplesoftsqr.com/index.php/2009/01/how-to-prevent-an-sqr-program-from-running-twice/comment-page-1/#comment-632</link>
		<dc:creator>Sundeep Kumar</dc:creator>
		<pubDate>Tue, 16 Jun 2009 12:09:01 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=120#comment-632</guid>
		<description>!Below is the Pseudo code of finding the election date.


Let #day = 1
Let $Find-Monday = &#039;N&#039;
While #day &lt;8
 Do Find-Monday
 If $Find-Monday = &#039;Y&#039;
 Break
 End-If
 Let #day = #day +1
End-While
$Election-Date = #day+1

Begin-Procedure Find-Monday
$Date_Char  = &#039;11/0&#039; &#124;&#124; to_char(#day) &#124;&#124; &#039;/&#039; &#124;&#124; $year
$Date = StrToDate($Date_Char,&#039;MM/DD/YYYY&#039;)
Begin-Select
to_char($Date,&#039;D&#039;) &amp;Day
	If &amp;Day = &#039;2&#039;
		Let $Find-Monday = &#039;Y&#039;
	End-If
End-Select
End-Procedure Find-Monday</description>
		<content:encoded><![CDATA[<p>!Below is the Pseudo code of finding the election date.</p>
<p>Let #day = 1<br />
Let $Find-Monday = &#8216;N&#8217;<br />
While #day &lt;8<br />
 Do Find-Monday<br />
 If $Find-Monday = &#8216;Y&#8217;<br />
 Break<br />
 End-If<br />
 Let #day = #day +1<br />
End-While<br />
$Election-Date = #day+1</p>
<p>Begin-Procedure Find-Monday<br />
$Date_Char  = &#8216;11/0&#8242; || to_char(#day) || &#8216;/&#8217; || $year<br />
$Date = StrToDate($Date_Char,&#8217;MM/DD/YYYY&#8217;)<br />
Begin-Select<br />
to_char($Date,&#8217;D') &amp;Day<br />
	If &amp;Day = &#8216;2&#8242;<br />
		Let $Find-Monday = &#8216;Y&#8217;<br />
	End-If<br />
End-Select<br />
End-Procedure Find-Monday</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: administrator</title>
		<link>http://peoplesoftsqr.com/index.php/2009/01/how-to-prevent-an-sqr-program-from-running-twice/comment-page-1/#comment-22</link>
		<dc:creator>administrator</dc:creator>
		<pubDate>Fri, 23 Jan 2009 06:28:15 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=120#comment-22</guid>
		<description>Good question.  This technique uses a database table maintained by the Peoplesoft Process Scheduler.  It will detect any copy of the program that has been launched by Peoplesoft, no matter which file server is running the SQR program.  Users should not have direct access to the pssqr.exe interpreter.</description>
		<content:encoded><![CDATA[<p>Good question.  This technique uses a database table maintained by the Peoplesoft Process Scheduler.  It will detect any copy of the program that has been launched by Peoplesoft, no matter which file server is running the SQR program.  Users should not have direct access to the pssqr.exe interpreter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Josephson</title>
		<link>http://peoplesoftsqr.com/index.php/2009/01/how-to-prevent-an-sqr-program-from-running-twice/comment-page-1/#comment-21</link>
		<dc:creator>Bob Josephson</dc:creator>
		<pubDate>Fri, 23 Jan 2009 03:13:49 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=120#comment-21</guid>
		<description>Very cool idea, checking whether the program is running or (even cooler) has run recently. But isn&#039;t it an even more likely scenario that two different people, on different PCs, would run the same program? Forgive my ignorance (I&#039;m more suited to writing a C/Java blog myself :-) but does this SQR program run on the server or on clients? If the latter, you need to use a network resource for the lock.</description>
		<content:encoded><![CDATA[<p>Very cool idea, checking whether the program is running or (even cooler) has run recently. But isn&#8217;t it an even more likely scenario that two different people, on different PCs, would run the same program? Forgive my ignorance (I&#8217;m more suited to writing a C/Java blog myself <img src='http://peoplesoftsqr.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  but does this SQR program run on the server or on clients? If the latter, you need to use a network resource for the lock.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
