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

84 lines
4.9 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>Distributed data management (DDM) 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="rzaluddmprt"></a>
<h4 id="rzaluddmprt">Distributed data management (DDM) printing</h4>
<p>DDM enables users or application programs on the iSeries server to access
data files that reside on remote systems and allows these remote systems to
access data on the local system. This remote file access is transparent to
the application program command or utility. Remote file requests are routed
through a DDM file, which contains the name of the file on the remote system
as well as the name of this system as it is known on the network.</p>
<p>There are, however, certain limitations to the DDM support, particularly
where printing applications are concerned. For example: </p>
<ul>
<li>The iSeries Query licensed program does not support DDM files.</li>
<li>It is not possible to print on a remote iSeries server using, for example,
an Override with Printer File (OVRPRTF) of QSYSPRT to the source DDM file
because the print request is rejected by DDM, as shown by the following job
log extract:
<pre class="xmp">3 > OVRPRTF FILE(QSYSPRT) TOFILE(ITSCID03/DDMQSYSPRT)
DDM file DDMSRC in MYLIB uses remote file QSYS/QSYSPRT.
File DDMSRC in MYLIB not a data base file.
Cannot open DDM file DDMSRC in MYLIB.
Function check. CPF4207 unmonitored by QWSGET at statement *N,
instruction X'0F9D'.
A function check was received while opening the print file.
The print operation used the default printer device file.</pre></li></ul>
<p>One way in which data could be printed on a remote iSeries server using DDM
is as follows: </p>
<ol type="1">
<li>Create a DDM file on the source system using the Create DDM File (CRTDDMF)
command.
<pre class="xmp">CRTDDMF FILE(MYLIB/DDMSRC) RMTFILE(QSYS/QSYSPRT)
RMTLOCNAME(B20) TEXT('DDM file for remote printing on B20').</pre></li>
<li>Create a physical file of the appropriate record length to receive the
spooled data (80 bytes for print screen output, 132 bytes for normal spooled
output), using the Create Physical File (CRTPF) command.
<pre class="xmp">CRTPF FILE(MYLIB/PFILE) RCDLEN(80) TEXT('CPYSPLF data file').</pre></li>
<li>Create a similar file on the remote iSeries server using the Submit Remote
Command (SBMRMTCMD) command.
<pre class="xmp">SBMRMTCMD CMD('crtpf file (rlib/rfile) rcdlen(80)') DDMFILE(DDMSRC).</pre></li>
<li>Copy the spool entry to the physical file using the Copy Spooled File
(CPYSPLF) command, using the defaults (no control character).
<pre class="xmp">CPYSPLF FILE(QSYSPRT) TOFILE(MYLIB/PFILE)
JOB(003049/USER/DSP06).</pre></li>
<li>Use the Copy File (CPYF) command to copy the data from this physical file
to the remote physical file created in step 3.
<pre class="xmp">CPYF FROMFILE(MYLIB/PFILE) TOFILE(MYLIB/DDMSRC)
MBROPT(*ADD).</pre></li>
<li>Use the SBMRMTCMD command once again to copy the data from the remote
physical file to QSYS/QSYSPRT in order to create a spooled file on the remote iSeries server's
default output queue.
<pre class="xmp">SBMRMTCMD CMD('cpyf fromfile(rlib/rfile) tofile(qsysprt) mbropt(*add)')
DDMFILE(DDMSRC).</pre></li></ol>
<p>This procedure can be adapted to direct i5/OS printing to remote System/36&trade; systems
and System/38&trade; systems with DDM installed. See the <a href="../ddm/rbae5kickoff.htm">Distributed
Data Management</a> topic collection for details of the differences in DDM
implementation on these other systems.</p>
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>