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

122 lines
4.1 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>Work with Data Definitions (WRKDTADFN)</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="WRKDTADFN.Top_Of_Page"></a>
<h2>Work with Data Definitions (WRKDTADFN)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>Interactive environments (*INTERACT *IPGM *IREXX *EXEC)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#WRKDTADFN.PARAMETERS.TABLE">Parameters</a><br>
<a href="#WRKDTADFN.COMMAND.EXAMPLES">Examples</a><br>
<a href="#WRKDTADFN.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="WRKDTADFN"></a>
<p>The Work with Data Definitions (WRKDTADFN) command allows you to work with data definitions. You can create, change, copy, delete, print, rename, or display where defined terms in a data dictionary are used. If the definition type is not specified, the Interactive Data Definition Utility (IDDU) Select Definition Type display is shown. The dictionary and type of definition to process is selected from this display.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDTADFN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="WRKDTADFN.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="#WRKDTADFN.DTADCT"><b>DTADCT</b></a></td>
<td valign="top">Data dictionary</td>
<td valign="top"><i>Name</i>, <b><u>*PRV</u></b></td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#WRKDTADFN.DFNTYPE"><b>DFNTYPE</b></a></td>
<td valign="top">Definition type</td>
<td valign="top"><b><u>*ALL</u></b>, *FILE, *RCDFMT, *FLD</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#WRKDTADFN.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="WRKDTADFN.DTADCT"></a>
<h3>Data dictionary (DTADCT)</h3>
<p>Specifies the data dictionary to use.
</p>
<dl>
<dt><b><u>*PRV</u></b></dt>
<dd>The last data dictionary you worked with in IDDU is used.
</dd>
<dt><b><i>data-dictionary-name</i></b></dt>
<dd>Specify the data dictionary name to use.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDTADFN.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKDTADFN.DFNTYPE"></a>
<h3>Definition type (DFNTYPE)</h3>
<p>Specifies the data definition type to use.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>Allows you to select the definition type and data dictionary from a list of all the data dictionaries and definition types.
</dd>
<dt><b>*FILE</b></dt>
<dd>Allows you to work with file definitions in the data dictionary specified.
</dd>
<dt><b>*RCDFMT</b></dt>
<dd>Allows you to work with record format definitions in the data dictionary specified.
</dd>
<dt><b>*FLD</b></dt>
<dd>Allows you to work with field definitions in the data dictionary specified.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDTADFN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKDTADFN.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
WRKDTADFN DFNTYPE(*FILE)
</pre>
</p>
<p>This command allows you to work with file definitions in the data dictionary you worked with last.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDTADFN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKDTADFN.ERROR.MESSAGES">Error messages</a> </h3>
<p>None
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDTADFN.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>