 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; Batch debugging</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/batch-debugging/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Mon, 20 May 2013 17:21:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Looping Ping</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/looping-ping/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/looping-ping/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 13:05:53 +0000</pubDate>
		<dc:creator>ConFlicker</dc:creator>
				<category><![CDATA[Batch debugging]]></category>
		<category><![CDATA[Batch job]]></category>
		<category><![CDATA[LOOP statement]]></category>
		<category><![CDATA[ping command]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Could someone please help me with this command to loop through the IPlist table and report results. It doesn&#8217;t seem to be looping properly at this time. Thank you. :: &#8220;Set Variables&#8221; for /f &#8220;tokens=*&#8221; %%I in (IPlist.txt) do @Set $IP=%%I @Set OutputFile=PingResults.log :: &#8220;Set Time stamp&#8221; @FOR /F &#8220;tokens=*&#8221; %%* IN (&#8216;date/t&#8217;) Do @(set [...]]]></description>
				<content:encoded><![CDATA[<p>Could someone please help me with this command to loop through the IPlist table and report results. It doesn&#8217;t seem to be looping properly at this time. Thank you.<br/><br/> :: &#8220;Set Variables&#8221; for /f &#8220;tokens=*&#8221; %%I in (IPlist.txt) do @Set $IP=%%I @Set OutputFile=PingResults.log<br/><br/> :: &#8220;Set Time stamp&#8221; @FOR /F &#8220;tokens=*&#8221; %%* IN (&#8216;date/t&#8217;) Do @(set $dt=%%*) @FOR /F &#8220;tokens=*&#8221; %%* IN (&#8216;time/t&#8217;) Do @(set $tm=%%*)<br/><br/> :: &#8220;Ping Computer&#8221; @start/b/w PING %1 -a %$IP% -n 2 -w 100&gt;&#8221;temp.txt&#8221; @FOR /F &#8220;tokens=2,3 delims= &#8221; %%A IN (%tmpFile%) DO @IF &#8220;%%B&#8221;==&#8221;[%$IP%]&#8221; SET $PC=%%A <a href="mailto:||@rem">||@rem</a><br/><br/> :: &#8220;Get Status&#8221; @Set $Status=Off-Line @IF EXIST &#8220;temp.txt&#8221; @GoTo READSTATUS @Set $Status=Ping-Error @GoTo RESULTS<br/><br/> :READSTATUS @Set errorlevel= @Type &#8220;temp.txt&#8221; | Find &#8220;TTL=&#8221; &gt;nul @IF Not errorlevel = 1 @Set $Status=On-Line<br/><br/> :RESULTS @echo results: %$dt% %$tm% %$PC%[%$IP%] ^= %$Status% &gt;&gt;&#8221;%OutputFile%&#8221;<br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/looping-ping/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RPG/400 Batch Job Debugging</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpg400-batch-job-debugging/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/rpg400-batch-job-debugging/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 18:02:17 +0000</pubDate>
		<dc:creator>Kaly</dc:creator>
				<category><![CDATA[AS/400 batch jobs]]></category>
		<category><![CDATA[AS/400 debugging]]></category>
		<category><![CDATA[AS400 Batch job Debug]]></category>
		<category><![CDATA[Batch debugging]]></category>
		<category><![CDATA[RPG/400]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have learnt through Net that Debugging a Batch job involves 1. Submit the job with the HOLD (*YES) parameter: SBMJOB HOLD(*YES) or Hold the job queue that before submitting the job by using the HLDJOBQ command. 2. Determine the job name, user, and number of the submitted job by using the WRKSBMJOB command. 3. [...]]]></description>
				<content:encoded><![CDATA[<p>I have learnt through Net that Debugging a Batch job involves</p>
<p> <b>1. Submit the job with the HOLD (*YES) parameter:<br />
SBMJOB HOLD(*YES) or Hold the job queue that before submitting the job<br />
by using the HLDJOBQ command. </b><br/><br/><br />
<b> 2. Determine the job name, user, and number of the submitted job by using the WRKSBMJOB command. </b><br/><br/><br />
<b> 3. Type the Start Service Job command on your screen:  STRSRVJOB JOB(job name/user/number)</b><br/><br/><br />
<b> 4. Type the Start Debug command on your screen: STRDBG </b><br/><br/><br />
<b> 5. Release the job in the jobq.  Type WRKSBMJOB and then put a 6<br />
beside the job to be released and press enter, or, if the job queue was<br />
put on hold, release the job queue with the RLSJOBQ command. </b><br/><br/><br />
<b> 6. A display appears when the job is ready to start, saying that you<br />
 can now begin debugging the job.  Press F10 to show the Command Entry<br />
display. </b><br/><br/><br />
<b> 7. Now you can start debugging by entering an Add Break Point command:<br />
ADDBKP<br />
</b><br/><br/><br />
<b>8.ENDDBG</b><br/><br/><br />
<b>9.ENDSRVJOB</b><br/><br/><br />
 <br/><br/><br />
<i>I tried this for RPG/400 Program and up to six steps of the above it&#8217;s ok,but for me no source is displayed and i typed DSPMODSRC in Command line but still i can&#8217;t see the sourceif i press F.10 and enter command ADDBKP i don&#8217;t know how to add break points through it,usually i add break points using F.6 for Interactive job debugs,but since this is batch i don&#8217;t know sir,Please help me out.<br />
</i><br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/rpg400-batch-job-debugging/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>AS/400 Batch Debugging with source</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-batch-debugging-with-source/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/as400-batch-debugging-with-source/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 14:24:38 +0000</pubDate>
		<dc:creator>347890</dc:creator>
				<category><![CDATA[AS/400]]></category>
		<category><![CDATA[AS/400 debugging]]></category>
		<category><![CDATA[Batch debugging]]></category>
		<category><![CDATA[RPG]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I want do batch debugging with source for an OPM RPG program in test enviraonment. But im not able view the source. I have compiled the program with the *SRCDBG option. But im getting a &#8216;Source not available&#8217; message when doing batch debug. In my development machine im able to view the souce but not [...]]]></description>
				<content:encoded><![CDATA[<p>I want do batch debugging with source for an OPM RPG program in test enviraonment. But im not able view the source. I have compiled the program with the *SRCDBG option. But im getting a &#8216;Source not available&#8217; message when doing batch debug. In my development machine im able to view the souce but not in test machine. Can you please tell me why this is so?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/as400-batch-debugging-with-source/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Batch debug</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/batch-debug/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/batch-debug/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 14:48:10 +0000</pubDate>
		<dc:creator>Abbey</dc:creator>
				<category><![CDATA[Batch debugging]]></category>
		<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I frequently used &#8220;strisdb&#8221; for an interactive debug. But how do you set up a batch debug when several programs run prior to the one you actually need to debug?]]></description>
				<content:encoded><![CDATA[<p>I frequently used &#8220;strisdb&#8221; for an interactive debug.  But how do you set up a batch debug when several programs run prior to the one you actually need to debug?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/batch-debug/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</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/18 queries in 0.021 seconds using memcached
Object Caching 517/576 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-20 18:29:19 -->