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

149 lines
4.8 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>Work with Device Tables (WRKDEVTBL)</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="WRKDEVTBL.Top_Of_Page"></a>
<h2>Work with Device Tables (WRKDEVTBL)</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="#WRKDEVTBL.PARAMETERS.TABLE">Parameters</a><br>
<a href="#WRKDEVTBL.COMMAND.EXAMPLES">Examples</a><br>
<a href="#WRKDEVTBL.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="WRKDEVTBL"></a>
<p>The Work with Device Tables (WRKDEVTBL) command allows you to display and work with finance device tables and, once they are created, allows addition or deletion of device names in these tables. Several finance device tables can be defined, but each table must have a unique name.
</p>
<p>An updated finance device table can be accessed by any finance job submitted after all changes are completed.
</p>
<p><b>Restriction:</b> Only the QFNC user profile is authorized to use this command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDEVTBL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="WRKDEVTBL.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="#WRKDEVTBL.DEVTBL"><b>DEVTBL</b></a></td>
<td valign="top">Device table</td>
<td valign="top"><i>Name</i>, *SELECT, <b><u>*ALL</u></b></td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#WRKDEVTBL.TEXT"><b>TEXT</b></a></td>
<td valign="top">Text 'description'</td>
<td valign="top"><i>Character value</i>, <b><u>*BLANK</u></b></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#WRKDEVTBL.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="WRKDEVTBL.DEVTBL"></a>
<h3>Device table (DEVTBL)</h3>
<p>Specifies the name of a device table that contains 4704 or 3624 device names.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>Displays all of the device tables currently defined.
</dd>
<dt><b>*SELECT</b></dt>
<dd>The Work with Device Tables display is shown. Through this display you can create, change, delete, or display device tables.
</dd>
<dt><b><i>device-table-name</i></b></dt>
<dd>Specify the name of the device table that you want to work with.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDEVTBL.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKDEVTBL.TEXT"></a>
<h3>Text 'description' (TEXT)</h3>
<p>Specifies the text that briefly describes the object.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b>*BLANK</b></dt>
<dd>No text is specified.
</dd>
<dt><b><i>'description'</i></b></dt>
<dd>Specify no more than 50 characters of text, enclosed in apostrophes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDEVTBL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKDEVTBL.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Working With All Finance Device Tables</b>
</p>
<p>
<pre>
WRKDEVTBL DEVTBL(*SELECT)
</pre>
</p>
<p>This command allows you to work with all of the finance device tables. The options are to add a new table, select an existing table for update, or create, delete, or display tables.
</p>
<p><b>Example 2: Working With One Finance Device Table</b>
</p>
<p>
<pre>
WRKDEVTBL DEVTBL(DEVTBL1)
</pre>
</p>
<p>This command allows you to work with the device table DEVTBL1. The options are to create a new table, or change, display, or delete the table.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDEVTBL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKDEVTBL.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF8379</b></dt>
<dd>Error while processing file &amp;1 in &amp;2.
</dd>
<dt><b>CPF8380</b></dt>
<dd>Error while opening file &amp;1 in &amp;2.
</dd>
<dt><b>CPF8381</b></dt>
<dd>Error while closing file &amp;1 in &amp;2.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKDEVTBL.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>