ibm-information-center/dist/eclipse/plugins/i5OS.ic.nls_5.4.0.1/rbagschngccsidofphysfile.htm

70 lines
4.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 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="concept" />
<meta name="DC.Title" content="Change the CCSID of a physical file" />
<meta name="abstract" content="You can use the Change Physical File (CHGPF) command to change the coded character set identifier (CCSID) of a physical file. However, the physical file cannot be changed under certain conditions." />
<meta name="description" content="You can use the Change Physical File (CHGPF) command to change the coded character set identifier (CCSID) of a physical file. However, the physical file cannot be changed under certain conditions." />
<meta name="DC.Relation" scheme="URI" content="rbagscdra.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagsccsiddispfilesup.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/chgpf.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbagschngccsidofphysfile" />
<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>Change the CCSID of a physical file</title>
</head>
<body id="rbagschngccsidofphysfile"><a name="rbagschngccsidofphysfile"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Change the CCSID of a physical file</h1>
<div><p>You can use the Change Physical File (CHGPF) command to change
the coded character set identifier (CCSID) of a physical file. However, the
physical file cannot be changed under certain conditions.</p>
<p>A physical file cannot be changed if one or more of the following
conditions exist when working with a logical file defined over a physical
file:</p>
<ul><li>The logical file has a sort sequence table associated with the CCSID of
the physical file and the CCSID you want to change to is incompatible. That
is, conversion between the original CCSID and the CCSID you want to change
to is not allowed because all the characters of the original CCSID are not
in the new CCSID.</li>
<li>The logical file has a sort sequence table associated with the CCSID of
the physical file and the CCSID you want to change to is incompatible. Additionally,
the logical file has fields defined with CCSIDs that are not compatible to
the new CCSID you want to change the physical file to. Again, conversion between
the original CCSID and the CCSID you want to change to is not allowed because
all the characters of the original CCSID of the logical file or the fields
with specific CCSIDs are not in the new CCSID.</li>
<li>A select/omit or join logical file, or both that performs select/omits
or joins between physical file fields that have different CCSIDs.</li>
<li>A join logical file with a sort sequence table such that the CCSID of
the logical file's secondary access path is different than the CCSID to which
the physical file is being changed.</li>
</ul>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagscdra.htm" title="Using the server implementation of CDRA, you can achieve consistent representation, processing, and interchange of coded characters (data) on i5/OS and across IBM systems. The primary implementation of CDRA on i5/OS is through coded character set identifier (CCSID) support.">Work with CCSIDs</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rbagsccsiddispfilesup.htm" title="When a display file object is created, it is tagged with the coded character set identifier (CCSID) of the source file.">Display files</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/chgpf.htm">Change Physical File (CHGPF) command</a></div>
</div>
</div>
</body>
</html>