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

72 lines
4.0 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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>Example 5: Determine your output queue</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="rzalucxmp5"></a>
<h5 id="rzalucxmp5">Example 5: Determine your output queue</h5>
<p>In the printer file, assume the following:</p>
<ul>
<li>The SPLFOWN value is *CURUSRPRF</li>
<li>The OUTQ value is *JOB</li>
<li>The DEV value is *JOB</li>
<li>The SPOOL value is *YES</li></ul>
<p>Also assume:</p>
<ul>
<li>There has been a switch to an alternate user profile USR.</li>
<li>The data area QPRTJOB, of type *LGL, with a value of false (0), exists
in library QUSRSYS and is owned by QSPL user profile.</li></ul>
<p>
<img src="rbaft513.gif" alt="Picture of example 5" /></p>
<dl>
<dt class="bold"><span class="bold">Note:</span></dt>
<dd>The SPLFOWN parameter of the printer file is *CURUSRPRF, and the job
has switched to user profile USR. The spooled file will be created under job <span class="italic">xxxxxx</span>/USR/QPRTJOB (where <span class="italic">xxxxxx</span> is
000000-999999).
</dd>
</dl>
<p>At job initiation, the following takes place:</p>
<p></p><blockquote>The system looks at the OUTQ parameter in the job description. That
value, PRT04 tells the system that it does not need to look any further and
sets the OUTQ job attribute to PRT04.
<p>The value *USRPRF in the PRTDEV parameter
of the job description, tells the system to look at the PRTDEV attribute of
the user profile. In the user profile, the value *WRKSTN tells the system
to look at the PRTDEV parameter in the workstation description. That value,
*SYSVAL tells the system to look at the system value Default printer (QPRTDEV)
and to use the output queue that is named in that value. In this example,
the value is PRT01 and it is stored in the job attribute PRTDEV.</p></blockquote>
<p>At job run time, the following takes place:</p>
<p></p><blockquote>The system looks at the OUTQ parameter in the printer file for the
output queue name. That value *JOB, tells the system to look at the OUTQ attribute
of the job. There is a data area, QPRTJOB in QUSRSYS, that is owned by the
user profile QSPL that has a logical value of false. Because of this data
area, the system will look at the OUTQ attribute for job <span class="italic">xxxxxx</span>/USR/QPRTJOB. In the <span class="italic">xxxxxx</span>/USR/QPRTJOB,
the OUTQ attribute value *DEV tells the system to look at the DEV parameter
in the printer file. The value *JOB in the DEV parameter of the printer file,
tells the system to look at the PRTDEV attribute of the current job. That
value is PRT01.</blockquote>
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>