ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzau6_5.4.0.1/rzau6prtzs.htm

80 lines
4.7 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 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>Print data sent to iSeries from zSeries</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="rzau6prtzs"></a>
<h4 id="rzau6prtzs">Print data sent to iSeries from zSeries</h4>
<p>There are different steps to print data sent to an iSeries&trade;, depending
on where it is sent to.</p>
<p><span class="bold">Print data sent from a zSeries&reg; server to an i5/OS&trade; network file</span></p>
<p>To print data that has been placed on an i5/OS network file, follow these steps:</p>
<ol type="1">
<li>Receive the file to a library.</li>
<li>Use the Print AFP&trade; Data (PRTAFPDTA) command.</li></ol><p class="indatacontent"> All resources must be processed this way.</p>
<p><span class="bold">Print data sent from a zSeries server to an i5/OS output queue</span></p>
<p>You can print data that has been placed on an i5/OS output queue the same way you print any
other spooled file. However, there are some considerations when having data
placed directly on an output queue. If a printer is active for that output
queue, spooled files placed directly into the output queue could be printed
without the owner of the queue realizing it. To avoid this, try one of these
possible solutions: </p>
<ul>
<li>Create a special user ID and a special output queue for that user ID.
You could then sign on using that user ID and assign a printer to your output
queue to print the spooled files.</li>
<li>Make sure the output queue of the receiving user ID is held before the zSeries server sends the files.</li>
<li>Use the End Writer (ENDWTR) command to end the printer assigned to that
output queue before the zSeries server sends the file.</li></ul>
<p>When data is sent from a zSeries server to an i5/OS output queue
and then printed, it follows this path: </p>
<ol type="1">
<li>zSeries</li>
<li>Target iSeries server identified by a node ID</li>
<li>Target output queue for the target user ID
<p>The target user ID must have
access to the libraries containing the resources that the spooled file needs
when it prints on the iSeries server.</p></li>
<li>Target printer
<p>Make sure that the printer you want to print the files
on is assigned to the correct output queue. If any special handling of the
printer is necessary (form choice, drawer selection, envelopes, and so on),
it should be done before the files are sent.</p></li></ol>
<a name="wq24"></a>
<div class="notetitle" id="wq24">Note:</div>
<div class="notebody">If you cannot find the spooled file on the output queue
of the specified user ID, look in the QNFTP job log for messages. The QNFTP
job runs under the QSNADS user profile.</div>
<p><span class="bold">Related concepts</span></p>
<p><a href="rzau6resources.htm#rzau6resources">AFP resources</a></p>
<p><a href="rzau6libl.htm#rzau6libl">Resource library lists</a></p>
<p><span class="bold">Related tasks</span></p>
<p><a href="rzau6rcvnet.htm#rzau6rcvnet">Receive resources and AFP data sent to network files</a></p>
<p><a href="../rzalu/rzalureleasesplf.htm">Release a spooled file</a></p>
<p><a href="rzau6sendnet.htm#rzau6sendnet">Send data from a zSeries server to i5/OS network files</a></p>
<p><span class="bold">Related reference</span></p>
<p><a href="../cl/prtafpdta.htm">Print AFP Data (PRTAFPDTA)</a> CL command</p>
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>