Purpose
Establishes the character set with which userids (SET USERID) and logon strings (START POOL) are specified in TDP commands.
Syntax
The SE abbreviation is deprecated.
where:
- character_set_name
- The name of a character set known to TDP, chosen as one of the following, having EBCDIC characteristics:
- EBCDIC
- EBCDIC037_0E
- EBCDIC273_0E
- EBCDIC277_0E
- HANGULEBCDIC933_1II
- KANJIEBCDIC5026_0I
- KANJIEBCDIC5035_0I
- KATAKANAEBCDIC
- SCHEBCDIC935_2IJ
- TCHEBCDIC937_3IB
Usage Notes
Unless this command is specified, EBCDIC is assumed. Neither the ability of the database to support character sets nor the existence of the specified character set is validated during the execution of this command. Subsequent attempts to specify a database object in a TDP command can result in errors.
The current character set can be displayed using the DISPLAY TDP command.
Example 1: SET CHARSET
SET CHARSET KANJIEBCDIC5026_0I
Example 2: SET CHARSET
SET CHARSET EBCDIC
Completion Message
TDP0396 TDP CHARSET IS NOW character_set_name
Error Messages
Possible error messages are:
TDP0504 UNKNOWN TDP COMMAND NAME: text TDP0506 UNKNOWN OPERAND TO THE ‘SET’ COMMAND: text TDP0535 TOO FEW OPERANDS FOR THE ‘SET CHARSET’ COMMAND TDP0536 TOO MANY OPERANDS FOR THE ‘SET CHARSET’ COMMAND TDP0502 LENGTH INCORRECT FOR ‘SET CHARSET’ VALUE