 




<?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: Debugging a Batch Job</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 12:49:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116372</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Sat, 16 Feb 2013 00:18:55 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116372</guid>
		<description><![CDATA[A better green-screen debug method id described in &lt;a href=&quot;http://www.ibmsystemsmag.com/ibmi/developer/rpg/Debugging-RPG-IV-Programs-aâ¬--The-Green-Screen-Way&quot; rel=&quot;nofollow&quot;&gt;Debugging RPG IV Programs - The Green-Screen Way&lt;/a&gt;. The article generally describes STRDBG. But at the end, it covers the use of Service Entry Points (SEPs) and how the debug batch jobs with them. I recommend learning this method and using it. -- Tom]]></description>
		<content:encoded><![CDATA[<p>A better green-screen debug method id described in <a href="http://www.ibmsystemsmag.com/ibmi/developer/rpg/Debugging-RPG-IV-Programs-aâ¬--The-Green-Screen-Way" rel="nofollow">Debugging RPG IV Programs &#8211; The Green-Screen Way</a>. The article generally describes STRDBG. But at the end, it covers the use of Service Entry Points (SEPs) and how the debug batch jobs with them. I recommend learning this method and using it. &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WoodEngineer</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116368</link>
		<dc:creator>WoodEngineer</dc:creator>
		<pubDate>Fri, 15 Feb 2013 16:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116368</guid>
		<description><![CDATA[The instructions at this link work well:
&lt;a href=&quot;http://search400.techtarget.com/news/968098/How-to-debug-a-batch-ILE-RPG?vgnextfmt=print&quot; rel=&quot;nofollow&quot;&gt;http://search400.techtarget.com/news/968098/How-to-debug-a-batch-ILE-RPG?vgnextfmt=print&lt;/A&gt;]]></description>
		<content:encoded><![CDATA[<p>The instructions at this link work well:<br />
<a href="http://search400.techtarget.com/news/968098/How-to-debug-a-batch-ILE-RPG?vgnextfmt=print" rel="nofollow">http://search400.techtarget.com/news/968098/How-to-debug-a-batch-ILE-RPG?vgnextfmt=print</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116326</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Fri, 15 Feb 2013 05:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116326</guid>
		<description><![CDATA[Also, you won&#039;t CALL the program. The SBMJOB command will call the program. -- Tom]]></description>
		<content:encoded><![CDATA[<p>Also, you won&#8217;t CALL the program. The SBMJOB command will call the program. &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116325</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Fri, 15 Feb 2013 05:44:47 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116325</guid>
		<description><![CDATA[Please go back to your original question and note that STRDBG is step 3, and RLSJOB is step 4. -- Tom]]></description>
		<content:encoded><![CDATA[<p>Please go back to your original question and note that STRDBG is step 3, and RLSJOB is step 4. &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mvrkrishna</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116324</link>
		<dc:creator>mvrkrishna</dc:creator>
		<pubDate>Fri, 15 Feb 2013 05:41:35 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116324</guid>
		<description><![CDATA[1. SBMJOB ... HOLD(*YES)

&lt;br&gt;2. STRSRVJOB JOB(jobnbr/user/jobnam)

&lt;br&gt;3. RLSJOB JOB(jobnbr/user/jobnam)
When Start Serviced Job display appears, press F10

&lt;br&gt;4. STRDBG
When source is displayed, When source is displayed, set a breakpoint, press F12

&lt;br&gt;5. Call the program. &lt;br&gt;&lt;br&gt;Please let me know whether the above procedure correct or wrong? And, please correct me if I am wrong.&lt;br&gt;]]></description>
		<content:encoded><![CDATA[<p>1. SBMJOB &#8230; HOLD(*YES)</p>
<p>2. STRSRVJOB JOB(jobnbr/user/jobnam)</p>
<p>3. RLSJOB JOB(jobnbr/user/jobnam)<br />
When Start Serviced Job display appears, press F10</p>
<p>4. STRDBG<br />
When source is displayed, When source is displayed, set a breakpoint, press F12</p>
<p>5. Call the program. </p>
<p>Please let me know whether the above procedure correct or wrong? And, please correct me if I am wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116323</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Fri, 15 Feb 2013 05:32:37 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116323</guid>
		<description><![CDATA[BTW, you can make STRSRVJOB a little easier by using the SBREAK debug command to set a service entry point. See the SBREAK help on a debug command line for basic details. -- Tom]]></description>
		<content:encoded><![CDATA[<p>BTW, you can make STRSRVJOB a little easier by using the SBREAK debug command to set a service entry point. See the SBREAK help on a debug command line for basic details. &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116322</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Fri, 15 Feb 2013 05:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116322</guid>
		<description><![CDATA[Please show the STRDBG command that you used. Did you exit the debug display with F12, and not F3? Also, did you set any breakpoints after the DSPMODSRC display opened?
&#160;
The debugger that I use most is the &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frzamq%2Frzamqmain.htm&quot; rel=&quot;nofollow&quot;&gt;System i5 Debugger&lt;/A&gt;. It&#039;s okay once you give yourself some practice.
&#160;
The next levels of the debugger&#160;are nicer, but might need more practice. WDSC or RDi both include debugging facilities. You can also examine debugging through iSeries Navigator-&gt; Databases-&gt; Run SQL scripts... Start the SQL window, and select Run-&gt; Debugger. It&#039;s intended for debugging your remote SQL requests, but it can be used however you see fit.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>Please show the STRDBG command that you used. Did you exit the debug display with F12, and not F3? Also, did you set any breakpoints after the DSPMODSRC display opened?<br />
&nbsp;<br />
The debugger that I use most is the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frzamq%2Frzamqmain.htm" rel="nofollow">System i5 Debugger</a>. It&#8217;s okay once you give yourself some practice.<br />
&nbsp;<br />
The next levels of the debugger&nbsp;are nicer, but might need more practice. WDSC or RDi both include debugging facilities. You can also examine debugging through iSeries Navigator-&gt; Databases-&gt; Run SQL scripts&#8230; Start the SQL window, and select Run-&gt; Debugger. It&#8217;s intended for debugging your remote SQL requests, but it can be used however you see fit.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mvrkrishna</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116319</link>
		<dc:creator>mvrkrishna</dc:creator>
		<pubDate>Fri, 15 Feb 2013 04:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116319</guid>
		<description><![CDATA[Hi Tom,&lt;br&gt;&lt;br&gt;Please tell me about the modern debug function.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;M&lt;br&gt;]]></description>
		<content:encoded><![CDATA[<p>Hi Tom,</p>
<p>Please tell me about the modern debug function.</p>
<p>Regards,<br />M</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116318</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Fri, 15 Feb 2013 04:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/debugging-a-batch-job/#comment-116318</guid>
		<description><![CDATA[You didn&#039;t say what the error message ID is, so I have to guess that it&#039;s CPF1938. The STRDBG command doesn&#039;t throw that message ID, so you probably tried to run a debug command before you released the job. Maybe you tried to set a breakpoint. You can&#039;t do that until after you release the job. The only command you can run is STRDBG, then you must release or start the job, and then you can set a breakpoint or display a variable. Personally, I would use a more modern debug function rather than trying to use STRSRVJOB through a terminal interface. -- Tom]]></description>
		<content:encoded><![CDATA[<p>You didn&#8217;t say what the error message ID is, so I have to guess that it&#8217;s CPF1938. The STRDBG command doesn&#8217;t throw that message ID, so you probably tried to run a debug command before you released the job. Maybe you tried to set a breakpoint. You can&#8217;t do that until after you release the job. The only command you can run is STRDBG, then you must release or start the job, and then you can set a breakpoint or display a variable. Personally, I would use a more modern debug function rather than trying to use STRSRVJOB through a terminal interface. &#8212; 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 3/8 queries in 0.042 seconds using memcached
Object Caching 381/382 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-21 13:14:17 -->