ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/tmtmq.htm

81 lines
6.0 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="concept" />
<meta name="DC.Title" content="Types of message queues" />
<meta name="abstract" content="All messages on the system are sent to a message queue." />
<meta name="description" content="All messages on the system are sent to a message queue." />
<meta name="DC.subject" content="message, queue, workstation message queue, job message queue, system operator (QSYSOPR) message queue, QSYSOPR message queue" />
<meta name="keywords" content="message, queue, workstation message queue, job message queue, system operator (QSYSOPR) message queue, QSYSOPR message queue" />
<meta name="DC.Relation" scheme="URI" content="msgusequeues.htm" />
<meta name="DC.Relation" scheme="URI" content="wmsgs.htm" />
<meta name="DC.Relation" scheme="URI" content="jmsgq.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="tmtmq" />
<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>Types of message queues</title>
</head>
<body id="tmtmq"><a name="tmtmq"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Types of message queues</h1>
<div><p>All messages on the system are sent to a message queue. </p>
<p>The system user or program associated with the message queue receives the
message from the queue. Similarly, a reply to a message is sent back to the
message queue of the user or program requesting the reply.</p>
<p>The following diagrams show the message queues supplied by IBM<sup>®</sup>. A message
queue is supplied for each display station (where DSP01 and DSP02 are display
station names) and each user profile (where BOB and RAY are user profile names): <br /><img src="rbafn560.gif" alt="The following diagrams show the message queues supplied by IBM. A message queue is supplied for each display station (where DSP01 and DSP02 are display station names) and each user profile (where BOB and RAY are user profile names)." /><br /></p>
<p>Job message queues are supplied for each job running on the system. Each
job is given an external message queue (*EXT) and each call of an OPM program
or ILE procedure within the job has its own call message queue.<br /><img src="rbafn561.gif" alt="Job message queues are supplied for each job running on the system. Each job is given an external message queue (*EXT) and each call of an OPM program or ILE procedure within the job has its own call message queue." /><br /></p>
<p>Message queues are also supplied for the system history log (QHST) and
the system operator (QSYSOPR):<br /><img src="rbafn562.gif" alt="Message queues are also supplied for the system history log (QHST) and the system operator (QSYSOPR)." /><br /></p>
<p>These message queues are used as follows: </p>
<ul><li>Workstation message queues are used for sending and receiving messages
between workstation users and between workstation users and the system operator.
The name of the queue is the same as the name of the workstation. The queue
is created by the system when the workstation is described to the system.</li>
<li>User profile message queues can be used for communication between users.
User profile message queues are automatically created in library QUSRSYS
when the user profile is created.</li>
<li> Job message queues are used for receiving requests to be processed (such
as commands) and for sending messages that result from processing the requests;
the messages are sent to the requester of the job. Job message queues exist
for each job and only exist for the life of the job. Job message queues consist
of an external message queue (*EXT) and a set of call stack entry message
queues. </li>
<li>System operator message queue (QSYSOPR) is used for receiving and replying
to messages from the system, display station users, and application programs.</li>
<li>The history log message queue is used for any job in the system to have
a record of high-level system activities.</li>
</ul>
<p>In addition to these message queues, you can create your own user message
queues for sending messages to system users and between application programs.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="msgusequeues.htm" title="This covers the types of message queues, how to create or change a message queue, and details about job message queues.">Use message queues</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="jmsgq.htm" title="Job message queues are created for each job on the system to handle all the message requirements of the job. Job message queues for a single job consist of an external message queue (*EXT) and a set of call message queues.">Job message queues</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><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>
</body>
</html>