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

192 lines
6.5 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 Forms Control Table (WRKFCT)</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="WRKFCT.Top_Of_Page"></a>
<h2>Work with Forms Control Table (WRKFCT)</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="#WRKFCT.PARAMETERS.TABLE">Parameters</a><br>
<a href="#WRKFCT.COMMAND.EXAMPLES">Examples</a><br>
<a href="#WRKFCT.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="WRKFCT"></a>
<h3>Work with FCT</h3>
<p>Use the WRKFCT command to display, change, or remove FCT entries. The output is either shown on the Work with Forms Control Table Entries display, or printed with the job's spooled output.
</p>
<p>Each line of the display presents information about the FCT entries. This information includes the host form type, the type of writer used (indicated by *PRT or *PUN), the local form type, and the name of the file that receives the output stream.
</p>
<h3>Error messages for WRKFCT</h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>RJE0028</b></dt>
<dd>Device type &amp;2 for form type &amp;1 does not exist in &amp;3.
</dd>
<dt><b>RJE0214</b></dt>
<dd>Command &amp;1 failed. Entry &amp;2 in &amp;3 was not changed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKFCT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="WRKFCT.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="#WRKFCT.FCT"><b>FCT</b></a></td>
<td valign="top">Forms control table</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Forms control table</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="#WRKFCT.FORMTYPE"><b>FORMTYPE</b></a></td>
<td valign="top">Host form type</td>
<td valign="top"><i>Character value</i>, <b><u>*ALL</u></b></td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#WRKFCT.DEVTYPE"><b>DEVTYPE</b></a></td>
<td valign="top">Device type</td>
<td valign="top"><b><u>*ALL</u></b>, *PRT, *PUN</td>
<td valign="top">Optional, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#WRKFCT.OUTPUT"><b>OUTPUT</b></a></td>
<td valign="top">Output</td>
<td valign="top"><b><u>*</u></b>, *PRINT</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#WRKFCT.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="WRKFCT.FCT"></a>
<h3>Forms Cntrl Table (FCT)</h3>
<p>Specifies the qualified name of the FCT with which to work.
</p>
<p>The possible library values are:
</p>
<ul>
<li>*LIBL: The library list for the job is used to locate the FCT.
</li>
<li>*CURLIB: The current library for the job is used to locate the FCT. If no current library is specified, QGPL is used.
</li>
<li><i>library-name:</i> Specify the name of the library where the FCT is located.
</li>
</ul>
<p><i>forms-control-table-name:</i> Specify the name of the FCT with which to work.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKFCT.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKFCT.FORMTYPE"></a>
<h3>Host Form Type (FORMTYPE)</h3>
<p>Specifies the host form type associated with the FCT.
</p>
<p>The possible values are:
</p>
<ul>
<li>*ALL: Specifies all form types.
</li>
<li><i>generic*-host-system-form-type:</i> Specify the generic name of the host form type. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, then all host form types with names that begin with that string, and for which you have authority, are shown. If an asterisk is not included, the system assumes the string to be the complete name of the host form type.
<p>For more information on the use of generic functions, see the CL Reference.
</p>
</li>
<li><i>host-system-form-type:</i> Specify the host form type.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKFCT.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKFCT.DEVTYPE"></a>
<h3>Device Type (DEVTYPE)</h3>
<p>Specifies the device type for which the specified form type is displayed.
</p>
<p>The possible values are:
</p>
<ul>
<li>*ALL: All device types are selected.
</li>
<li>*PRT: Only printer devices are selected.
</li>
<li>*PUN: Only punch devices are selected.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKFCT.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKFCT.OUTPUT"></a>
<h3>Output (OUTPUT)</h3>
<p>Specifies whether output from the command is displayed at the requesting workstation, or printed with the job's spooled output.
</p>
<p>The possible values are:
</p>
<ul>
<li>*: Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.
</li>
<li>*PRINT: Output is printed with the job's spooled output. The IBM-supplied printer file QPDSPFCT is used to print the FCT.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKFCT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="WRKFCT.COMMAND.EXAMPLES">Examples</a></h3>None
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKFCT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKFCT.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>RJE0028</b></dt>
<dd>Device type &amp;2 for form type &amp;1 does not exist in &amp;3.
</dd>
<dt><b>RJE0214</b></dt>
<dd>Command &amp;1 failed. Entry &amp;2 in &amp;3 was not changed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKFCT.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>