 




<?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: addjobscde</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/addjobscde/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/addjobscde/</link>
	<description></description>
	<lastBuildDate>Sun, 19 May 2013 03:14:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/addjobscde/#comment-111523</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Thu, 27 Sep 2012 01:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/addjobscde/#comment-111523</guid>
		<description><![CDATA[&lt;EM&gt;I suspect the problem occurs because there are multiple days coded in a single variable.&lt;/EM&gt;
&#160;
That&#039;s a common cause, but it&#039;s not what&#039;s happening in the code that&#039;s shown.. I&#039;d like the OP to participate, though, so that a good explanation of why the problem happens and a couple of techniques for fixing it can be added while making sure the OP learns from it.
&#160;
The first major item would be seeing code from the OP that actually causes the error. What was posted shouldn&#039;t do it. However, the problem reported by the OP might be on the CALL to this program. Without more contribution of effort, it&#039;s not going to be fixed when we don&#039;t know what&#039;s wrong.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>I suspect the problem occurs because there are multiple days coded in a single variable.</em><br />
&nbsp;<br />
That&#8217;s a common cause, but it&#8217;s not what&#8217;s happening in the code that&#8217;s shown.. I&#8217;d like the OP to participate, though, so that a good explanation of why the problem happens and a couple of techniques for fixing it can be added while making sure the OP learns from it.<br />
&nbsp;<br />
The first major item would be seeing code from the OP that actually causes the error. What was posted shouldn&#8217;t do it. However, the problem reported by the OP might be on the CALL to this program. Without more contribution of effort, it&#8217;s not going to be fixed when we don&#8217;t know what&#8217;s wrong.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WoodEngineer</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/addjobscde/#comment-111519</link>
		<dc:creator>WoodEngineer</dc:creator>
		<pubDate>Wed, 26 Sep 2012 15:41:25 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/addjobscde/#comment-111519</guid>
		<description><![CDATA[I suspect the problem occurs because there are multiple days coded in a single variable.&#160; If you are using that variable directly in the ADDJOBSCDE command it will not pass the commands edit check.&#160; It treats the parm as a single day value which of course fails when it contains multiple days.&#160; 
A technique we use&#160;is to&#160;assemble the&#160;command in a long character variable, then execute this code in your CL:
CALL&#160;&#160;&#160;&#160;&#160;&#160; PGM(QCMDEXC) PARM(&amp;CMD &amp;CmdLen)
&#160;]]></description>
		<content:encoded><![CDATA[<p>I suspect the problem occurs because there are multiple days coded in a single variable.&nbsp; If you are using that variable directly in the ADDJOBSCDE command it will not pass the commands edit check.&nbsp; It treats the parm as a single day value which of course fails when it contains multiple days.&nbsp;<br />
A technique we use&nbsp;is to&nbsp;assemble the&nbsp;command in a long character variable, then execute this code in your CL:<br />
CALL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PGM(QCMDEXC) PARM(&amp;CMD &amp;CmdLen)<br />
&nbsp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ToddN2000</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/addjobscde/#comment-111518</link>
		<dc:creator>ToddN2000</dc:creator>
		<pubDate>Wed, 26 Sep 2012 15:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/addjobscde/#comment-111518</guid>
		<description><![CDATA[My question is why add the entries with a CL program? The scheduled jobs should not be changing much once set up to run. &#160;I doubt you will be running this program more than once. Let me know if I&#039;m wrong thinking that. Are you trying to load a lot of jobs programmatically instead of manually ? &#160;It looks like you are running this with passed parameters. Where are the coming from? If a job is already in the scheduler how do you handle the error? &#160;Just curious]]></description>
		<content:encoded><![CDATA[<p>My question is why add the entries with a CL program? The scheduled jobs should not be changing much once set up to run. &nbsp;I doubt you will be running this program more than once. Let me know if I&#8217;m wrong thinking that. Are you trying to load a lot of jobs programmatically instead of manually ? &nbsp;It looks like you are running this with passed parameters. Where are the coming from? If a job is already in the scheduler how do you handle the error? &nbsp;Just curious</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/addjobscde/#comment-111488</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Tue, 25 Sep 2012 22:30:07 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/addjobscde/#comment-111488</guid>
		<description><![CDATA[...when scdday has several days it reports an cpf0001. i&#039;m using the below cl, and parameters&#039; values before the call are :&#160;... &amp;dias = &#039;*TUE *WED &#039;
&#160;
Your example CL doesn&#039;t show that variable &amp;DIAS is used. Since it isn&#039;t used, there shouldn&#039;t be any error at all. What line signals the error?
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>&#8230;when scdday has several days it reports an cpf0001. i&#8217;m using the below cl, and parameters&#8217; values before the call are :&nbsp;&#8230; &amp;dias = &#8216;*TUE *WED &#8216;<br />
&nbsp;<br />
Your example CL doesn&#8217;t show that variable &amp;DIAS is used. Since it isn&#8217;t used, there shouldn&#8217;t be any error at all. What line signals the error?<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/8 queries in 0.013 seconds using memcached
Object Caching 311/312 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-19 14:28:30 -->