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

95 lines
3.2 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>Encrypt Cipher Key (ENCCPHK)</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="ENCCPHK.Top_Of_Page"></a>
<h2>Encrypt Cipher Key (ENCCPHK)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>
<ul><li>Batch program (*BPGM)</li>
<li>Interactive program (*IPGM)</li>
</ul><b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#ENCCPHK.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ENCCPHK.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ENCCPHK.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ENCCPHK"></a>
<p>The Encrypt Cipher Key (ENCCPHK) command enciphers a plaintext data-encrypting key under the host master key.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENCCPHK.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ENCCPHK.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="#ENCCPHK.CLRK"><b>CLRK</b></a></td>
<td valign="top">Clear key value</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#ENCCPHK.CPHK"><b>CPHK</b></a></td>
<td valign="top">CL var for encrypted key</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 2</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ENCCPHK.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ENCCPHK.CLRK"></a>
<h3>Clear key value (CLRK)</h3>
<p>Specifies an 8-byte value, or a variable containing an 8-byte value, of a plaintext data-encrypting key. There are no restrictions on the value of this parameter. This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENCCPHK.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ENCCPHK.CPHK"></a>
<h3>CL var for encrypted key (CPHK)</h3>
<p>Specifies an 8-byte variable to receive the value of the data-encrypting key specified in the <b>Clear key value</b> prompt (CLRK parameter) after it is encrypted under the host master key. This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENCCPHK.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ENCCPHK.COMMAND.EXAMPLES">Examples</a></h3>None
</div>
<table width="100%">
<tr><td align="right"><a href="#ENCCPHK.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ENCCPHK.ERROR.MESSAGES">Error messages</a></h3>Unknown
</div>
<table width="100%">
<tr><td align="right"><a href="#ENCCPHK.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>