 




<?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: Operation not allowed in a job running multiple threads from SQL RPGLE</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/operation-not-allowed-in-a-job-running-multiple-threads-from-sql-rpgle/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/operation-not-allowed-in-a-job-running-multiple-threads-from-sql-rpgle/</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 13:34:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/operation-not-allowed-in-a-job-running-multiple-threads-from-sql-rpgle/#comment-113402</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Wed, 14 Nov 2012 22:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/operation-not-allowed-in-a-job-running-multiple-threads-from-sql-rpgle/#comment-113402</guid>
		<description><![CDATA[The solution is temporary. There will be other problems. You can find a number of problems discussed in this forum and in just about any similar forum on the internet.
&#160;
There are a number of plain SMTP free e-mail solutions that do not require use of SNDDST nor QDLS. Maybe the most common is &lt;a href=&quot;http://mmail.easy400.net/&quot; rel=&quot;nofollow&quot;&gt;Mime&amp;Mail for IBM System i&lt;/A&gt; from Easy400. Java e-mail has also become fairly common, and other solutions exist. SMTP e-mail can also be done without any 3rd-party utilities by calling the native SMTP functions, but most sites prefer a utility.
&#160;
SNDDST plus QDLS is a useful short-term function. For continuing long-term use, you need to use features that are appropriate to the task.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>The solution is temporary. There will be other problems. You can find a number of problems discussed in this forum and in just about any similar forum on the internet.<br />
&nbsp;<br />
There are a number of plain SMTP free e-mail solutions that do not require use of SNDDST nor QDLS. Maybe the most common is <a href="http://mmail.easy400.net/" rel="nofollow">Mime&amp;Mail for IBM System i</a> from Easy400. Java e-mail has also become fairly common, and other solutions exist. SMTP e-mail can also be done without any 3rd-party utilities by calling the native SMTP functions, but most sites prefer a utility.<br />
&nbsp;<br />
SNDDST plus QDLS is a useful short-term function. For continuing long-term use, you need to use features that are appropriate to the task.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sim400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/operation-not-allowed-in-a-job-running-multiple-threads-from-sql-rpgle/#comment-113397</link>
		<dc:creator>sim400</dc:creator>
		<pubDate>Wed, 14 Nov 2012 20:04:16 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/operation-not-allowed-in-a-job-running-multiple-threads-from-sql-rpgle/#comment-113397</guid>
		<description><![CDATA[Tom,What could I use to send email on iSeries? I know only SNDDST.Anyway, the problem is solved after using&#160;CHGQRYA DEGREE(*NONE) at the start of the program.]]></description>
		<content:encoded><![CDATA[<p>Tom,What could I use to send email on iSeries? I know only SNDDST.Anyway, the problem is solved after using&nbsp;CHGQRYA DEGREE(*NONE) at the start of the program.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/operation-not-allowed-in-a-job-running-multiple-threads-from-sql-rpgle/#comment-113393</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Wed, 14 Nov 2012 17:16:05 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/operation-not-allowed-in-a-job-running-multiple-threads-from-sql-rpgle/#comment-113393</guid>
		<description><![CDATA[The Information Center &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frzahw%2Frzahwfscco.htm&quot; rel=&quot;nofollow&quot;&gt;File system considerations for multithreaded programming&lt;/A&gt; topic is clear:

&lt;BLOCKQUOTE&gt;The QDLS file system is not threadsafe.&lt;/BLOCKQUOTE&gt;

You can&#039;t use that programming to do that task in a subsystem that allows multi-threading. And you might not be able to run that program in a subsystem that doesn&#039;t allow multiple threads. It doesn&#039;t matter how you compile your program. The functions that you are accessing through that program are where the problem is.
&#160;
And again, why are you using SNDDST? It&#039;s not appropriate for what you&#039;re doing. Use an e-mail function instead, and stop using QDLS.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>The Information Center <a href="http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frzahw%2Frzahwfscco.htm" rel="nofollow">File system considerations for multithreaded programming</a> topic is clear:</p>
<blockquote><p>The QDLS file system is not threadsafe.</p></blockquote>
<p>You can&#8217;t use that programming to do that task in a subsystem that allows multi-threading. And you might not be able to run that program in a subsystem that doesn&#8217;t allow multiple threads. It doesn&#8217;t matter how you compile your program. The functions that you are accessing through that program are where the problem is.<br />
&nbsp;<br />
And again, why are you using SNDDST? It&#8217;s not appropriate for what you&#8217;re doing. Use an e-mail function instead, and stop using QDLS.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ToddN2000</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/operation-not-allowed-in-a-job-running-multiple-threads-from-sql-rpgle/#comment-113385</link>
		<dc:creator>ToddN2000</dc:creator>
		<pubDate>Wed, 14 Nov 2012 16:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/operation-not-allowed-in-a-job-running-multiple-threads-from-sql-rpgle/#comment-113385</guid>
		<description><![CDATA[Is your program just for e-mailing the spool files or are you creating and e-mailing within the same program?&#160;If it is for e-mailing only, why not write it in CL?&#160;How are you getting the spool file attributes for e-mailing the correct document. Does your problem happen every time you run the job or is it sporadic?]]></description>
		<content:encoded><![CDATA[<p>Is your program just for e-mailing the spool files or are you creating and e-mailing within the same program?&nbsp;If it is for e-mailing only, why not write it in CL?&nbsp;How are you getting the spool file attributes for e-mailing the correct document. Does your problem happen every time you run the job or is it sporadic?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sim400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/operation-not-allowed-in-a-job-running-multiple-threads-from-sql-rpgle/#comment-113377</link>
		<dc:creator>sim400</dc:creator>
		<pubDate>Wed, 14 Nov 2012 14:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/operation-not-allowed-in-a-job-running-multiple-threads-from-sql-rpgle/#comment-113377</guid>
		<description><![CDATA[Tom, Thanks for Reply.....We have Jobs generating reports (spool file) and they add the spool file to be sent out in email into a File. My SQLRPGLE running in batch picks entries from File (it will have details of spool file), takes that spool file and runs CPYSPLF, generates PDF file.......I use QDLS and SNDDST to send the PDF file in email. I think we can use SNDDST only from QDLS.All CL commands are run by RPGLE only thru QCMDEXC.]]></description>
		<content:encoded><![CDATA[<p>Tom, Thanks for Reply&#8230;..We have Jobs generating reports (spool file) and they add the spool file to be sent out in email into a File. My SQLRPGLE running in batch picks entries from File (it will have details of spool file), takes that spool file and runs CPYSPLF, generates PDF file&#8230;&#8230;.I use QDLS and SNDDST to send the PDF file in email. I think we can use SNDDST only from QDLS.All CL commands are run by RPGLE only thru QCMDEXC.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/operation-not-allowed-in-a-job-running-multiple-threads-from-sql-rpgle/#comment-113355</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Tue, 13 Nov 2012 20:35:55 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/operation-not-allowed-in-a-job-running-multiple-threads-from-sql-rpgle/#comment-113355</guid>
		<description><![CDATA[&lt;EM&gt;Why program runs in multi thread ?&lt;/EM&gt;
&#160;
We can&#039;t tell because you didn&#039;t show us how you run the program nor how the program is coded.
&#160;
&lt;EM&gt;2. Convert Spool file to PDF...&lt;/EM&gt;
&#160;
What spool file? Where did it come from? How does any spooled file relate to the SQL program? How is the .PDF conversion done?
&#160;
&lt;EM&gt;3. Copies PDF file from Root/Folder1 to QDLS/Folder1...&lt;/EM&gt;&#160;and &lt;EM&gt;4. Send PDF file using SNDDST...&lt;/EM&gt;
&#160;
Why are you using QDLS? Why use SNDDST?&#160;Both of those are&#160;potentially related causes.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>Why program runs in multi thread ?</em><br />
&nbsp;<br />
We can&#8217;t tell because you didn&#8217;t show us how you run the program nor how the program is coded.<br />
&nbsp;<br />
<em>2. Convert Spool file to PDF&#8230;</em><br />
&nbsp;<br />
What spool file? Where did it come from? How does any spooled file relate to the SQL program? How is the .PDF conversion done?<br />
&nbsp;<br />
<em>3. Copies PDF file from Root/Folder1 to QDLS/Folder1&#8230;</em>&nbsp;and <em>4. Send PDF file using SNDDST&#8230;</em><br />
&nbsp;<br />
Why are you using QDLS? Why use SNDDST?&nbsp;Both of those are&nbsp;potentially related causes.<br />
&nbsp;<br />
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.010 seconds using memcached
Object Caching 338/341 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-21 13:36:46 -->