 




<?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: Exception handling in CL without Command level MONMSG</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/exception-handling-in-cl-without-command-level-monmsg/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/exception-handling-in-cl-without-command-level-monmsg/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 17:13:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: hardywan</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/exception-handling-in-cl-without-command-level-monmsg/#comment-49626</link>
		<dc:creator>hardywan</dc:creator>
		<pubDate>Fri, 08 Apr 2005 12:06:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-49626</guid>
		<description><![CDATA[rchevalier had already provided you a perfect solution.  I just want to highlight that most CL commands allow R=Retry choice after clearing the encountered error.  It may not be a good idea (especially from production support point of view) to have a &quot;MONMSG ALL&quot; CL job. ]]></description>
		<content:encoded><![CDATA[<p>rchevalier had already provided you a perfect solution.  I just want to highlight that most CL commands allow R=Retry choice after clearing the encountered error.  It may not be a good idea (especially from production support point of view) to have a &#8220;MONMSG ALL&#8221; CL job. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krisdv</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/exception-handling-in-cl-without-command-level-monmsg/#comment-49627</link>
		<dc:creator>krisdv</dc:creator>
		<pubDate>Mon, 28 Mar 2005 08:55:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-49627</guid>
		<description><![CDATA[If I recall well, you can restrict the monmsg also to a range f.e. MONMSG CPF4000 will catch all errors in the 4001-4999 range.  Combined with the CL you should be able to catch messages and treat them accordingly]]></description>
		<content:encoded><![CDATA[<p>If I recall well, you can restrict the monmsg also to a range f.e. MONMSG CPF4000 will catch all errors in the 4001-4999 range.  Combined with the CL you should be able to catch messages and treat them accordingly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wlt000</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/exception-handling-in-cl-without-command-level-monmsg/#comment-49628</link>
		<dc:creator>wlt000</dc:creator>
		<pubDate>Wed, 23 Mar 2005 11:30:10 +0000</pubDate>
		<guid isPermaLink="false">#comment-49628</guid>
		<description><![CDATA[PGM                                                                
                                                                                DCL VAR(&amp;PROCESS) TYPE(*CHAR) LEN(20) +                     
                          VALUE(&#039;Start up&#039;)                                     
DCL VAR(&amp;ERRORMSG) TYPE(*CHAR) LEN(80)                      
                                                                                
MONMSG MSGID(CPF0000) EXEC(GOTO ERROR)                         
                                                                                
CHGVAR VAR(&amp;PROCESS) VALUE(&#039;Initialize Tape&#039;)                  
INZTAP     DEV(TAP01)                                              
                                                                                
CHGVAR VAR(&amp;PROCESS) VALUE(&#039;Save Library ABC&#039;)                 
SAVLIB LIB(ABC) DEV(TAP01)                                     
                                                                                
GOTO CMDLBL(ENDPGM)                                          

ERROR:                                                                         
RCVMSG MSGTYPE(*EXCP) RMV(*NO) MSG(&amp;ERRORMSG)                  
SNDPGMMSG MSG(&#039;An error occured during:&#039; &#124;&gt; + &amp;PROCESS)             
SNDPGMMSG  MSG(&amp;ERRORMSG)                                          

ENDPGM: ENDPGM                ]]></description>
		<content:encoded><![CDATA[<p>PGM<br />
                                                                                DCL VAR(&amp;PROCESS) TYPE(*CHAR) LEN(20) +<br />
                          VALUE(&#8216;Start up&#8217;)<br />
DCL VAR(&amp;ERRORMSG) TYPE(*CHAR) LEN(80)                      </p>
<p>MONMSG MSGID(CPF0000) EXEC(GOTO ERROR)                         </p>
<p>CHGVAR VAR(&amp;PROCESS) VALUE(&#8216;Initialize Tape&#8217;)<br />
INZTAP     DEV(TAP01)                                              </p>
<p>CHGVAR VAR(&amp;PROCESS) VALUE(&#8216;Save Library ABC&#8217;)<br />
SAVLIB LIB(ABC) DEV(TAP01)                                     </p>
<p>GOTO CMDLBL(ENDPGM)                                          </p>
<p>ERROR:<br />
RCVMSG MSGTYPE(*EXCP) RMV(*NO) MSG(&amp;ERRORMSG)<br />
SNDPGMMSG MSG(&#8216;An error occured during:&#8217; |&gt; + &amp;PROCESS)<br />
SNDPGMMSG  MSG(&amp;ERRORMSG)                                          </p>
<p>ENDPGM: ENDPGM                </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/10 queries in 0.038 seconds using memcached
Object Caching 295/301 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 19:31:41 -->