70 lines
4.2 KiB
HTML
70 lines
4.2 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="task" />
|
|
<meta name="DC.Title" content="Use QSYSMSG message queue" />
|
|
<meta name="abstract" content="QSYSMSG is a queue that you can create if you plan to handle the list of serious messages that are sent to the queue." />
|
|
<meta name="description" content="QSYSMSG is a queue that you can create if you plan to handle the list of serious messages that are sent to the queue." />
|
|
<meta name="DC.subject" content="queue, QSYSMSG, message queue, definition" />
|
|
<meta name="keywords" content="queue, QSYSMSG, message queue, definition" />
|
|
<meta name="DC.Relation" scheme="URI" content="wmsgs.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="msmqu.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="sprmq.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="msmqu.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="qsysm" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>Use QSYSMSG message queue</title>
|
|
</head>
|
|
<body id="qsysm"><a name="qsysm"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Use QSYSMSG message queue</h1>
|
|
<div><p>QSYSMSG is a queue that you can create if you plan to handle the
|
|
list of serious messages that are sent to the queue.</p>
|
|
<div class="section"> <p>The QSYSMSG message queue is an optional queue that you can create
|
|
in the QSYS library. If it exists and is not damaged, certain messages are
|
|
directed to it instead of, or in addition to, the QSYSOPR message queue. This
|
|
allows a user-written program to gain control when certain messages are sent.
|
|
You should not create the QSYSMSG queue unless you want it to receive specific
|
|
messages.</p>
|
|
<p>Enter the following command to create the QSYSMSG queue: </p>
|
|
<pre>CRTMSGQ QSYS/QSYSMSG +
|
|
TEXT('Optional MSGQ to receive specific system messages')</pre>
|
|
<p>Once the QSYSMSG message queue is created, all of the specific
|
|
messages are directed to it. You can write a program to receive
|
|
messages for which you can perform special action and send other messages
|
|
to the QSYSOPR message queue or another message queue. This program should
|
|
be written as a break-handling program.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="msmqu.htm">Messages sent to QSYSMSG message queue</a></strong><br />
|
|
This topic describes the specific messages sent to the QSYSMSG message queue.</li>
|
|
<li class="ulchildlink"><strong><a href="sprmq.htm">Example: Receive messages from QSYSMSG</a></strong><br />
|
|
This sample program receives messages from the QSYSMSG message queue.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="wmsgs.htm" title="This discusses some of the ways that messages can be used to communicate between users and programs.">Messages</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="msmqu.htm" title="This topic describes the specific messages sent to the QSYSMSG message queue.">Messages sent to QSYSMSG message queue</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |