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

181 lines
5.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>Create Graph Package (CRTGPHPKG)</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="CRTGPHPKG.Top_Of_Page"></a>
<h2>Create Graph Package (CRTGPHPKG)</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="#CRTGPHPKG.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CRTGPHPKG.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CRTGPHPKG.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CRTGPHPKG"></a>
<p>The Create Graph Package (CRTGPHPKG) command creates a graph package containing one or more graph formats.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTGPHPKG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CRTGPHPKG.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="#CRTGPHPKG.GPHPKG"><b>GPHPKG</b></a></td>
<td valign="top">Graph 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: Graph 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"><a href="#CRTGPHPKG.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>
<tr>
<td valign="top"><a href="#CRTGPHPKG.GPHFMT"><b>GPHFMT</b></a></td>
<td valign="top">Graph format</td>
<td valign="top">Single values: <b><u>*SELECT</u></b><br>Other values (up to 25 repetitions): <i>Name</i></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CRTGPHPKG.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CRTGPHPKG.GPHPKG"></a>
<h3>Graph package (GPHPKG)</h3>
<p>Specifies the graph package to create or change.
</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>*LIBL</b></dt>
<dd>The library list is used to locate the graph package.
</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>graph-package</i></b></dt>
<dd>Specify the name of the graph package.
</dd>
</dl>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTGPHPKG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTGPHPKG.TEXT"></a>
<h3>Text 'description' (TEXT)</h3>
<p>Specifies the user-defined text that briefly describes the graph format or graph package.
</p>
<dl>
<dt><b><u>*BLANK</u></b></dt>
<dd>The text description for the graph format or graph package is left blank.
</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="#CRTGPHPKG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTGPHPKG.GPHFMT"></a>
<h3>Format (GPHFMT)</h3>
<p>Specifies the graph formats to include in the graph package.
</p>
<dl>
<dt><b><u>*SELECT</u></b></dt>
<dd>Shows a list of graph formats to select to be included in the graph package. This value is valid only in an interactive environment.
</dd>
<dt><b><i>format-name</i></b></dt>
<dd>Specify the graph format to be included in the graph package. Up to 25 format names can be specified.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTGPHPKG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTGPHPKG.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Creating a Package that Contains Three Formats</b>
</p>
<p>
<pre>
CRTGPHPKG GPHPKG(EXAMPLE) TEXT('THIS IS AN EXAMPLE')
GPHFMT(GPH1 GPH9 GPH12)
</pre>
</p>
<p>This command creates a graph package called EXAMPLE, which contains three formats, GPH1, GPH9, and GPH12. This package is saved in the default library, QPFRDATA.
</p>
<p><b>Example 2: Creating a Package that Contains Two Formats</b>
</p>
<p>
<pre>
CRTGPHPKG GPHPKG(MYLIB/MYPKG) TEXT('MY PACKAGE')
GPHFMT(MYGPH1 MYGPH2)
</pre>
</p>
<p>This command creates a graph package called MYPKG which contains the formats of MYGPH1 and MYGPH2. MYPKG is saved in library MYLIB.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTGPHPKG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTGPHPKG.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>PFR9011</b></dt>
<dd>Graph package &amp;2 already exists in library &amp;1.
</dd>
<dt><b>PFR9013</b></dt>
<dd>Graph format &amp;2 cannot be added.
</dd>
<dt><b>PFR9032</b></dt>
<dd>Too many formats selected.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTGPHPKG.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>