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

180 lines
5.4 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>Change PDG Profile (CHGPDGPRF)</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="CHGPDGPRF.Top_Of_Page"></a>
<h2>Change PDG Profile (CHGPDGPRF)</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="#CHGPDGPRF.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGPDGPRF.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGPDGPRF.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGPDGPRF"></a>
<p>The Change Print Descriptor Group Profile (CHGPDGPRF) command changes the Print Descriptor Group (PDG) profile information for a particular user.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPDGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGPDGPRF.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="#CHGPDGPRF.USER"><b>USER</b></a></td>
<td valign="top">User</td>
<td valign="top"><i>Name</i>, *CURRENT</td>
<td valign="top">Required, Key, Positional 1</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGPDGPRF.PDG"><b>PDG</b></a></td>
<td valign="top">Print descriptor group</td>
<td valign="top">Single values: *SAME<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Positional 2</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Print descriptor group</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="#CHGPDGPRF.PRTD"><b>PRTD</b></a></td>
<td valign="top">Print descriptor</td>
<td valign="top"><i>Character value</i>, *SAME</td>
<td valign="top">Required, Positional 3</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGPDGPRF.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGPDGPRF.USER"></a>
<h3>User (USER)</h3>
<p>Specifies the name of the user whose PDG profile is being changed.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b>*CURRENT</b></dt>
<dd>The PDG profile of the current user is changed.
</dd>
<dt><b><i>user-name</i></b></dt>
<dd>Specify the name of the user whose PDG profile is being changed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPDGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPDGPRF.PDG"></a>
<h3>Print descriptor group (PDG)</h3>
<p>Specifies the name and library of the print descriptor group (PDG) to associate with this user.
</p>
<p>The possible PDG values are:
</p>
<dl>
<dt><b><i>print-descriptor-group-name</i></b></dt>
<dd>Specify the name of the PDG to change.
</dd>
</dl>
<p>The possible library values are:
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the PDG. 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 PDG being changed is located.
</dd>
</dl>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPDGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGPDGPRF.PRTD"></a>
<h3>Print descriptor (PRTD)</h3>
<p>Specifies the print descriptor name within the Print Descriptor Group (PDG).
</p>
<p>The possible values are:
</p>
<dl>
<dt><b>*SAME</b></dt>
<dd>The print descriptor name does not change.
</dd>
<dt><b><i>print-descriptor-name</i></b></dt>
<dd>Specify the print descriptor name.
</dd>
</dl>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPDGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGPDGPRF.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHGPDGPRF USER(JPSMITH) PDG(*LIBL/LETTERS) PRTD(DRAFT_QUALITY)
</pre>
</p>
<p>This command changes the print descriptor for user profile JPSMITH. The print descriptor is changed to DRAFT_QUALITY in print descriptor group LETTERS.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPDGPRF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGPDGPRF.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF2204</b></dt>
<dd>User profile &amp;1 not found.
</dd>
<dt><b>CPF2217</b></dt>
<dd>Not authorized to user profile &amp;1.
</dd>
<dt><b>CPF2247</b></dt>
<dd>Internal security object not available. Reason code &amp;1.
</dd>
<dt><b>CPF6D82</b></dt>
<dd>PDG profile not changed for user &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGPDGPRF.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>