Each statement contains a directive or is associated with a directive that identifies the purpose of the statement. A directive is analogous to a command but different terminology is used to prevent confusion with true TDP commands.
The following table lists supported directives:
Directive | Function |
---|---|
CHAR | Defines the syntactic characters. |
CHARSET | Explicitly begins a definition and possibly the encoding scheme. |
END | Ends processing of records in the file. |
MONOCASE | Defines characters that have both lower and upper case. |
NUMERICS | Defines the numeric characters. |
SANITIZE | Defines valid characters for TDP messages sent using operating system facilities. |
UNICODE | Defines the syntactic characters and characters that have both lower and upper case. |
A file describes one or more character sets, although only one description is used by each SET USERCS command.
When multiple descriptions are present, each begins with a CHARSET directive and ends with the next CHARSET directive, the END directive, or the last record in the file.
The CHAR, MONOCASE, NUMERICS, SANITIZE, and UNICASE directives can appear in any order within a description. If a CHAR, MONOCASE, NUMERICS, SANITIZE, or UNICODE directive appears before a CHARSET directive, then a character set description is implicitly begun -- in effect, a CHARSET directive with no operands is assumed.
The following sections provide information and syntax diagrams for each directive. Refer to How to Read Syntax Diagrams for additional information on syntax diagrams.