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

205 lines
6.7 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>Copy Functional Area (CPYFCNARA)</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="CPYFCNARA.Top_Of_Page"></a>
<h2>Copy Functional Area (CPYFCNARA)</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="#CPYFCNARA.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CPYFCNARA.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CPYFCNARA.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CPYFCNARA"></a>
<p>The Copy Functional Area (CPYFCNARA) command allows the user to copy a functional area to a new functional area. Functional areas are used for performance tools reports and graphics. A functional area is a pre-defined list of job names and user names that are included in a report or graph.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CPYFCNARA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CPYFCNARA.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="#CPYFCNARA.FROMFCNARA"><b>FROMFCNARA</b></a></td>
<td valign="top">From functional area</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#CPYFCNARA.FROMLIB"><b>FROMLIB</b></a></td>
<td valign="top">From library</td>
<td valign="top"><i>Name</i>, <b><u>QPFRDATA</u></b></td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#CPYFCNARA.TOFCNARA"><b>TOFCNARA</b></a></td>
<td valign="top">To functional area</td>
<td valign="top"><i>Character value</i>, <b><u>*FROMFCNARA</u></b></td>
<td valign="top">Optional, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#CPYFCNARA.TOLIB"><b>TOLIB</b></a></td>
<td valign="top">To library</td>
<td valign="top"><i>Name</i>, <b><u>*FROMLIB</u></b></td>
<td valign="top">Optional, Positional 4</td>
</tr>
<tr>
<td valign="top"><a href="#CPYFCNARA.REPLACE"><b>REPLACE</b></a></td>
<td valign="top">Replace</td>
<td valign="top"><b><u>*NO</u></b>, *YES</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CPYFCNARA.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CPYFCNARA.FROMFCNARA"></a>
<h3>From functional area (FROMFCNARA)</h3>
<p>Specifies the name of the functional area from which to copy. Enclose the name in apostrophes if it contains any spaces between characters.
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CPYFCNARA.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CPYFCNARA.FROMLIB"></a>
<h3>From library (FROMLIB)</h3>
<p>Specifies the location of the functional area to be copied.
</p>
<p>The possible library values are:
</p>
<dl>
<dt><b><u>QPFRDATA</u></b></dt>
<dd>The IBM-supplied performance data library, QPFRDATA, is the location of the functional area.
</dd>
<dt><b><i>library-name</i></b></dt>
<dd>Specify the name of the library where the functional area is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CPYFCNARA.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CPYFCNARA.TOFCNARA"></a>
<h3>To functional area (TOFCNARA)</h3>
<p>Specifies the name of the functional area to which the copy is sent.
</p>
<p>The possible library values are:
</p>
<dl>
<dt><b><u>FROMFCNARA</u></b></dt>
<dd>The name specified on the FROMFCNARA parameter is used.
</dd>
<dt><b><i>functional-area-name</i></b></dt>
<dd>Specify the name of the functional area to which the copy is sent. Enclose the name in apostrophes if it contains any spaces between characters.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CPYFCNARA.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CPYFCNARA.TOLIB"></a>
<h3>To library (TOLIB)</h3>
<p>Specifies the library to which the copy of the functional area is sent.
</p>
<p>The possible library values are:
</p>
<dl>
<dt><b><u>*FROMLIB</u></b></dt>
<dd>The functional area is copied to the library specified on the FROMLIB parameter.
</dd>
<dt><b><i>library-name</i></b></dt>
<dd>Specify the name of the library to which functional area is copied.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CPYFCNARA.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CPYFCNARA.REPLACE"></a>
<h3>Replace (REPLACE)</h3>
<p>Specifies whether to replace the functional area in the <b>To functional area</b> prompt (TOFCNARA parameter) if the functional area already exists.
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>The existing functional area is not replaced with the new functional area.
</dd>
<dt><b>*YES</b></dt>
<dd>The existing functional area is replaced with the new functional area.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CPYFCNARA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CPYFCNARA.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Copying in the Same Library</b>
</p>
<p>
<pre>
CPYFCNARA FROMFCNARA(PERSONNEL) TOFCNARA(MIKE)
</pre>
</p>
<p>This command copies the functional area PERSONNEL to the functional area MIKE. Both functional areas are in the QPFRDATA library.
</p>
<p><b>Example 2: Copying to a Different Library</b>
</p>
<p>
<pre>
CPYFCNARA FROMFCNARA('Performance Tools')
TOFCNARA(MIKE) TOLIB(USRLIB)
</pre>
</p>
<p>This command copies the functional area 'Performance Tools' to the functional area MIKE in library USRLIB.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CPYFCNARA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CPYFCNARA.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>PFR9062</b></dt>
<dd>Value for TOFCNARA parameter must be specified.
</dd>
<dt><b>PFR9065</b></dt>
<dd>Cannot copy functional area &amp;2.
</dd>
<dt><b>PFR9066</b></dt>
<dd>Cannot copy to functional area &amp;2.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CPYFCNARA.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>