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

131 lines
4.0 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>Update Data with Temp Program (UPDDTA)</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="UPDDTA.Top_Of_Page"></a>
<h2>Update Data with Temp Program (UPDDTA)</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="#UPDDTA.PARAMETERS.TABLE">Parameters</a><br>
<a href="#UPDDTA.COMMAND.EXAMPLES">Examples</a><br>
<a href="#UPDDTA.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="UPDDTA"></a>
<p>The Control Language (CL) command UPDDTA creates and runs a temporary DFU program. You can use this temporary program to enter new records or change existing records in an existing database file.
</p>
<h3>Error messages for UPDDTA</h3>
<p><b><u>*STATUS Messages</u></b>
</p>
<dl>
<dt><b>DFU0251</b></dt>
<dd>DFU is creating temporary program &amp;1 for you to run.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#UPDDTA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="UPDDTA.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" rowspan="3"><a href="#UPDDTA.FILE"><b>FILE</b></a></td>
<td valign="top">Data base file</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Data base file</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#UPDDTA.MBR"><b>MBR</b></a></td>
<td valign="top">Member</td>
<td valign="top"><i>Name</i>, <b><u>*FIRST</u></b></td>
<td valign="top">Optional, Positional 2</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#UPDDTA.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="UPDDTA.FILE"></a>
<h3>Data base file (FILE)</h3>
<p>Specifies the qualified name of the data file to be updated.
</p>
<dl>
<dt><b>*LIBL</b></dt>
<dd>DFU will use your library list to search for a specified program.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>Type *CURLIB to use your current library. If no current library entry exists in the library list, QGPL is used. If you do not specify a library name, *LIBL is used.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#UPDDTA.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="UPDDTA.MBR"></a>
<h3>Member (MBR)</h3>
<p>Specifies the member in the file you want to update.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*FIRST</u></b></dt>
<dd>You will update the first member of the file.
</dd>
<dt><b>member-name</b></dt>
<dd>Type the name of the member you want to update.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#UPDDTA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="UPDDTA.COMMAND.EXAMPLES">Examples</a></h3>None
</div>
<table width="100%">
<tr><td align="right"><a href="#UPDDTA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="UPDDTA.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*STATUS Messages</u></b>
</p>
<dl>
<dt><b>DFU0251</b></dt>
<dd>DFU is creating temporary program &amp;1 for you to run.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#UPDDTA.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>