setccsid - Set CCSID attribute for file
Synopsis
setccsid [-R [-H | -L | -P]] [-h] ccsid file
...
Description
The setccsid utility sets the CCSID attribute
for the specified files to the specified ccsid. The data contained in
file is not changed.
Options
- -H
- If the -R option is specified, symbolic links
on the command line are followed. Symbolic links encountered in the
tree traversal are not followed.
- -L
- If the -R option is specified, both symbolic
links on the command line and symbolic links encountered in the
tree traversal are followed.
- -P
- If the -R option is specified, no symbolic
links are followed.
- -R
- If file designates a directory,
setccsid sets the CCSID of each file in the entire subtree
connected at that point.
- -h
- Set the CCSID of a symbolic link instead of the file pointed to
by the symbolic link.
Operands
The ccsid is an integer number identifying the coded character set id.
Each file is a pathname of a file to set the CCSID.
Related information
Examples
- Set the CCSID of the files "file1" and "file2" to 819:
setccsid 819 file1 file2