 




<?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: Getting error messages from qsysopr</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/getting-error-messages-from-qsysopr/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/getting-error-messages-from-qsysopr/</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 18:24:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/getting-error-messages-from-qsysopr/#comment-112031</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Tue, 09 Oct 2012 01:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/getting-error-messages-from-qsysopr/#comment-112031</guid>
		<description><![CDATA[&lt;EM&gt;The reason I say this is I’m not sure how large the qsysopr message queue will get on your system before it wraps or is cleared.&lt;/EM&gt;
&#160;
The maximum size of a *MSGQ is 16MB. QSYSOPR should have the default set by IBM. But the queues usually don&#039;t actually hold &quot;messages&quot;; they usually hold message IDs, some minimal replacement values and various definition fields. What you see when viewing the queues is the interpreted content. They can appear to be much larger than they are.
&#160;
&lt;EM&gt;...without locking qsysopr or removing messages from there.&lt;/EM&gt;
&#160;
&quot;Removing&quot; (or more likely &lt;STRONG&gt;not&lt;/STRONG&gt; removing) messages is one fun part of RCVMSG. The handling of &#039;old&#039; or &#039;new&#039; messages when a message monitor is restarted takes practice. The content of QSYSOPR can be cleared real fast if not done right. Messages can also be processed multiple times after restarts.
&#160;
For a system message queue, there are various things that can go wrong. Finding problems a week or a month or more later can be messy.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>The reason I say this is I’m not sure how large the qsysopr message queue will get on your system before it wraps or is cleared.</em><br />
&nbsp;<br />
The maximum size of a *MSGQ is 16MB. QSYSOPR should have the default set by IBM. But the queues usually don&#8217;t actually hold &#8220;messages&#8221;; they usually hold message IDs, some minimal replacement values and various definition fields. What you see when viewing the queues is the interpreted content. They can appear to be much larger than they are.<br />
&nbsp;<br />
<em>&#8230;without locking qsysopr or removing messages from there.</em><br />
&nbsp;<br />
&#8220;Removing&#8221; (or more likely <strong>not</strong> removing) messages is one fun part of RCVMSG. The handling of &#8216;old&#8217; or &#8216;new&#8217; messages when a message monitor is restarted takes practice. The content of QSYSOPR can be cleared real fast if not done right. Messages can also be processed multiple times after restarts.<br />
&nbsp;<br />
For a system message queue, there are various things that can go wrong. Finding problems a week or a month or more later can be messy.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NickHutcheson1</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/getting-error-messages-from-qsysopr/#comment-112023</link>
		<dc:creator>NickHutcheson1</dc:creator>
		<pubDate>Mon, 08 Oct 2012 21:29:45 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/getting-error-messages-from-qsysopr/#comment-112023</guid>
		<description><![CDATA[At a former employer we used ACOpager from DDL systems to monitor message queues, qsysopr, qhst, etc.&#160; Fairly cheap(cheaper than others) and easy to setup.&#160; It also featured a reply list, &#039;ignore&#039; list for messages.&#160; There may be a way to copy new or un-answered messages to a file and let a program read through the file for specific messages.&#160; When this process executes, you could remove any un-needed messages.&#160; Of course, the best way would be to make your application messages go to another queue or file instead of QSYSOPR then you could still look for messages from your apps without locking qsysopr or removing messages from there.&#160; The reason I say this is I&#039;m not sure how large the qsysopr message queue will get on your system before it wraps or is cleared.My two bits.Nick]]></description>
		<content:encoded><![CDATA[<p>At a former employer we used ACOpager from DDL systems to monitor message queues, qsysopr, qhst, etc.&nbsp; Fairly cheap(cheaper than others) and easy to setup.&nbsp; It also featured a reply list, &#8216;ignore&#8217; list for messages.&nbsp; There may be a way to copy new or un-answered messages to a file and let a program read through the file for specific messages.&nbsp; When this process executes, you could remove any un-needed messages.&nbsp; Of course, the best way would be to make your application messages go to another queue or file instead of QSYSOPR then you could still look for messages from your apps without locking qsysopr or removing messages from there.&nbsp; The reason I say this is I&#8217;m not sure how large the qsysopr message queue will get on your system before it wraps or is cleared.My two bits.Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/getting-error-messages-from-qsysopr/#comment-112022</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Mon, 08 Oct 2012 21:09:28 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/getting-error-messages-from-qsysopr/#comment-112022</guid>
		<description><![CDATA[First, there should not be any messages from &quot;custom apps&quot; in QSYSOPR. But you probably can&#039;t do anything about that.
&#160;
No matter what, you are going to have an &quot;agent on box&quot; (well, unless you pay someone to watch QSYSOPR and manually enter messages somewhere else). You can program the agent yourself, or you can use a 3rd-party agent. For simple work, you can program the &quot;agent&quot;.
&#160;
But most likely you won&#039;t want to. For a system message queue such as QSYSOPR, it&#039;s not as easy as just using RCVMSG. E.g., as noted above, the automatic allocation of QSYSOPR ensures that no other process can be using the message queue. That means that you can&#039;t even have a logon that has QSYSOPR messages breaking at a workstation as long as the &quot;agent&quot; needs to be running. I.e., you can&#039;t have two processes monitoring QSYSOPR at the same time.
&#160;
If you are not already familiar with methods of message queue monitor programming, you&#039;re likely to run into conflicts that&#160;can take possibly days to resolve while you learn the concepts and the programming. I assume you have a business reason for doing this and for mentioning an &quot;agent&quot; in the first place.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>First, there should not be any messages from &#8220;custom apps&#8221; in QSYSOPR. But you probably can&#8217;t do anything about that.<br />
&nbsp;<br />
No matter what, you are going to have an &#8220;agent on box&#8221; (well, unless you pay someone to watch QSYSOPR and manually enter messages somewhere else). You can program the agent yourself, or you can use a 3rd-party agent. For simple work, you can program the &#8220;agent&#8221;.<br />
&nbsp;<br />
But most likely you won&#8217;t want to. For a system message queue such as QSYSOPR, it&#8217;s not as easy as just using RCVMSG. E.g., as noted above, the automatic allocation of QSYSOPR ensures that no other process can be using the message queue. That means that you can&#8217;t even have a logon that has QSYSOPR messages breaking at a workstation as long as the &#8220;agent&#8221; needs to be running. I.e., you can&#8217;t have two processes monitoring QSYSOPR at the same time.<br />
&nbsp;<br />
If you are not already familiar with methods of message queue monitor programming, you&#8217;re likely to run into conflicts that&nbsp;can take possibly days to resolve while you learn the concepts and the programming. I assume you have a business reason for doing this and for mentioning an &#8220;agent&#8221; in the first place.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JohnAndersen</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/getting-error-messages-from-qsysopr/#comment-112017</link>
		<dc:creator>JohnAndersen</dc:creator>
		<pubDate>Mon, 08 Oct 2012 20:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/getting-error-messages-from-qsysopr/#comment-112017</guid>
		<description><![CDATA[The one issue you will run into using RCVMSG is it allocates the object... &#160;Also what apps are you referring to? They may be an alternative to using QSYSOPR...&#160;-John Andersen]]></description>
		<content:encoded><![CDATA[<p>The one issue you will run into using RCVMSG is it allocates the object&#8230; &nbsp;Also what apps are you referring to? They may be an alternative to using QSYSOPR&#8230;&nbsp;-John Andersen</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/9 queries in 0.012 seconds using memcached
Object Caching 310/313 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-23 19:12:12 -->