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

70 lines
4.7 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="task" />
<meta name="DC.Title" content="Place a message queue in break mode automatically" />
<meta name="abstract" content="This topic shows one way of monitoring the QSYSOPR message queue." />
<meta name="description" content="This topic shows one way of monitoring the QSYSOPR message queue." />
<meta name="DC.subject" content="system operator (QSYSOPR) message queue, message, changing delivery mode, queue, changing message queue delivery type, CHGMSGQ (Change Message Queue) command, Change Message Queue (CHGMSGQ) command, command, CL, CHGMSGQ (Change Message Queue), Change Message Queue (CHGMSGQ), message queue, changing, message queue" />
<meta name="keywords" content="system operator (QSYSOPR) message queue, message, changing delivery mode, queue, changing message queue delivery type, CHGMSGQ (Change Message Queue) command, Change Message Queue (CHGMSGQ) command, command, CL, CHGMSGQ (Change Message Queue), Change Message Queue (CHGMSGQ), message queue, changing, message queue" />
<meta name="DC.Relation" scheme="URI" content="ccmsg.htm" />
<meta name="DC.Relation" scheme="URI" content="ussrl.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="excdm" />
<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>Place a message queue in break mode automatically</title>
</head>
<body id="excdm"><a name="excdm"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Place a message queue in break mode automatically</h1>
<div><p>This topic shows one way of monitoring the QSYSOPR message queue.</p>
<div class="section"> <p>When the system is started, it puts the QSYSOPR message queue
in break delivery when the controlling subsystem is started. However, if
the system operator signs off, the message queue is put in hold delivery.
When the system operator signs on again, QSYSOPR is placed in the mode specified
in the QSYSOPR user profile.</p>
<p>The following procedure in a CL initial
program can be used to place the QSYSOPR message queue in break mode. Initial
programs can use similar procedures to monitor message queues other than the
one specified in a user's own user profile. </p>
<pre>PGM /* Procedure to place a msg queue in break mode */
CHGMSGQ QSYSOPR DLVRY(*BREAK) SEV(50)
MONMSG MSGID(CPF0000) EXEC(SNDPGMMSG MSG('Unable to put QSYSOPR +
message queue in *BREAK mode') TOPGMQ(*EXT))
ENDPGM</pre>
<p>The procedure attempts to set the QSYSOPR message queue to
break delivery with a severity level of 50. If this is unsuccessful, a message
is sent to the external job message queue (*EXT). When the program which contains
this procedure ends, the initial menu is displayed. A severity level of 50
is used to decrease the number of break messages that interrupts the workstation
user. A common reason for failure is when another user has QSYSOPR in break
mode already.</p>
<p>You can use the system reply list to specify that the
system issue the reply to specified predefined inquiry messages so that the
display station user does not need to reply.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="ccmsg.htm" title="You can create or change your own user message queues.">Create or change a message queue</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="ussrl.htm" title="The system reply list allows you to specify that the system will automatically issue the reply to specified predefined inquiry messages so the display station user does not need to reply.">Use the system reply list</a></div>
</div>
</div>
</body>
</html>