 




<?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: Answer a monmsg from within CL?</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/answer-a-monmsg-from-within-cl/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/answer-a-monmsg-from-within-cl/</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/answer-a-monmsg-from-within-cl/#comment-91332</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 26 Apr 2011 00:06:12 +0000</pubDate>
		<guid isPermaLink="false">#comment-91332</guid>
		<description><![CDATA[&lt;i&gt;...could i use something like this…&lt;/i&gt;

Probably not.

The message will be displayed as part of processing the CALL command. A reply will be required before the program moves on to the RCVMSG command. That is, by the time RCVMSG is executed, it will all be over. The reply will already be done.

If you can copy/paste a portion of a joblog that demonstrates the messaging, there is probably a good solution available. (And the most useful solution just &lt;i&gt;might be&lt;/i&gt; the System Reply List.)

Tom]]></description>
		<content:encoded><![CDATA[<p><i>&#8230;could i use something like this…</i></p>
<p>Probably not.</p>
<p>The message will be displayed as part of processing the CALL command. A reply will be required before the program moves on to the RCVMSG command. That is, by the time RCVMSG is executed, it will all be over. The reply will already be done.</p>
<p>If you can copy/paste a portion of a joblog that demonstrates the messaging, there is probably a good solution available. (And the most useful solution just <i>might be</i> the System Reply List.)</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lotofbad</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/answer-a-monmsg-from-within-cl/#comment-91265</link>
		<dc:creator>lotofbad</dc:creator>
		<pubDate>Sat, 23 Apr 2011 11:25:22 +0000</pubDate>
		<guid isPermaLink="false">#comment-91265</guid>
		<description><![CDATA[I looked at the message queue the message is coming from (I think) it says that it is *ext. With that said could i use something like this...

pgm

dcl VAR(&amp;MSGKY) TYPE(*CHAR) LEN(6) 

call mylib/pgm

 RCVMSG     MSGQ(*ext) MSGTYPE(*LAST) KEYVAR(&amp;MSGKY)        
 SNDRPY     MSGKEY(&amp;MSGKY) MSGQ(*ext) RPY(&#039;I&#039;) CCSID(65535)

endpgm


Thanks for are the support guys.]]></description>
		<content:encoded><![CDATA[<p>I looked at the message queue the message is coming from (I think) it says that it is *ext. With that said could i use something like this&#8230;</p>
<p>pgm</p>
<p>dcl VAR(&amp;MSGKY) TYPE(*CHAR) LEN(6) </p>
<p>call mylib/pgm</p>
<p> RCVMSG     MSGQ(*ext) MSGTYPE(*LAST) KEYVAR(&amp;MSGKY)<br />
 SNDRPY     MSGKEY(&amp;MSGKY) MSGQ(*ext) RPY(&#8216;I&#8217;) CCSID(65535)</p>
<p>endpgm</p>
<p>Thanks for are the support guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/answer-a-monmsg-from-within-cl/#comment-91229</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 22 Apr 2011 01:53:34 +0000</pubDate>
		<guid isPermaLink="false">#comment-91229</guid>
		<description><![CDATA[Note that an *INQ message can&#039;t be monitored at all. MONMSG only reacts to *ESCAPE, *NOTIFY or *STATUS messages.

If it is an *INQ message, then it will depend on where it is sent among other possible things. But if it is an *INQ message that is generated because of an unhandled *ESCAPE message, then the answer will go to how to handle the *ESCAPE message in order to avoid the *INQ message from ever showing up.

Tom]]></description>
		<content:encoded><![CDATA[<p>Note that an *INQ message can&#8217;t be monitored at all. MONMSG only reacts to *ESCAPE, *NOTIFY or *STATUS messages.</p>
<p>If it is an *INQ message, then it will depend on where it is sent among other possible things. But if it is an *INQ message that is generated because of an unhandled *ESCAPE message, then the answer will go to how to handle the *ESCAPE message in order to avoid the *INQ message from ever showing up.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/answer-a-monmsg-from-within-cl/#comment-91170</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 20 Apr 2011 22:32:33 +0000</pubDate>
		<guid isPermaLink="false">#comment-91170</guid>
		<description><![CDATA[Note that the System Reply List can affect any job that runs with the INQMSGRPY(*SYSRPYL) attribute set on and that you need to set it on for jobs that you want to use the System Reply List.

That is, it can affect an unintended job. And it won&#039;t affect your intended job unless it is configured for it.

Tom]]></description>
		<content:encoded><![CDATA[<p>Note that the System Reply List can affect any job that runs with the INQMSGRPY(*SYSRPYL) attribute set on and that you need to set it on for jobs that you want to use the System Reply List.</p>
<p>That is, it can affect an unintended job. And it won&#8217;t affect your intended job unless it is configured for it.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jc400it</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/answer-a-monmsg-from-within-cl/#comment-91168</link>
		<dc:creator>jc400it</dc:creator>
		<pubDate>Wed, 20 Apr 2011 21:15:27 +0000</pubDate>
		<guid isPermaLink="false">#comment-91168</guid>
		<description><![CDATA[Hello Lotofbad,

Try using the i’s Sytem Reply List to automatically reply the (i)gnore.

The command is WRKRPYLE
He is a sample 
                      Change Reply List Entry (CHGRPYLE)                       
                                                                               
Type choices, press Enter.                                                     
                                                                               
Sequence number  . . . . . . . . &gt; 99            1-9999                        
Message identifier . . . . . . .   CPA7025       Character value, *SAME, *ANY  
Compare data:                                                                  
  Comparison data  . . . . . . .   &#039;JRNL&#039;                                      
  Message data start position  .   5             1-999, *SAME, *NONE           
Message reply  . . . . . . . . .   &#039;I&#039;                                         
                                                                               
                           Additional Parameters                               

By using this you don’t evening need to make any programming changes.
I hope this will help.

JC400IT]]></description>
		<content:encoded><![CDATA[<p>Hello Lotofbad,</p>
<p>Try using the i’s Sytem Reply List to automatically reply the (i)gnore.</p>
<p>The command is WRKRPYLE<br />
He is a sample<br />
                      Change Reply List Entry (CHGRPYLE)                       </p>
<p>Type choices, press Enter.                                                     </p>
<p>Sequence number  . . . . . . . . &gt; 99            1-9999<br />
Message identifier . . . . . . .   CPA7025       Character value, *SAME, *ANY<br />
Compare data:<br />
  Comparison data  . . . . . . .   &#8216;JRNL&#8217;<br />
  Message data start position  .   5             1-999, *SAME, *NONE<br />
Message reply  . . . . . . . . .   &#8216;I&#8217;                                         </p>
<p>                           Additional Parameters                               </p>
<p>By using this you don’t evening need to make any programming changes.<br />
I hope this will help.</p>
<p>JC400IT</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hmssl2k</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/answer-a-monmsg-from-within-cl/#comment-91164</link>
		<dc:creator>hmssl2k</dc:creator>
		<pubDate>Wed, 20 Apr 2011 20:50:46 +0000</pubDate>
		<guid isPermaLink="false">#comment-91164</guid>
		<description><![CDATA[Why not just setup a System Reply List Entries, WRKRPYLE]]></description>
		<content:encoded><![CDATA[<p>Why not just setup a System Reply List Entries, WRKRPYLE</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/answer-a-monmsg-from-within-cl/#comment-91155</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 20 Apr 2011 19:17:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-91155</guid>
		<description><![CDATA[It depends on what kind of message it is, though it sounds like either an *ESCAPE or an *INQ (inquiry) message. We should see the message details in order to know if and how the message might be handled automatically.

When the message displays and before you respond to it, move the cursor to the message text and press &lt;F1&gt;. When the message display is shown, press &lt;F9&gt; to see the message details. Copy/paste the message details back here. We should see at least the message ID, the message type, the from-program and the to-program from the details.

It&#039;s likely that there will be a question or two about those details before an answer is reasonable.

Tom]]></description>
		<content:encoded><![CDATA[<p>It depends on what kind of message it is, though it sounds like either an *ESCAPE or an *INQ (inquiry) message. We should see the message details in order to know if and how the message might be handled automatically.</p>
<p>When the message displays and before you respond to it, move the cursor to the message text and press &lt;F1&gt;. When the message display is shown, press &lt;F9&gt; to see the message details. Copy/paste the message details back here. We should see at least the message ID, the message type, the from-program and the to-program from the details.</p>
<p>It&#8217;s likely that there will be a question or two about those details before an answer is reasonable.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gfprogrammer</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/answer-a-monmsg-from-within-cl/#comment-91147</link>
		<dc:creator>gfprogrammer</dc:creator>
		<pubDate>Wed, 20 Apr 2011 16:57:02 +0000</pubDate>
		<guid isPermaLink="false">#comment-91147</guid>
		<description><![CDATA[Is the error message issued on the call to the program or in the program after it is called?]]></description>
		<content:encoded><![CDATA[<p>Is the error message issued on the call to the program or in the program after it is called?</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.033 seconds using memcached
Object Caching 367/368 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-19 12:25:21 -->