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

139 lines
5.4 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">
<title>Start Program Export List (STRPGMEXP)</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="STRPGMEXP.Top_Of_Page"></a>
<h2>Start Program Export List (STRPGMEXP)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"></td>
<td valign="top" align="right">
<a href="#STRPGMEXP.PARAMETERS.TABLE">Parameters</a><br>
<a href="#STRPGMEXP.COMMAND.EXAMPLES">Examples</a><br>
<a href="#STRPGMEXP.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="STRPGMEXP"></a>
<p>The Start Program Export List (STRPGMEXP) binder definition statement starts a list of exports in a service program export block.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRPGMEXP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="STRPGMEXP.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="#STRPGMEXP.PGMLVL"><b>PGMLVL</b></a></td>
<td valign="top">Program level</td>
<td valign="top"><b><u>*CURRENT</u></b>, *PRV</td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#STRPGMEXP.LVLCHK"><b>LVLCHK</b></a></td>
<td valign="top">Signature level check</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#STRPGMEXP.SIGNATURE"><b>SIGNATURE</b></a></td>
<td valign="top">Signature</td>
<td valign="top"><i>Character value</i>, <b><u>*GEN</u></b></td>
<td valign="top">Optional, Positional 3</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#STRPGMEXP.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="STRPGMEXP.PGMLVL"></a>
<h3>Program level (PGMLVL)</h3>
<p>Specifies the service program level for this export block.
</p>
<dl>
<dt><b><u>*CURRENT</u></b></dt>
<dd>This service program export block contains exports for the current service program.
</dd>
<dt><b>*PRV</b></dt>
<dd>This service program export block contains exports for a previous version of the service program.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRPGMEXP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRPGMEXP.LVLCHK"></a>
<h3>Signature level check (LVLCHK)</h3>
<p>Specifies whether a level check is performed on the export block.
</p>
<dl>
<dt><b><u>*YES</u></b></dt>
<dd>The service program export block is level checked by generating a nonzero signature.
</dd>
<dt><b>*NO</b></dt>
<dd>The service program export block is not level checked. A zero signature is generated.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRPGMEXP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRPGMEXP.SIGNATURE"></a>
<h3>Signature (SIGNATURE)</h3>
<p>Specifies the signature for the export block.
</p>
<dl>
<dt><b><u>*GEN</u></b></dt>
<dd>If *YES is specified for the <b>Signature level check (LVLCHK)</b> parameter, the system generates a nonzero signature for the export block. If *NO is specified for the LVLCHK parameter, this value is required and the system generates a zero signature for the export block.
</dd>
<dt><b><i>hexadecimal-character-value</i></b></dt>
<dd>The signature value for the export block is set to the specified string of hexadecimal digits and is not generated by the system. If the specified value is less than 32 hexadecimal digits in length, the system pads it on the left with hexadecimal zeros to 32 digits. If the specified value is greater than 32 hexadecimal digits in length, the system truncates it on the right to 32 digits.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>The signature value for the export block is set to the EBCDIC character codes of the given signature-value and is not generated by the system. If the signature-value is less than 16 characters in length, the system pads the signature-value on the right with spaces to 16 characters. If the signature-value is greater than 16 characters in length, the system truncates it on the right to 16 characters.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRPGMEXP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STRPGMEXP.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
STRPGMEXP PGMLVL(*CURRENT) LVLCHK(*YES) SIGNATURE(*GEN)
</pre>
</p>
<p>This binder definition statement marks the beginning of a list of exported variables or procedures for a service program. This service program export block contains exports for the current service program. Level checking will be performed using a signature generated by the operating system.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRPGMEXP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STRPGMEXP.ERROR.MESSAGES">Error messages</a> </h3>
<p>None
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRPGMEXP.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>