ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzalu_5.4.0.1/rzaluupi.htm

73 lines
4.3 KiB
HTML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="dc.language" scheme="rfc1766" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<meta name="dc.date" scheme="iso8601" content="2005-09-06" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow"/>
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<title>User print information</title>
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
<link rel="stylesheet" type="text/css" href="ic.css" />
</head>
<body>
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
<a name="rzaluupi"></a>
<h4 id="rzaluupi">User print information</h4>
<p>User print information is made up of user-defined text associated with
a user. The user-defined text is saved with the spooled file when the spooled
file is created. It can be displayed using the Display Spooled File Attributes
(DSPSPLFA) command or retrieved using the Retrieve User Print Information
(RTVUSRPRTI) command.</p>
<p>User print information is not used when sending spooled output files to
another iSeries server or an S/3X system. It is used only as information to
pass to the VM/MVS bridge customer user exit program to aid in setting the
Network Job Entry (NJE) header fields.</p>
<p>It is possible for a system administrator to limit users access by revoking
public authority to the particular commands.</p>
<p>User print information can be used any way you want. For example, it could
consist of printout distribution information or be used for accounting information
(department to charge for printing).</p>
<p>You can work with user print information by using the Change User Print
Information (CHGUSRPRTI), Display User Print Information (DSPUSRPRTI), and
Retrieve User Print Information (RTVUSRPRTI) commands.</p>
<p><span class="bold">Using the CHGUSRPRTI command</span></p>
<p>There is no command that allows creation of user print information. If
no user print information exists, it can be created using the CHGUSRPRTI command.</p>
<p>For example, running the following command modifies (or creates if it does
not exist) the user print information for user LAWSON. </p>
<pre class="xmp">CHGUSRPRTI USER(LAWSON) TEXT('DEPT. ABC P.O. BOX 123')</pre>
<p>The command acts on the user print information for the user LAWSON. The
user information is changed (or created) to DEPT. ABC P.O.Box 123.</p>
<p><span class="bold">Using the DSPUSRPRTI command</span></p>
<p>The Display User Print Information (DSPUSRPRTI) command displays the user
print information for the specified user. </p>
<pre class="xmp">DSPUSRPRTI USER(LAWSON)</pre>
<a name="wq43"></a>
<div class="notetitle" id="wq43">Note:</div>
<div class="notebody">DSPUSRPRTI uses the QPDSPUSRPI printer file when OUTPUT is specified
as *PRINT.</div>
<p><span class="bold">Using the RTVUSRPRTI command</span></p>
<p>The Retrieve User Print Information (RTVUSRPRTI) command can be used in
a CL program to retrieve the user print information value associated with
a user. The values are returned in the specified CL variables for that user. </p>
<pre class="xmp">RTVUSRPRTI USER(LAWSON) RTNTEXT(&amp;TEXT);</pre>
<p>When the above command is run, the following is returned:</p>
<pre class="xmp">&amp;TEXT 'DEPT ABC P.O. BOX 123 ____'</pre>
<p>The coded character set identifier (CCSID) is used when the text description
prints on the output.</p>
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>