ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/export.htm

91 lines
2.8 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">
<title>Export a Program Symbol (EXPORT)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="EXPORT.Top_Of_Page"></a>
<h2>Export a Program Symbol (EXPORT)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"></td>
<td valign="top" align="right">
<a href="#EXPORT.PARAMETERS.TABLE">Parameters</a><br>
<a href="#EXPORT.COMMAND.EXAMPLES">Examples</a><br>
<a href="#EXPORT.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="EXPORT"></a>
<p>The Export a Program Symbol (EXPORT) binder definition statement defines an export in a service program export block.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#EXPORT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="EXPORT.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top"><a href="#EXPORT.SYMBOL"><b>SYMBOL</b></a></td>
<td valign="top">Exported symbol name</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#EXPORT.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="EXPORT.SYMBOL"></a>
<h3>Exported symbol name (SYMBOL)</h3>
<p>Specifies the symbol to be exported. The symbol can be enclosed in apostrophes, quotation marks, or expressed without the delimiting marks.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the name of the program external variable or procedure to be exported.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#EXPORT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="EXPORT.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
EXPORT SYMBOL('ExtVar2')
</pre>
</p>
<p>This binder definition statement defines <b>ExtVar2</b> as an exported symbol in a service program export block.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#EXPORT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="EXPORT.ERROR.MESSAGES">Error messages</a> </h3>
<p>None
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#EXPORT.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>