Utility Features
The ccnv utility provides features necessary to customize code conversion tables. These are described
below:
• Table customization: Customizes the specified code conversion table according to the user's cus-
tomization information (definition statements) specified by the user. The standard code conversion
table cannot be modified. This feature is also used for conversion of user-defined characters.
• Table information output: Outputs information on the code conversion table such as the type of
conversion, creation date, and date last modified.
• Table dump output: Outputs code conversion table dump results to a file. The contents of this dump
output only concerns the codes, and does not include internal information such as header inform-
ation contained in the code conversion table. The resulting file name is the code conversion table
name with “.dmp” appended to the end as the file extension.
• Standard table generation: Re-generates the standard code conversion table provided. Use this
feature when the standard code conversion table is modified or deleted unintentionally or by hard
disk failures.
Definition Statement Syntax
This section describes the syntax of the definition statement used by the ccnv utility command to
customize the code conversion table.
Definition Statement Syntax Rules
• Use single-byte alphanumeric characters to specify the definition statement (except comments).
• Types of definition statements (Table 16):
Table 16 Definition Statements
DescriptionDefinition statement
Specifies name of the code conversion table to customize.NAME statement
Specifies the type of conversion to customize.TYPE statement
Specifies the character code to customize.CODE statement
Specifies how the character code is converted.
Code customization
statement
Enter comments.Comments
• Start position of the definition statement: Although there are no rules regarding the start position,
it is recommended to keep the statement in one line, within 120 columns.
• Order of definition statements: The definition statements must be specified in the order shown in
the following figure:
Customizing the Code Conversion Table70