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

147 lines
4.6 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 User Print Info (CHGUSRPRTI)</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="CHGUSRPRTI.Top_Of_Page"></a>
<h2>Change User Print Info (CHGUSRPRTI)</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="#CHGUSRPRTI.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGUSRPRTI.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGUSRPRTI.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGUSRPRTI"></a>
<p>The Change User Print Information (CHGUSRPRTI) command changes the user print information for a particular user by altering the user defined text value within the system.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGUSRPRTI.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGUSRPRTI.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="#CHGUSRPRTI.USER"><b>USER</b></a></td>
<td valign="top">User</td>
<td valign="top"><i>Name</i>, <b><u>*CURRENT</u></b></td>
<td valign="top">Optional, Key, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#CHGUSRPRTI.TEXT"><b>TEXT</b></a></td>
<td valign="top">User defined text</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *BLANK</td>
<td valign="top">Optional, Positional 2</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGUSRPRTI.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGUSRPRTI.USER"></a>
<h3>User (USER)</h3>
<p>Specifies the user whose print information is being changed.
</p>
<dl>
<dt><b>*CURRENT</b></dt>
<dd>The user profile under which the current job is running is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the user whose print information is being changed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGUSRPRTI.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGUSRPRTI.TEXT"></a>
<h3>User defined text (TEXT)</h3>
<p>Specifies the text that briefly describes the print information. This text is retrieved for the current user when spooled files are created and can be displayed using the Work with Spooled File Attributes (WRKSPLFA) command.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*BLANK</b></dt>
<dd>Text is not specified.
</dd>
<dt><b><i>'description'</i></b></dt>
<dd>Specify a maximum of 100 characters of text enclosed in apostrophes to describe the user print information.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGUSRPRTI.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGUSRPRTI.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHGUSRPRTI USER(FEIST) TEXT('DEPT. 456 P.O. BOX 123')
</pre>
</p>
<p>This command changes the user print information for user profile FEIST. The user print information is changed to "DEPT. 456 P.O. BOX 123".
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGUSRPRTI.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGUSRPRTI.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF0011</b></dt>
<dd>Error detected by prompt override program.
</dd>
<dt><b>CPF2204</b></dt>
<dd>User profile &amp;1 not found.
</dd>
<dt><b>CPF2213</b></dt>
<dd>Not able to allocate user profile &amp;1.
</dd>
<dt><b>CPF2217</b></dt>
<dd>Not authorized to user profile &amp;1.
</dd>
<dt><b>CPF2225</b></dt>
<dd>Not able to allocate internal system object.
</dd>
<dt><b>CPF2247</b></dt>
<dd>Internal security object not available. Reason code &amp;1.
</dd>
<dt><b>CPF34D2</b></dt>
<dd>User print information not changed for user &amp;1.
</dd>
<dt><b>CPF34D5</b></dt>
<dd>CCSID translation error.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGUSRPRTI.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>