384 lines
18 KiB
HTML
384 lines
18 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>i5/OS to i5/OS for remote system printing</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="rzalurspi2i"></a>
|
||
|
<h4 id="rzalurspi2i">i5/OS to i5/OS for remote system printing</h4>
|
||
|
<p>The following diagram illustrates i5/OS-to-i5/OS remote system printing
|
||
|
with SNADS. The values (or names) in the diagram are used in this example. </p>
|
||
|
<div class="mmobj">
|
||
|
<img src="rbaft519.gif" alt="i5/OS-to-i5/OS remote system printing with SNADS" /></div>
|
||
|
<p>Preparation work must be done on both the source system and target system
|
||
|
for the remote system printing to work. The following table provides a list
|
||
|
of things that must be present or created before remote system printing can
|
||
|
be used.</p>
|
||
|
<a name="compar2"></a>
|
||
|
<table id="compar2" width="100%" summary="" border="1" frame="border" rules="all" class="singleborder">
|
||
|
<caption>Table 3. Source system and target system preparation for remote system printing</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr class="tablemainheaderbar">
|
||
|
<th id="wq180" width="50%" align="left">Source system</th>
|
||
|
<th id="wq181" width="50%" align="left">Target system</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td headers="wq180">Line, controller, and device descriptions created
|
||
|
<p>Additional information
|
||
|
for these configuration descriptions can be obtained in <a href="../books/c4154010.pdf">Communications Configuration</a>
|
||
|
<img src="wbpdf.gif" alt="Link to PDF" />.</p></td>
|
||
|
<td headers="wq181">Line, controller, and device descriptions created
|
||
|
<p>Additional information
|
||
|
for these configuration descriptions can be obtained in <a href="../books/c4154010.pdf">Communications Configuration</a>
|
||
|
<img src="wbpdf.gif" alt="Link to PDF" />.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq180">Identify the user profiles to be used for remote system printing.
|
||
|
<p>This information is needed if you want a corresponding user profile on the
|
||
|
target system to own the sent spooled files. If you do not care who owns the
|
||
|
spooled files, they can be sent to the target system and spooled to the QNETSPLF
|
||
|
user profile.</p></td>
|
||
|
<td headers="wq181">Depending on where (to a user ID or output queue) you want the spooled
|
||
|
files sent, you need to create a matching user profile or a specific output
|
||
|
queue. Use the CRTUSRPRF or CRTOUTQ commands.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq180">Set up the SNADS network.
|
||
|
<ul>
|
||
|
<li>Create distribution queues and routing entries using the Configure Distribution
|
||
|
Services (CFGDSTSRV) command.
|
||
|
<ul>
|
||
|
<li>Create a distribution queue.</li>
|
||
|
<li>Create a routing entry and associate the target system name (SYSNMDLC)
|
||
|
with the distribution queue.</li></ul></li>
|
||
|
<li>Add users to the system directory. Use the Add Directory Entry (ADDDIRE)
|
||
|
command.
|
||
|
<ul>
|
||
|
<li>Add a directory entry for the QNETSPLF user profile. (This entry is used
|
||
|
to send spooled files to the remote system.)
|
||
|
<dl class="parml">
|
||
|
<dt class="bold">User ID</dt>
|
||
|
<dd>This must be QNETSPLF.
|
||
|
</dd>
|
||
|
<dt class="bold">Address</dt>
|
||
|
<dd>This is the value specified on the RMTSYS parameter (SYSNMDLC).
|
||
|
</dd>
|
||
|
<dt class="bold">User profile</dt>
|
||
|
<dd>This must be *NONE.
|
||
|
</dd>
|
||
|
<dt class="bold">System name</dt>
|
||
|
<dd>This is the value specified on the RMTSYS parameter (SYSNMDLC).
|
||
|
</dd>
|
||
|
<dt class="bold">System group</dt>
|
||
|
<dd>Not used in this example.
|
||
|
</dd>
|
||
|
</dl></li>
|
||
|
<li>Add a directory entry for the QNETSPLF user profile. (This entry is the
|
||
|
user ID used by SNADS on the source system.)
|
||
|
<dl class="parml">
|
||
|
<dt class="bold">User ID</dt>
|
||
|
<dd>This must be QNETSPLF.
|
||
|
</dd>
|
||
|
<dt class="bold">Address</dt>
|
||
|
<dd>This is the name of the source system (SYSNMD5T).
|
||
|
</dd>
|
||
|
<dt class="bold">User profile</dt>
|
||
|
<dd>This must be QNETSPLF.
|
||
|
</dd>
|
||
|
<dt class="bold">System name</dt>
|
||
|
<dd>This is the name of the source system (*LCL).
|
||
|
</dd>
|
||
|
<dt class="bold">System group</dt>
|
||
|
<dd>Not used in this example.
|
||
|
</dd>
|
||
|
</dl></li></ul></li></ul></td>
|
||
|
<td headers="wq181">Set up the SNADS network.
|
||
|
<ul>
|
||
|
<li>Create distribution queues and routing entries using the Configure Distribution
|
||
|
Services (CFGDSTSRV) command.
|
||
|
<ul>
|
||
|
<li>Create a distribution queue.</li>
|
||
|
<li>Create a routing entry; associate the name of the distribution queue and
|
||
|
the network ID of the target system (SYSNMD5T).</li></ul></li>
|
||
|
<li>Add users to the system directory. Use the Add Directory Entry (ADDDIRE)
|
||
|
command.
|
||
|
<ul>
|
||
|
<li>Add a directory entry for QNETSPLF. (This entry is used to receive spooled
|
||
|
files from the source system.)
|
||
|
<dl class="parml">
|
||
|
<dt class="bold">User ID</dt>
|
||
|
<dd>This value must be QNETSPLF.
|
||
|
</dd>
|
||
|
<dt class="bold">Address</dt>
|
||
|
<dd>This is the value specified on the RMTSYS parameter (SYSNMDLC).
|
||
|
</dd>
|
||
|
<dt class="bold">User profile</dt>
|
||
|
<dd>This must be QNETSPLF.
|
||
|
</dd>
|
||
|
<dt class="bold">System name</dt>
|
||
|
<dd>This must be *LCL.
|
||
|
</dd>
|
||
|
<dt class="bold">System group</dt>
|
||
|
<dd>Not used in this example.
|
||
|
</dd>
|
||
|
</dl></li>
|
||
|
<li>Add another directory entry for user profile QNETSPLF. (This entry is
|
||
|
used to send messages back to the source system).
|
||
|
<dl class="parml">
|
||
|
<dt class="bold">User ID</dt>
|
||
|
<dd>This must be QNETSPLF.
|
||
|
</dd>
|
||
|
<dt class="bold">Address</dt>
|
||
|
<dd>This is the name of the source system (SYSNMD5T)
|
||
|
</dd>
|
||
|
<dt class="bold">User profile</dt>
|
||
|
<dd>This value must be *NONE.
|
||
|
</dd>
|
||
|
<dt class="bold">System name</dt>
|
||
|
<dd>This is the name of the source system (SYSNMD5T)
|
||
|
</dd>
|
||
|
<dt class="bold">System group</dt>
|
||
|
<dd>Not used in this example.
|
||
|
</dd>
|
||
|
</dl></li></ul></li></ul></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq180">Create a remote output queue for remote system printing.
|
||
|
<p>Use the
|
||
|
Create Output Queue (CRTOUTQ) command.</p></td>
|
||
|
<td headers="wq181">Create an output queue to receive the spooled files using the value
|
||
|
on the RMTPRTQ parameter (OUTQRMT).</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<p><span class="bold">Source system activity - creating the remote output queue</span></p>
|
||
|
<p>The result of using this example would be spooled output files sent to
|
||
|
output queue OUTQRMT on the target system (SYSNMDLC).</p>
|
||
|
<p>Type CRTOUTQ and press F4 (Prompt). The following display appears. Type
|
||
|
the values shown and press the Enter key. The remote output queue RMTOUTQ
|
||
|
is created. The other parameter values are needed to ensure connection and
|
||
|
delivery to the designated system. </p>
|
||
|
<pre class="screen"><span class="bold"> Create Output Queue (CRTOUTQ)</span>
|
||
|
|
||
|
Type choices, press Enter.
|
||
|
|
||
|
Output queue . . . . . . . . . . <span class="bold-italic">RMTOUTQ</span> Name
|
||
|
Library . . . . . . . . . . . <span class="italic">MYLIB</span> Name, *CURLIB
|
||
|
Maximum spooled file size: <span class="italic"> </span>
|
||
|
Number of pages . . . . . . . <span class="italic">*NONE</span> Number, *NONE
|
||
|
Starting time . . . . . . . . <span class="italic"> </span> Time
|
||
|
Ending time . . . . . . . . . <span class="italic"> </span> Time
|
||
|
+ for more values <span class="italic"> </span>
|
||
|
Order of files on queue . . . . <span class="italic">*FIFO</span> *FIFO, *JOBNBR
|
||
|
Remote system . . . . . . . . . <span class="italic">SYSNMDLC</span>
|
||
|
Remote printer queue . . . . . <span class="italic">OUTQRMT</span>
|
||
|
Queue for writer messages . . . <span class="italic">QSYSOPR</span> Name, QSYSOPR
|
||
|
Library . . . . . . . . . . . <span class="italic">*LIBL</span> Name, *LIBL, *CURLIB
|
||
|
Connection type . . . . . . . . <span class="italic">*SNA</span> *SNA, *IP
|
||
|
Destination type . . . . . . . . <span class="italic">*OS400</span> *OS400, *OS400V2, *PSF2...
|
||
|
Text 'description' . . . . . . . <span class="italic">i5/OS to i5/OS</span>
|
||
|
<span class="italic"> </span>
|
||
|
<span class="italic"> </span>
|
||
|
<span class="bold"> Bottom</span>
|
||
|
F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
|
||
|
F13=How to use this display F24=More keys
|
||
|
</pre>
|
||
|
<p>To begin sending spooled output files from the RMTOUTQ remote output queue,
|
||
|
run the Start Remote Writer (STRRMTWTR) command. Type STRRMTWTR and press
|
||
|
F4 (Prompt).</p>
|
||
|
<p>The following display appears. Type the values for the parameters displayed
|
||
|
and press the Enter key. Spooled output files are then sent to the OUTQRMT
|
||
|
on the target system (SYSNMDLC). </p>
|
||
|
<pre class="screen"><span class="bold"> Start Remote Writer (STRRMTWTR)</span>
|
||
|
|
||
|
Type choices, press Enter.
|
||
|
|
||
|
Output queue . . . . . . . . . . <span class="bold-italic">RMTOUTQ</span> Name, *ALL
|
||
|
Library . . . . . . . . . . . <span class="italic">stumpf</span> Name, *LIBL, *CURLIB
|
||
|
Queue for writer messages . . . <span class="italic">*OUTQ</span> Name, *OUTQ, *REQUESTER
|
||
|
Library . . . . . . . . . . . <span class="italic"></span> Name, *LIBL, *CURLIB
|
||
|
Form type options:
|
||
|
Form type . . . . . . . . . . <span class="italic">*ALL</span> Form type, *ALL, *STD, *FORMS
|
||
|
Message option . . . . . . . . <span class="italic">*NOMSG</span> *NOMSG, *INQMSG, *MSG...
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<span class="bold"> Bottom</span>
|
||
|
F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
|
||
|
F13=How to use this display F24=More keys
|
||
|
</pre>
|
||
|
<p><span class="bold">Target system activity - printing spooled output files
|
||
|
from the source system</span></p>
|
||
|
<p>The spooled output files were sent to the OUTQRMT output queue on the target
|
||
|
system. To begin printing the spooled output files, start a printer writer
|
||
|
to the OUTQRMT output queue. Type STRPRTWTR and press F4 (Prompt).</p>
|
||
|
<p>Type the name of the printer (CHEROKEE2) you want to use and the name of
|
||
|
the output queue with the received spooled output files (OUTQRMT). Press
|
||
|
the Enter key and spooled output files will begin to print on the printer
|
||
|
named CHEROKEE2.</p>
|
||
|
<p></p>
|
||
|
<pre class="screen"><span class="bold"> Start Printer Writer (STRPRTWTR)</span>
|
||
|
|
||
|
Type choices, press Enter.
|
||
|
|
||
|
Printer . . . . . . . . . . . . <span class="bold-italic">cherokee2</span> Name, *ALL, *SYSVAL
|
||
|
Output queue . . . . . . . . . . <span class="italic">OUTQRMT</span> Name, *DEV
|
||
|
Library . . . . . . . . . . . <span class="italic">stumpf</span> Name, *LIBL, *CURLIB
|
||
|
Queue for writer messages . . . <span class="italic">*DEVD</span> Name, *DEVD, *REQUESTER
|
||
|
Library . . . . . . . . . . . <span class="italic"> </span> Name, *LIBL, *CURLIB
|
||
|
Form type options:
|
||
|
Form type . . . . . . . . . . <span class="italic">*ALL</span> Form type, *ALL, *STD, *FORMS
|
||
|
Message option . . . . . . . . <span class="italic">*INQMSG</span> *INQMSG, *MSG, *NOMSG...
|
||
|
File separators . . . . . . . . <span class="italic">*FILE</span> 0-9, *FILE
|
||
|
Drawer for separators . . . . . <span class="italic">*DEVD</span> 1-255, *DEVD, *FILE
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<span class="bold"> Bottom</span>
|
||
|
F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
|
||
|
F13=How to use this display F24=More keys
|
||
|
</pre>
|
||
|
<p>Multiple printer writers can be started to same output queue. This allows
|
||
|
the spooled output files from a particular output queue to be printed on more
|
||
|
than one printer.</p>
|
||
|
<p>To see the number of writers started to the OUTQRMT output queue, run the
|
||
|
WRKOUTQ *ALL command. The Work with All output queues screen appears. Type
|
||
|
option 9 next to the OUTQRMT output queue and press the Enter key. The Work
|
||
|
with All Writers display appears. If the output queue has more than one writer
|
||
|
started to it, the writers are listed and they both are associated with the
|
||
|
same output queue (OUTQRMT). </p>
|
||
|
<pre class="screen"><span class="bold"> Work with All output queues</span>
|
||
|
|
||
|
Type options, press Enter.
|
||
|
2=Change 3=Hold 4=Delete 5=Work with 6=Release 8=Description
|
||
|
9=Work with Writers 14=Clear
|
||
|
|
||
|
Opt Queue Library Files Writer Status
|
||
|
<span class="italic"> </span> SCCOUTQ SCCLARK 156 RLS
|
||
|
<span class="italic"> </span> T93 SCCLARK 0 RLS
|
||
|
<span class="italic"> </span> AFP SKS 23 RLS
|
||
|
<span class="italic"> </span> AFP2 SKS 0 RLS
|
||
|
<span class="italic"> </span> SKS2 SKS 0 RLS
|
||
|
<span class="italic"> </span> DEFERQ STANGLER 5 HLD
|
||
|
<span class="italic"> </span> STANGLER STANGLER 53 RLS
|
||
|
<span class="italic"> </span> ANGELIKA STUMPF 0 RLS
|
||
|
<span class="italic">9</span> OUTQRMT STUMPF 2 *CHEROKEE2 RLS
|
||
|
<span class="italic"> </span> RMTOUTQ1 STUMPF 0 RLS
|
||
|
<span class="italic"> </span> TAAOUTQ TAATOOL 0 RLS
|
||
|
<span class="italic"> </span> TIEMENS TIEMENS 0 RLS
|
||
|
<span class="bold"> More...</span>
|
||
|
Command
|
||
|
===> <span class="italic"> </span>
|
||
|
F3=Exit F4=Prompt F5=Refresh F12=Cancel F24=More keys
|
||
|
</pre><p class="indatacontent"> </p>
|
||
|
<pre class="screen"><span class="bold"> Work with All Writers</span>
|
||
|
|
||
|
Type options, press Enter.
|
||
|
2=Change 3=Hold 4=End 5=Work with 6=Release 7=Display messages
|
||
|
8=Work with output queue
|
||
|
|
||
|
Opt Writer Type Device Queue Library Status Form Type
|
||
|
<span class="italic"> </span> CHEROKEE2 PRT CHEROKEE2 OUTQRMT STUMPF STR *ALL
|
||
|
<span class="italic"> </span> CHIEF PRT CHIEF OUTQRMT STUMPF STR *ALL
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<span class="bold"> Bottom</span>
|
||
|
Parameters for options 2, 3, 4, 6 or command
|
||
|
===> <span class="italic"> </span>
|
||
|
F3=Exit F4=Prompt F12=Cancel F22=Start printer writer F24=More keys
|
||
|
|
||
|
</pre>
|
||
|
<p>You can list the names of writers started to the OUTQRMT output queue by
|
||
|
typing WRKOUTQ OUTQRMT and pressing F4 (Prompt). The Work with Output Queue
|
||
|
display appears. Press F20 (Writers) and the Work with All Writers display
|
||
|
appears with a list of all writers that are started to the OUTQRMT output
|
||
|
queue. This sequence is shown in the following two displays.</p>
|
||
|
<pre class="screen"><span class="bold"> Work with Output Queue</span>
|
||
|
|
||
|
Queue: OUTQRMT Library: STUMPF Status: RLS/WTR
|
||
|
|
||
|
Type options, press Enter.
|
||
|
1=Send 2=Change 3=Hold 4=Delete 5=Display 6=Release 7=Messages
|
||
|
8=Attributes 9=Work with printing status
|
||
|
|
||
|
Opt File User User Data Sts Pages Copies Form Type Pty
|
||
|
<span class="italic"> </span> DMB18R2 XZZ0136 *BEFORE HLD 4 1 ENTN 5
|
||
|
<span class="italic"> </span> QPRINT STUMPF SAV 2 1 *STD 5
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<span class="bold"> Bottom</span>
|
||
|
Parameters for options 1, 2, 3 or command
|
||
|
===>
|
||
|
F3=Exit F11=View 2 F12=Cancel F20=Writers F22=Printers
|
||
|
F24=More keys
|
||
|
</pre>
|
||
|
<pre class="screen"><span class="bold"> Work with All Writers</span>
|
||
|
|
||
|
Type options, press Enter.
|
||
|
2=Change 3=Hold 4=End 5=Work with 6=Release 7=Display messages
|
||
|
8=Work with output queue
|
||
|
|
||
|
Opt Writer Type Device Queue Library Status Form Type
|
||
|
<span class="italic"> </span> CHEROKEE2 PRT CHEROKEE2 OUTQRMT STUMPF STR *ALL
|
||
|
<span class="italic"> </span> CHIEF PRT CHIEF OUTQRMT STUMPF STR *ALL
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<span class="bold"> Bottom</span>
|
||
|
Parameters for options 2, 3, 4, 6 or command
|
||
|
===> <span class="italic"> </span>
|
||
|
F3=Exit F4=Prompt F12=Cancel F22=Start printer writer F24=More keys
|
||
|
|
||
|
</pre>
|
||
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
||
|
</body>
|
||
|
</html>
|