201 lines
7.2 KiB
HTML
201 lines
7.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>Analyze Database File Keys (ANZDBFKEY)</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="ANZDBFKEY.Top_Of_Page"></a>
|
||
|
<h2>Analyze Database File Keys (ANZDBFKEY)</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="#ANZDBFKEY.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#ANZDBFKEY.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#ANZDBFKEY.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="ANZDBFKEY"></a>
|
||
|
<p>The Analyze Database File Keys (ANZDBFKEY) command produces, from the data generated by the Analyze Database File (ANZDBF) command, two reports showing the key structure of the database files.
|
||
|
</p>
|
||
|
<p>One report is written to the printer file QPPTANZK. The other report is written to the printer file QPPTANKM. QPPTANZK contains a listing of the access paths and (logical files only) selection criteria for each key field or selection rule. QPPTANKM contains a matrix of the key fields for all logical files based on the physical file.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ANZDBFKEY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="ANZDBFKEY.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="#ANZDBFKEY.FILE"><b>FILE</b></a></td>
|
||
|
<td valign="top">Physical file</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*NUMLF</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ANZDBFKEY.NUMLF"><b>NUMLF</b></a></td>
|
||
|
<td valign="top">Min number of logical files</td>
|
||
|
<td valign="top">1.0-99999.0, <b><u>5</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ANZDBFKEY.JOB"><b>JOB</b></a></td>
|
||
|
<td valign="top">Job name</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>ANZDBFKEY</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#ANZDBFKEY.JOBD"><b>JOBD</b></a></td>
|
||
|
<td valign="top">Job description</td>
|
||
|
<td valign="top">Single values: *NONE<br>Other values: <i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: Job description</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>QPFRJOBD</u></b></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: Library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
|
||
|
</tr></table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ANZDBFKEY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="ANZDBFKEY.FILE"></a>
|
||
|
<h3>Physical file (FILE)</h3>
|
||
|
<p>Specifies which physical files to select from the list processed by the Analyze Database File (ANZDBF) command. The report includes all logical files associated with each selected physical file.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NUMLF</u></b></dt>
|
||
|
<dd>Specifies all physical files that have at least a minimum number of associated logical files. The specific minimum is defined by the <b>Min number of logical files</b> prompt (NUMLF parameter).
|
||
|
</dd>
|
||
|
<dt><b><i>file-name</i></b></dt>
|
||
|
<dd>Specify the name of a particular physical file.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ANZDBFKEY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ANZDBFKEY.NUMLF"></a>
|
||
|
<h3>Min number of logical files (NUMLF)</h3>
|
||
|
<p>Specifies the minimum number of logical files associated with a physical file before that physical file is selected. This parameter is valid only when *NUMLF is specified on the <b>Physical file</b> prompt (FILE parameter).
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>5</u></b></dt>
|
||
|
<dd>At least 5 logical files must be associated with a physical file.
|
||
|
</dd>
|
||
|
<dt><b><i>file-count</i></b></dt>
|
||
|
<dd>Specify the minimum number of logical files required.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ANZDBFKEY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ANZDBFKEY.JOB"></a>
|
||
|
<h3>Job name (JOB)</h3>
|
||
|
<p>Specifies the job name to be used if submitting the job for batch processing.
|
||
|
</p>
|
||
|
<p>Any value for this parameter is ignored if *NONE is specified for the <b>Job description</b> prompt (JOBD parameter).
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>If *NONE is specified for the <b>Job description</b> prompt (JOBD parameter), job processing is performed interactively.
|
||
|
</p>
|
||
|
<p>The possible <b>job name</b> values are:
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>ANZDBFKEY</u></b></dt>
|
||
|
<dd>The command name is used for the job name.
|
||
|
</dd>
|
||
|
<dt><b><i>job-name</i></b></dt>
|
||
|
<dd>Specify the name to be used for any and all batch jobs.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ANZDBFKEY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ANZDBFKEY.JOBD"></a>
|
||
|
<h3>Batch job description (JOBD)</h3>
|
||
|
<p>Specifies the job description used to submit the job for batch processing.
|
||
|
</p>
|
||
|
<p>The possible job description values are:
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>QPFRJOBD</u></b></dt>
|
||
|
<dd>The IBM-supplied job description, QPFRJOBD, is used.
|
||
|
</dd>
|
||
|
<dt><b><i>job-description-name</i></b></dt>
|
||
|
<dd>Specify the name of an alternate job description.
|
||
|
</dd>
|
||
|
<dt><b>*NONE</b></dt>
|
||
|
<dd>A batch job is not submitted; processing continues interactively while the user waits. The user's workstation is not available for other use during this time, which could be significant for long jobs.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>The possible library values are:
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*LIBL</u></b></dt>
|
||
|
<dd>All libraries in the job's library list are searched until the first match is found.
|
||
|
</dd>
|
||
|
<dt><b>*CURLIB</b></dt>
|
||
|
<dd>The current library for the job is used to locate the job description. If no current library entry exists in the library list, QGPL is used.
|
||
|
</dd>
|
||
|
<dt><b><i>library-name</i></b></dt>
|
||
|
<dd>Specify the library in which the job description is located.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ANZDBFKEY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ANZDBFKEY.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ANZDBFKEY FILE(*NUMLF) NUMLF(2)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command produces reports on the keys for all files that refer to physical files with at least two associated logical files.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ANZDBFKEY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ANZDBFKEY.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>PFR5251</b></dt>
|
||
|
<dd>Cannot access data to analyze data base file.
|
||
|
</dd>
|
||
|
<dt><b>PFR9802</b></dt>
|
||
|
<dd>Unexpected message monitored.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ANZDBFKEY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|