71 lines
4.6 KiB
HTML
71 lines
4.6 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 lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<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))' />
|
|
<meta name="DC.Type" content="reference" />
|
|
<meta name="DC.Title" content="Transfer data from a database file to a stream file" />
|
|
<meta name="abstract" content="Follow these directions to transfer a file from a database file to a stream file on your server." />
|
|
<meta name="description" content="Follow these directions to transfer a file from a database file to a stream file on your server." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaaxcpusingcadtf.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzaaxtransferdbtostream" />
|
|
<meta name="DC.Language" 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. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>Transfer data from a database file to a stream file</title>
|
|
</head>
|
|
<body id="rzaaxtransferdbtostream"><a name="rzaaxtransferdbtostream"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Transfer data from a database file to a stream file</h1>
|
|
<div><p>Follow these directions to transfer a file from a database file
|
|
to a stream file on your server.</p>
|
|
<div class="section"> <ol><li>Establish a connection to the server.</li>
|
|
<li>Map a network drive to the appropriate path in the <span class="keyword">iSeries™</span> file
|
|
system.</li>
|
|
<li>From the <span class="keyword">iSeries Access for Windows<sup>®</sup></span> window,
|
|
click <span class="uicontrol"> Data Transfer from <span class="keyword">iSeries server</span></span> .</li>
|
|
<li>Select the server you want to transfer from.</li>
|
|
<li>Select the file names, using the <span class="keyword">iSeries</span> database
|
|
library and file name to copy from, and the network drive for the location
|
|
of the resulting stream file. You can also choose <span class="uicontrol">PC File Details</span> to
|
|
select the PC file format for the stream file. Data transfer supports common
|
|
PC file types, such as ASCII text, BIFF3, CSV, DIF, Tab-delimited Text, or
|
|
WK4.</li>
|
|
<li> Click <span class="uicontrol">Transfer data from <span class="keyword">iSeries</span></span> to
|
|
run the file transfer.</li>
|
|
</ol>
|
|
</div>
|
|
<div class="section"><p>You can also perform this data movement in a batch job with the
|
|
data transfer applications. Proceed as above, but select the <span class="uicontrol">File</span> menu
|
|
option to save the transfer request. The Data Transfer To <span class="keyword">iSeries server</span> application
|
|
creates a .DTT or a .TFR file. The Data Transfer from <span class="keyword">iSeries server</span> application
|
|
creates a .DTF or a .TTO file. In the <span class="keyword">iSeries Access Family</span> directory,
|
|
two programs can be run in batch from a command line: </p>
|
|
<ul><li><span class="cmdname">RTOPCB</span> takes either a .DTF or a .TTO file as a parameter</li>
|
|
<li><span class="cmdname">RFROMPCB</span> takes either a .DTT or a .TFR file as a parameter</li>
|
|
</ul>
|
|
<p>You can set either of these commands to run on a scheduled basis by
|
|
using a scheduler application. For example, you can use the System Agent Tool
|
|
(a part of the Microsoft<sup>®</sup> Plus Pack) to specify the program to
|
|
run (for instance, <samp class="codeph">RTOPCB MYFILE.TTO</samp>) and the time at which
|
|
you want to run the program.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaaxcpusingcadtf.htm" title="The date-transfer applications in the iSeries Access Family licensed program have the advantage of an easy-to-follow graphical interface, and automatic numeric and character data conversion.">Copy data using data-transfer functions</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |