ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaiq_5.4.0.1/rzaiqreferencedt8b.htm

89 lines
5.8 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="CCSID code page tagging for iSeries files" />
<meta name="abstract" content="When File Transfer Protocol (FTP) creates a new file on an iSeries server, it is tagged with a Coded Character Set Identifier (CCSID) or the code page of that CCSID to identify the character data in that file. When replacing or appending data to an existing file, the tag of the file is not changed." />
<meta name="description" content="When File Transfer Protocol (FTP) creates a new file on an iSeries server, it is tagged with a Coded Character Set Identifier (CCSID) or the code page of that CCSID to identify the character data in that file. When replacing or appending data to an existing file, the tag of the file is not changed." />
<meta name="DC.Relation" scheme="URI" content="rzaiqreferencedt8.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqreferencedt4.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaiqreferencedt8b" />
<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>CCSID code page tagging for iSeries files</title>
</head>
<body id="rzaiqreferencedt8b"><a name="rzaiqreferencedt8b"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">CCSID code page tagging for iSeries files</h1>
<div><p>When File Transfer Protocol (FTP) creates a new file on an iSeries™ server,
it is tagged with a Coded Character Set Identifier (CCSID) or the code page
of that CCSID to identify the character data in that file. When replacing
or appending data to an existing file, the tag of the file is not changed.</p>
<div class="section"><p>The following table summarizes how FTP assigns these values for
different file systems and transfer types.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 1. CCSID code page
tagging for iSeries files</caption><thead align="left"><tr><th valign="top" id="d0e38">Receiving file system</th>
<th valign="top" id="d0e40">Transfer type A (ASCII)</th>
<th valign="top" id="d0e42">Transfer transfer type C ('ccsid')</th>
<th valign="top" id="d0e44">Transfer type E (EBCDIC)</th>
<th valign="top" id="d0e46">Transfer type I (Image/Binary)</th>
</tr>
</thead>
<tbody><tr><td valign="top" headers="d0e38 ">QSYS.LIB</td>
<td valign="top" headers="d0e40 ">CCSID specified by the EBCDIC coded character set identifier for new
database files (CRTCCSID) setting.</td>
<td valign="top" headers="d0e42 ">'ccsid' if EBCDIC CCSID. If ccsid is ASCII, then related default EBCDIC
CCSID.</td>
<td valign="top" headers="d0e44 ">65535</td>
<td valign="top" headers="d0e46 ">65535</td>
</tr>
<tr><td valign="top" headers="d0e38 ">"root", QOpenSys, QDLS, QOPT</td>
<td valign="top" headers="d0e40 ">Default ASCII CCSID.</td>
<td valign="top" headers="d0e42 ">'ccsid' value specified in TYPE C ccsid# subcommand.</td>
<td valign="top" headers="d0e44 ">Job CCSID if it is not 65535. If Job CCSID is 65535, assign Default
Job CCSID.</td>
<td valign="top" headers="d0e46 ">Default ASCII CCSID.</td>
</tr>
<tr><td valign="top" headers="d0e38 ">QLanSrv</td>
<td valign="top" headers="d0e40 ">ASCII code page of the network server description for file directory.</td>
<td valign="top" headers="d0e42 ">ASCII code page of the network server description for file directory.</td>
<td valign="top" headers="d0e44 ">Not supported.</td>
<td valign="top" headers="d0e46 ">ASCII code page of the network server description for file directory.</td>
</tr>
<tr><td colspan="5" valign="top" headers="d0e38 d0e40 d0e42 d0e44 d0e46 "><div class="note"><span class="notetitle">Note:</span> The default ASCII CCSID is defined
when the FTP job is started: For the client, the CCSID parameter of the STRTCPFTP
(and FTP) command. For the server, the CCSID parameter of the FTP Configuration
attributes which can be changed using the CHGFTPA command. QFileSvr.400 file
assignments depend on the file system receiving the file.</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiqreferencedt8.htm" title="iSeries uses Coded Character Set Identifier (CCSID) information to interpret the input data and provide the output data in the proper format for display.">Coded Character Set Identifier conversions</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rzaiqreferencedt4.htm" title="You must use stream mode (MODE S) and file structure (STRUCT F) when transferring files in the root, QOpenSys, QLANSrv, QDLS, and QOPT file systems.">Transfer root, QOpenSys, QLANSrv, QDLS, and QOPT files</a></div>
</div>
</div>
</body>
</html>