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

141 lines
5.6 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>Generate Cross-domain Keys (GENCRSDMNK)</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="GENCRSDMNK.Top_Of_Page"></a>
<h2>Generate Cross-domain Keys (GENCRSDMNK)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#GENCRSDMNK.PARAMETERS.TABLE">Parameters</a><br>
<a href="#GENCRSDMNK.COMMAND.EXAMPLES">Examples</a><br>
<a href="#GENCRSDMNK.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="GENCRSDMNK"></a>
<p>The Generate Cross-Domain Key (GENCRSDMNK) command generates random key values, installs them in the cross-domain key table, and prints a listing of the keys generated. The spooled file containing this listing is sent to the output queue associated with the job from which the command is submitted.
</p>
<p>
<b>Note: </b>To avoid any security exposure, you should use the Generate Cross-Domain Key (GENCRSDMNK) command only in a secure environment. Print the listing immediately and store it in a safe place.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCRSDMNK.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="GENCRSDMNK.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="#GENCRSDMNK.CRSDMNK"><b>CRSDMNK</b></a></td>
<td valign="top">Cross-domain key name base</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#GENCRSDMNK.NBR"><b>NBR</b></a></td>
<td valign="top">Number to generate</td>
<td valign="top">1-9999</td>
<td valign="top">Required, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#GENCRSDMNK.SEED"><b>SEED</b></a></td>
<td valign="top">Generation seed</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#GENCRSDMNK.KUSE"><b>KUSE</b></a></td>
<td valign="top">Key use</td>
<td valign="top">*SND, *RCV, *PIN</td>
<td valign="top">Required, Positional 4</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#GENCRSDMNK.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="GENCRSDMNK.CRSDMNK"></a>
<h3>Cross-domain key name base (CRSDMNK)</h3>
<p>Specifies a valid system name, or a variable containing a name, to be used when generating the key names.
</p>
<p>All generated key names will be 10 characters long with numerics in positions 7 through 10. When you specify a key name, any characters in positions 7 through 10 must be numeric. If you specify a key name base less than 10 characters, the name is filled in with 0's up to the last character, which is made a 1. This becomes the name of the first key generated.
</p>
<p>For each succeeding key value, the last 4 characters of the key name, which is always a 4-digit number, is increased by 1 to become the next key name. This command does not generate any key names past 9999. This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCRSDMNK.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="GENCRSDMNK.NBR"></a>
<h3>Number to generate (NBR)</h3>
<p>Specifies the number, or a variable containing the number, of keys to be generated. The value specified plus the 4-digit number from the first key name cannot exceed 10,000.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCRSDMNK.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="GENCRSDMNK.SEED"></a>
<h3>Generation seed (SEED)</h3>
<p>Specify 16 hexadecimal characters, or a character variable containing 16 hexadecimal characters, representing the 8-byte value to be used to initialize the random number generation routine. This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCRSDMNK.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="GENCRSDMNK.KUSE"></a>
<h3>Key use (KUSE)</h3>
<p>Specifies the use of the keys to be generated. This is a required parameter.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b>*SND</b></dt>
<dd>The generated keys are added to the cross-domain key table as sending cross-domain keys.
</dd>
<dt><b>*RCV</b></dt>
<dd>The generated keys are added to the cross-domain key table as receiving cross-domain keys.
</dd>
<dt><b>*PIN</b></dt>
<dd>The generated keys are added to the cross-domain key table as personal identification number keys.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCRSDMNK.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="GENCRSDMNK.COMMAND.EXAMPLES">Examples</a></h3>None
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCRSDMNK.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="GENCRSDMNK.ERROR.MESSAGES">Error messages</a></h3>Unknown
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCRSDMNK.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>