PreviousNext

Generating the Code Set Registry File

Cell administrators of internationalized DCE cells use the csrc utility to create site-specific code set registry files for each host in the cell. The cell administrator must run csrc once for each host that exists in the cell. You need to run csrc on a per-host basis because in some cases, the same operating system platform can be configured differently from host to host. For example, the same operating system platform can be multi-byte enabled on one machine, but single-byte enabled on another machine.

In order to run csrc, you need write permission to the /usr/lib/nls/csr directory, which generally requires root privilege.

When invoked without options, csrc uses the default source file /usr/lib/nls/csr/code_set_registry.txt and creates the default output file /usr/lib/nls/csr/code_set_registry.db. Use the -i and -o options to redirect csrc to use a specific source file or generate a specific output file. When csrc runs, it generates a log file named CSRC_LOG in the current (working) directory.