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

58 lines
4.0 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="Use a control boundary as a base" />
<meta name="abstract" content="You can identify the base call stack entry as the one at the nearest control boundary by using the special value *CTLBDY." />
<meta name="description" content="You can identify the base call stack entry as the one at the nearest control boundary by using the special value *CTLBDY." />
<meta name="DC.subject" content="example, using *CTLBDY" />
<meta name="keywords" content="example, using *CTLBDY" />
<meta name="DC.Relation" scheme="URI" content="callid.htm" />
<meta name="DC.Relation" scheme="URI" content="callrecentasbase.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="callcontrolasbase" />
<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 a control boundary as a base</title>
</head>
<body id="callcontrolasbase"><a name="callcontrolasbase"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Use a control boundary as a base</h1>
<div><p>You can identify the base call stack entry as the one at the nearest
control boundary by using the special value *CTLBDY.</p>
<p>A control boundary exists between two call stack entries if the two entries
are running in two different activation groups. The one identified by using
this special value is running in the same activation group as the entry that
is sending the message.</p>
<p>See the second figure for an example of sending a message
using the special value *CTLBDY. The three programs in this example (CLPGM91,
CLPGM92, and CLPGM93) are all ILE programs. CLPGM91 runs in activation group
AG91 while both CLPGM92 and CLPGM93 run in activation group AG92. In this
example, PROC93A sends a message back to the entry that immediately precedes
the boundary for AG92.</p>
<div class="fignone" id="callcontrolasbase__sndfig8"><a name="callcontrolasbase__sndfig8"><!-- --></a><span class="figcap">Figure 1. Example of *PGMNAME</span><br /><img src="rbafn570.gif" alt="" /><br /></div>
<div class="fignone" id="callcontrolasbase__sndfig9"><a name="callcontrolasbase__sndfig9"><!-- --></a><span class="figcap">Figure 2. Example of using *CTLBDY</span><br /><img src="rbafn571.gif" alt="" /><br /></div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="callid.htm" title="If a CL procedure is to send a message to an OPM program or another ILE procedure, you must identify the call stack entry to which the message is sent.">Identify a call stack entry</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="callrecentasbase.htm" title="You can specify the most recently called procedure as the base call stack entry by using the *PGMNAME special value.">Use the most recently called procedure as a base</a></div>
</div>
</div>
</body>
</html>