189 lines
6.0 KiB
HTML
189 lines
6.0 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>Copy Graph Package (CPYGPHPKG)</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="CPYGPHPKG.Top_Of_Page"></a>
|
||
|
<h2>Copy Graph Package (CPYGPHPKG)</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="#CPYGPHPKG.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#CPYGPHPKG.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#CPYGPHPKG.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="CPYGPHPKG"></a>
|
||
|
<p>The Copy Graph Package (CPYGPHPKG) command copies an existing graph package into a graph package specified by the user.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CPYGPHPKG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="CPYGPHPKG.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="#CPYGPHPKG.FROMPKG"><b>FROMPKG</b></a></td>
|
||
|
<td valign="top">From package</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: From package</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>QPFRDATA</u></b>, *CURLIB</td>
|
||
|
</tr><tr>
|
||
|
<td valign="top" rowspan="3"><a href="#CPYGPHPKG.TOPKG"><b>TOPKG</b></a></td>
|
||
|
<td valign="top">To package</td>
|
||
|
<td valign="top"><i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Optional, Positional 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: To package</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*FROMPKG</u></b></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: Library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*FROMLIB</u></b>, *CURLIB</td>
|
||
|
</tr><tr>
|
||
|
<td valign="top"><a href="#CPYGPHPKG.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="#CPYGPHPKG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="CPYGPHPKG.FROMPKG"></a>
|
||
|
<h3>From package (FROMPKG)</h3>
|
||
|
<p>Specifies the graph package from which the copy is to be created.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dl>
|
||
|
<dt><b><u>QPFRDATA</u></b></dt>
|
||
|
<dd>The IBM-supplied performance data library, QPFRDATA, is where the graph package is located.
|
||
|
</dd>
|
||
|
<dt><b>*CURLIB</b></dt>
|
||
|
<dd>The current library for the job is used to locate the graph package. If no library is specified as the current library for the job, QGPL is used.
|
||
|
</dd>
|
||
|
<dt><b><i>library-name</i></b></dt>
|
||
|
<dd>Specify the name of the library where the graph package is located.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dt><b><i>package-name</i></b></dt>
|
||
|
<dd>Specify the name of the graph package.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CPYGPHPKG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CPYGPHPKG.TOPKG"></a>
|
||
|
<h3>To package (TOPKG)</h3>
|
||
|
<p>Specifies the location of the graph package into which the copy is to be made.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<p>The possible library values are:
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*FROMLIB</u></b></dt>
|
||
|
<dd>The graph package is copied into the library specified on the FROMPKG parameter.
|
||
|
</dd>
|
||
|
<dt><b>*CURLIB</b></dt>
|
||
|
<dd>The current library for the job is where the copy of the graph package will be located. If no library is specified as the current library for the job, QGPL is used.
|
||
|
</dd>
|
||
|
<dt><b><i>library-name</i></b></dt>
|
||
|
<dd>Specify the name of the library where the graph package will be located.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dt><b><u>*FROMPKG</u></b></dt>
|
||
|
<dd>The graph package name specified on the FROMPKG parameter is used.
|
||
|
</dd>
|
||
|
<dt><b><i>package-name</i></b></dt>
|
||
|
<dd>Specify the name of the graph package.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CPYGPHPKG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CPYGPHPKG.REPLACE"></a>
|
||
|
<h3>Replace (REPLACE)</h3>
|
||
|
<p>Specifies whether to replace the graph package in the <b>To package</b> prompt (TOPKG parameter), if the graph package already exists.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NO</u></b></dt>
|
||
|
<dd>The existing graph package is not replaced with the new graph package.
|
||
|
</dd>
|
||
|
<dt><b>*YES</b></dt>
|
||
|
<dd>The existing graph package is replaced with the new graph package.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CPYGPHPKG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CPYGPHPKG.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Sending a Copy to the Default Library</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CPYGPHPKG FROMPKG(MYPKG) TOPKG(YOURPKG)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command makes a copy of MYPKG and sends it to YOURPKG in the QPFRDATA library.
|
||
|
</p>
|
||
|
<p><b>Example 2: Sending a Copy to a Specified Library</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CPYGPHPKG FROMPKG(MYLIB/PKG1) TOPKG(YOURLIB/PKG2)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command makes a copy of PKG1 in the MYLIB library and sends it to PKG2 in the YOURLIB library.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CPYGPHPKG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CPYGPHPKG.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>PFR9043</b></dt>
|
||
|
<dd>&1 does not exist in library &2.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CPYGPHPKG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|