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

149 lines
4.8 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 Program Tables (WRKPGMTBL)</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="WRKPGMTBL.Top_Of_Page"></a>
<h2>Work with Program Tables (WRKPGMTBL)</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="#WRKPGMTBL.PARAMETERS.TABLE">Parameters</a><br>
<a href="#WRKPGMTBL.COMMAND.EXAMPLES">Examples</a><br>
<a href="#WRKPGMTBL.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="WRKPGMTBL"></a>
<p>The Work with Program Table (WRKPGMTBL) command lets you create finance program tables and, once they are created, lets you add or delete program names in these tables. Several finance program tables can be defined, but you must use unique names for each table. If the program table you specify on this command does not exist, it is created.
</p>
<p>Finance program table updates can be accessed by any finance job that is submitted after all changes are completed.
</p>
<p><b>Restriction:</b> This command is shipped with public *EXCLUDE authority.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKPGMTBL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="WRKPGMTBL.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="#WRKPGMTBL.PGMTBL"><b>PGMTBL</b></a></td>
<td valign="top">Program 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="#WRKPGMTBL.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="#WRKPGMTBL.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="WRKPGMTBL.PGMTBL"></a>
<h3>Program table (PGMTBL)</h3>
<p>Specifies the name of a table that contains finance program IDs and user-associated program names.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>Displays all of the program tables currently defined.
</dd>
<dt><b>*SELECT</b></dt>
<dd>The Work with Program Table display is shown. With this display you can create, change, delete, or display program tables.
</dd>
<dt><b><i>program-table-name</i></b></dt>
<dd>Specify the name of the program table that you want to work with.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKPGMTBL.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKPGMTBL.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="#WRKPGMTBL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKPGMTBL.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Working With All Finance Program Tables</b>
</p>
<p>
<pre>
WRKPGMTBL PGMTBL(*SELECT)
</pre>
</p>
<p>This command allows you to work with all finance program tables. You can create a new table, or select an existing table to change, delete, or display.
</p>
<p><b>Example 2: Working With a Program Table</b>
</p>
<p>
<pre>
WRKPGMTBL PGMTBL(PGMTBL1)
</pre>
</p>
<p>This command allows you to work with program table PGMTBL1. With this command you can create, change, delete, or display a table.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKPGMTBL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKPGMTBL.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="#WRKPGMTBL.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>