133 lines
3.4 KiB
HTML
133 lines
3.4 KiB
HTML
<!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>Qp2dlerror()--Retrieve i5/OS PASE Dynamic Load Error
|
|
Information</title>
|
|
<!-- 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. -->
|
|
<!-- Change History: -->
|
|
<!-- YYMMDD USERID Change description -->
|
|
<!-- Edited by Kersten Jan 02 -->
|
|
<!-- Begin Header Records -->
|
|
<!-- Created by V2DCIJB on 23 Nov 1999 -->
|
|
<!--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>Qp2dlerror()--Retrieve i5/OS PASE Dynamic Load Error Information</h2>
|
|
|
|
<div class="box" style="width: 60%;">
|
|
<br>
|
|
Syntax
|
|
|
|
<pre>
|
|
#include <qp2user.h>
|
|
|
|
char* Qp2dlerror(void);
|
|
</pre>
|
|
|
|
<br>
|
|
Service Program Name: QP2USER <br>
|
|
<!-- iddvc RMBR -->
|
|
<br>
|
|
Default Public Authority: *USE<br>
|
|
<!-- iddvc RMBR -->
|
|
<br>
|
|
Threadsafe: No<br>
|
|
<!-- iddvc RMBR -->
|
|
<br>
|
|
</div>
|
|
|
|
<p>Qp2dlerror() returns a pointer to a string that provides error information
|
|
for the most recent dynamic load function (API Qp2dlopen, Qp2dlsym, or
|
|
Qp2dlclose).</p>
|
|
|
|
<br>
|
|
|
|
|
|
<h3>Parameters</h3>
|
|
|
|
<p>None.</p>
|
|
|
|
<br>
|
|
|
|
|
|
<h3>Authorities</h3>
|
|
|
|
<p>None.</p>
|
|
|
|
<br>
|
|
|
|
|
|
<h3>Return Value</h3>
|
|
|
|
<p>The function result is a pointer to a null-terminated character string (in
|
|
the job default CCSID). A null pointer is returned if no error occurred during
|
|
the most recent dynamic load operation. Once Qp2dlerror is called, subsequent
|
|
calls without an intervening dynamic load error also return a null pointer.</p>
|
|
|
|
<p>The ILE <strong>errno</strong> is set and a null pointer is returned for any
|
|
internal processing error (such as an error converting the string from the
|
|
i5/OS PASE CCSID to the job default CCSID).</p>
|
|
|
|
<br>
|
|
|
|
|
|
<h3>Usage Notes</h3>
|
|
|
|
<ol>
|
|
<li>Qp2dlerror is not threadsafe because it may call an i5/OS PASE function
|
|
that is not threadsafe (dlerror) and uses a buffer in static storage for the
|
|
error string that is also updated by other dynamic load functions (APIs
|
|
Qp2dlopen, Qp2dlsym, and Qp2dlclose). Applications may need to serialize use of
|
|
dynamic load functions and copy the error information string to preserve its
|
|
contents.</li>
|
|
</ol>
|
|
|
|
<br>
|
|
|
|
|
|
<h3>Related Information</h3>
|
|
|
|
<ul>
|
|
<li><a href="http://www.ibm.com/servers/aix/library/" target="blank">i5/OS
|
|
PASE dlerror()--See AIX documentation</a><img src="www.gif" alt="Link outside Information Center"><br>
|
|
<br>
|
|
</li>
|
|
|
|
<li><a href="qp2errnop.htm">Qp2errnop()--Retrieve i5/OS PASE errno
|
|
Pointer</a><br>
|
|
<br>
|
|
</li>
|
|
|
|
<li><a href="qp2runpase.htm">Qp2RunPase()--Run an i5/OS PASE Program</a></li>
|
|
</ul>
|
|
|
|
<br>
|
|
|
|
<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=
|
|
"pase1.htm">i5/OS PASE APIs</a> | <a href="aplist.htm">APIs by category</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</body>
|
|
</html>
|
|
|