90 lines
5.7 KiB
HTML
90 lines
5.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>Receive resources and AFPDS data sent to network files</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="rzau6rcvnet"></a>
|
||
|
<h5 id="rzau6rcvnet">Receive resources and AFPDS data sent to network files</h5>
|
||
|
<p>To make receiving resources and Advanced Function Presentation™ data stream (AFPDS) data as easy as possible, you should be aware of
|
||
|
the following: </p>
|
||
|
<ul>
|
||
|
<li>Make sure you do not send line data or mixed data (AFPDSLINE data) to
|
||
|
network files.</li>
|
||
|
<li>The AFPDS files, as they exist on S/390®, are in variable-length record format.
|
||
|
Make sure the S/390 site converts the AFPDS files to a fixed-length record
|
||
|
format. If this is not done before sending the AFPDS files, large amounts
|
||
|
of iSeries™ server disk space will be required. You need to reach an agreement
|
||
|
with the S/390 site as to what fixed-length record format you will use; for example,
|
||
|
4000 bytes. AFPDS records longer than the fixed-length record size must be
|
||
|
converted into multiple fixed-length records. Pad the last record with blank
|
||
|
characters if necessary.</li>
|
||
|
<li>Before receiving AFPDS files from the S/390, you should consider creating a fixed-length
|
||
|
physical data file to hold the files from the S/390. The CL command to do this is Create
|
||
|
Physical File (CRTPF).
|
||
|
<p>The length of the records in the physical data file
|
||
|
should be the number that you and the S/390 site agreed to; for example, 4000 bytes.</p></li></ul>
|
||
|
<p>When resource data is received from S/390, convert the resources to a format that
|
||
|
can be used by i5/OS™. These commands are in the Create AFP™ resources topic.</p>
|
||
|
<p><span class="bold">Create a physical file</span></p>
|
||
|
<p>Many types of resources are sent to the iSeries server. Administratively, it is more
|
||
|
convenient to store the different types of resources in separate physical
|
||
|
files. That is, put all the font data in a physical file that contains only
|
||
|
fonts, the overlay data in a physical file that contains only overlays, and
|
||
|
so on.</p>
|
||
|
<p>This command creates a physical file that can receive resources and AFPDS
|
||
|
data: </p>
|
||
|
<pre class="xmp">CRTPF FILE(MYLIB/MYFILE) RCDLEN(4000) MBR(*NONE) MAXMBRS(*NOMAX) LVLCHK(*NO)</pre>
|
||
|
<p><span class="bold">Examples of using the Work with Network Files (WRKNETF)
|
||
|
and Receive Network File (RCVNETF) commands</span></p>
|
||
|
<p>Use the Work with Network Files (WRKNETF) and Receive Network File (RCVNETF)
|
||
|
commands to receive, delete, browse, or submit (print) files.</p>
|
||
|
<p>This command lets you work with the network files for USR1 and prints the
|
||
|
output with the job's spooled output. This command can only be issued by USR1,
|
||
|
a member of the USR1 group, or a user with security officer authority.</p>
|
||
|
<pre class="xmp">WRKNETF USER(USR1) OUTPUT(*PRINT)</pre>
|
||
|
<p>This command lets you work with the network files for all users and is
|
||
|
written to the first member of the specified database file. If the file exists
|
||
|
in a library on the library list, the existing file is used; otherwise, the
|
||
|
file is created in library QGPL. If the file did not exist, or did not contain
|
||
|
any members, a member with the same name as the file is added to the file.
|
||
|
Otherwise, the first member of the file is cleared and used. Only a user with
|
||
|
security officer authority can issue this command.</p>
|
||
|
<pre class="xmp">WRKNETF USER(*ALL) OUTPUT(*OUTFILE) OUTFILE(NETFILES)</pre>
|
||
|
<p>This command receives the network file SCRIPT, member $REPORT, into a physical
|
||
|
file named MYFILE in library MYLIB. The new member in MYFILE is $REPORT.</p>
|
||
|
<pre class="xmp">RCVNETF FROMFILE(SCRIPT) TOFILE(MYLIB/MYFILE) FROMMBR($REPORT)</pre>
|
||
|
<p><span class="bold">Related tasks</span></p>
|
||
|
<p><a href="rzau6crtrsc.htm#rzau6crtrsc">Create AFP resources</a></p>
|
||
|
<p><a href="rzau6prtzs.htm#rzau6prtzs">Print data sent to iSeries from S/390</a></p>
|
||
|
<p><a href="rzau6receive.htm#rzau6receive">Receive AFP resources from another system</a></p>
|
||
|
<p><a href="rzau6sndz.htm#rzau6sndz">Send data from zSeries® to iSeries servers</a></p>
|
||
|
<p><span class="bold">Related reference</span></p>
|
||
|
<p><a href="../cl/crtpf.htm">Create Physical File (CRTPF)</a> CL command</p>
|
||
|
<p><a href="../cl/rcvnetf.htm">Receive Network File (RCVNETF)</a> CL
|
||
|
command</p>
|
||
|
<p> <a href="../cl/wrknetf.htm">Work with Network Files (WRKNETF)</a> CL
|
||
|
command</p>
|
||
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
||
|
</body>
|
||
|
</html>
|