ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahz_5.4.0.1/setccsid.htm

94 lines
2.5 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<meta http-equiv="Content-Type" content=
"text/html; charset=utf-8">
<title>setccsid - Set CCSID attribute for file</title>
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</HEAD>
<body bgcolor="#FFFFFF">
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h2>setccsid - Set CCSID attribute for file</h2>
<strong>Synopsis</strong>
<p><strong>setccsid [-R [-H | -L | -P]] [-h]</strong> <em>ccsid file
...</em></p>
<p><strong>Description</strong></p>
<p>The <strong>setccsid</strong> utility sets the CCSID attribute
for the specified <em>files</em> to the specified <em>ccsid</em>. The data contained in <em>
file</em> is not changed.</p>
<p><strong>Options</strong></p>
<dl>
<dt><strong>-H</strong></dt>
<dd>If the <strong>-R</strong> option is specified, symbolic links
on the command line are followed. Symbolic links encountered in the
tree traversal are not followed.</dd>
<dt><strong>-L</strong></dt>
<dd>If the <strong>-R</strong> option is specified, both symbolic
links on the command line and symbolic links encountered in the
tree traversal are followed.</dd>
<dt><strong>-P</strong></dt>
<dd>If the <strong>-R</strong> option is specified, no symbolic
links are followed.</dd>
<dt><strong>-R</strong></dt>
<dd>If <em>file</em> designates a directory, <strong>
setccsid</strong> sets the CCSID of each file in the entire subtree
connected at that point.</dd>
<dt><strong>-h</strong></dt>
<dd>Set the CCSID of a symbolic link instead of the file pointed to
by the symbolic link.</dd>
</dl>
<p><strong>Operands</strong></p>
<p>The <em>ccsid</em> is an integer number identifying the coded character set id.
Each <em>file</em> is a pathname of a file to set the CCSID.</p>
<p><strong>Related information</strong></p>
<ul>
<li><a href="attr.htm">attr - Get or set attributes for files</a></li>
<li><a href="chmod.htm">chmod - Change file modes</a></li>
<li><a href="chown.htm">chown - Change file ownership</a></li>
<li><a href="iconv.htm">iconv - Convert characters from one CCSID to another CCSID</a></li>
<li><a href="touch.htm">touch - Change file access and modification
times</a></li>
</ul>
<p><strong>Examples</strong></p>
<ol>
<li>Set the CCSID of the files &quot;file1&quot; and &quot;file2&quot; to 819:
<pre>
setccsid 819 file1 file2
</pre></li>
</ol>
<!-- end ibmbody========================================================= -->
</body>
</html>