ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzalf_5.4.0.1/rzalfmessages.htm

93 lines
5.6 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="concept" />
<meta name="DC.Title" content="Message services" />
<meta name="abstract" content="i5/OS PASE signals and ILE signals are independent, so it is not possible to directly call a handler for one signal type by raising the other type of signal." />
<meta name="description" content="i5/OS PASE signals and ILE signals are independent, so it is not possible to directly call a handler for one signal type by raising the other type of signal." />
<meta name="DC.Relation" scheme="URI" content="rzalfinteract.htm" />
<meta name="DC.Relation" scheme="URI" content="../apis/qp2signalpase.htm" />
<meta name="DC.Relation" scheme="URI" content="../apis/pase1c.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/wrkactjob.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzaks/rzaks1.htm" />
<meta name="DC.Relation" scheme="URI" content="../apis/pase_signals.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2000, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2000, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzalfmessages" />
<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>Message services</title>
</head>
<body id="rzalfmessages"><a name="rzalfmessages"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Message services</h1>
<div><p><span class="keyword">i5/OS™</span> PASE signals
and ILE signals are independent, so it is not possible to directly call a
handler for one signal type by raising the other type of signal.</p>
<p> You can use the <span class="keyword">i5/OS</span> PASE
Qp2SignalPase() API to post corresponding <span class="keyword">i5/OS</span> PASE
signals for any ILE signal that you receive. The QP2SHELL() program and the <span class="keyword">i5/OS</span> PASE <tt>fork()</tt> function
always set up handlers to map every ILE signal to a corresponding <span class="keyword">i5/OS</span> PASE signal.</p>
<p>The system automatically converts any <span class="keyword">i5/OS</span> exception
message sent to the program message queue of a call running the Qp2RunPase,
Qp2CallPase, or Qp2CallPase2 API to a corresponding <span class="keyword">i5/OS</span> PASE
signal. An <span class="keyword">i5/OS</span> PASE application
can therefore handle any <span class="keyword">i5/OS</span> exception
by handling the <span class="keyword">i5/OS</span> PASE
signal that the system converts it to.</p>
<p><span class="keyword">i5/OS</span> PASE provides
the following runtime functions that give you direct control over <span class="keyword">i5/OS</span> message handling:</p>
<ul><li>QMHSNDM</li>
<li>QMHSNDM1</li>
<li>QMHSNDPM</li>
<li>QMHSNDPM1</li>
<li>QMHSNDPM2</li>
<li>QMHRCVM</li>
<li>QMHRCVM1</li>
<li>QMHRCVPM</li>
<li>QMHRCVPM1</li>
<li>QMHRCVPM2</li>
</ul>
<p>See runtime functions for details on these functions.</p>
<div class="section"><h4 class="sectiontitle"><span class="keyword">i5/OS</span> message
support</h4><p><span class="keyword">i5/OS</span> provides
message support in a variety of contexts:</p>
<ul><li><strong>Job logs</strong>. Your job log contains any messages
issued by <span class="keyword">i5/OS</span> or your
application while it is running or being compiled. To look at a job log, type <kbd class="userinput">DSPJOBLOG</kbd> on
a command line. When the Display Job Log display screen appears, press F10,
followed by Shift + F6. These key combinations result in the Display All Messages
display screen being displayed and set to the most recent messages. To view
the details of any particular message, move the cursor to the message you
want to know more about and press F1.</li>
<li><strong>Work with active jobs</strong>. The Work with Active Jobs (WRKACTJOB) command
is useful for examining jobs and job stacks on the <span class="keyword">i5/OS</span>.</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzalfinteract.htm" title="As you customize your i5/OS PASE programs to use i5/OS functions, you need to consider the ways in which your program will interact with them.">How i5/OS PASE programs interact with i5/OS</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../apis/qp2signalpase.htm">Qp2SignalPase()--Post an i5/OS PASE Signal</a></div>
<div><a href="../apis/pase1c.htm">Runtime functions for use by i5/OS PASE programs</a></div>
<div><a href="../cl/wrkactjob.htm">Work with active jobs (WRKACTJOB)</a></div>
<div><a href="../rzaks/rzaks1.htm">Work management</a></div>
<div><a href="../apis/pase_signals.htm">i5/OS PASE signal handling</a></div>
</div>
</div>
</body>
</html>