ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/qterseph.htm

191 lines
4.8 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>Register Service Entry Point Stop Handler (QteRegSrvEntPntStpHdlr) API</title>
<!-- Begin Header records -->
<!-- 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. -->
<!-- New for V5R2 -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!-- File tagging validation completed Jan 2002 by v2cdijab -->
<!-- End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<a name="Top_Of_Page"></a>
<!-- Java sync-link -->
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
</script>
<h2>Register Service Entry Point Stop Handler
(QteRegSrvEntPntStpHdlr) API</h2>
<div class="box" style="width: 80%;">
<br>
&nbsp;&nbsp;Required Parameter Group:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td align="center" valign="top" width="10%">1</td>
<td align="left" valign="top" width="50%">Qualified program name</td>
<td align="left" valign="top" width="20%">Input</td>
<td align="left" valign="top" width="20%">Char(20)</td>
</tr>
<tr>
<td align="center" valign="top">2</td>
<td align="left" valign="top">Error Code</td>
<td align="left" valign="top">I/O</td>
<td align="left" valign="top">Char(*)</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Service Program Name: QTEDBGS<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Default Public Authority: *USE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: No<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The <strong>Register Service Entry Point Stop Handler API</strong> registers
a special event handler to handle Service Entry breakpoint events. The Start
Source Debug (QteStartSourceDebug) API must be called before this API can be
issued.</p>
<br>
<h3>Authorities and Locks</h3>
<dl>
<dt><em>Program Authority</em></dt>
<dd>*EXECUTE<br>
<br>
</dd>
<dt><em>Library Authority</em></dt>
<dd>*EXECUTE</dd>
</dl>
<br>
<h3>Required Parameter Group</h3>
<dl>
<dt><strong>Qualified program name</strong></dt>
<dd>INPUT; CHAR(20)
<p>The name of the exit program that is called when a service entry point is
encountered.</p>
<p>The first 10 characters contain the program name. The second 10 characters
contain the name of the library in which the program is located. Both entries
must be left-justified.</p>
</dd>
<dt><strong>Error code</strong></dt>
<dd>I/O; CHAR(*)
<p>The structure in which to return error information. For the format of the
structure, see <a href="../apiref/error.htm#hdrerrcod">Error Code Parameter</a>.</p>
</dd>
</dl>
<br>
<h3>Error Messages</h3>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<th align="left" valign="top">Message ID</th>
<th align="left" valign="top">Error Message Text</th>
</tr>
<tr>
<td align="left" valign="top" width="15%">CPF3CF1</td>
<td align="left" valign="top" width="85%">Error code parameter not valid.</td>
</tr>
<tr>
<td align="left" valign="top">CPF3CF2</td>
<td align="left" valign="top">Errors occurred during running of API.</td>
</tr>
<tr>
<td align="left" valign="top">CPF9541</td>
<td align="left" valign="top">Not in debug mode.</td>
</tr>
<tr>
<td align="left" valign="top">CPF9549</td>
<td align="left" valign="top">Error addressing API parameter.</td>
</tr>
<tr>
<td align="left" valign="top">CPF9803</td>
<td align="left" valign="top">Cannot allocate object in library.</td>
</tr>
<tr>
<td align="left" valign="top">CPF9809</td>
<td align="left" valign="top">Library cannot be accessed.</td>
</tr>
<tr>
<td align="left" valign="top">CPF9810</td>
<td align="left" valign="top">Library not found.</td>
</tr>
<tr>
<td align="left" valign="top">CPF9811</td>
<td align="left" valign="top">Program in library not found.</td>
</tr>
<tr>
<td align="left" valign="top">CPF9820</td>
<td align="left" valign="top">Not authorized to use library.</td>
</tr>
<tr>
<td align="left" valign="top">CPF9821</td>
<td align="left" valign="top">Not authorized to program in library.</td>
</tr>
</table>
<hr>
API introduced: V5R2
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center">
<a href="#Top_Of_Page">Top</a> |
<a href="debug1.htm">Debugger APIs</a> |
<a href="aplist.htm">APIs by category</a></td>
</tr>
</table>
</center>
</body>
</html>