JANUS CHARSET: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:JANUS CHARSET}}
{{DISPLAYTITLE:JANUS CHARSET}}
<span class="pageSubtitle"><section begin="desc" />CHARSET<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />Set default Janus character set for region<section end="desc" /></span>


This subcommand sets a default character set for all Janus ports in the ''Model 204'' region.


==Syntax==


This subcommand sets a default character set for all Janus ports in the ''Model 204'' region.
==Syntax==
<p class="syntax"><section begin="syntax" /> JANUS CHARSET character_set
<p class="syntax"><section begin="syntax" /> JANUS CHARSET character_set
<section end="syntax" /></p>
<section end="syntax" /></p>
<p class="caption">JANUS CHARSET command syntax
<p class="caption">JANUS CHARSET command syntax
</p>
</p>


Where the single parameter is optional:
Where the single parameter is optional:
Line 17: Line 16:
<td>A 1 - 30 name for the character set to be used. The default value is iso_1.
<td>A 1 - 30 name for the character set to be used. The default value is iso_1.
</td></tr></table>
</td></tr></table>


CHARSET has no effect on the operation of any application in ''Model 204''. The name of the specified character set is simply forwarded to the target server for a ''[[Janus Open Client]]'' application. Because almost all SQL Server character set names are lower case, the character set specified after CHARSET will generally be translated to lower case. For example, specifying 'CHARSET CP850' will actually request character set 'cp850' from a target server. If an upper or mixed case character set name is required, simply place a plus sign (+) in front of the character set name. For example to specify character set 'BIG' simply enter 'CHARSET +BIG'. The character set specified on a JANUS DEFINEREMOTE command overrides the character set specified on a JANUS DEFINE command which overrides the character set specified on a JANUS CHARSET command. If the character set name is left blank, the JANUS CHARSET command will display the current character set name.
CHARSET has no effect on the operation of any application in ''Model 204''. The name of the specified character set is simply forwarded to the target server for a ''[[Janus Open Client]]'' application. Because almost all SQL Server character set names are lower case, the character set specified after CHARSET will generally be translated to lower case. For example, specifying 'CHARSET CP850' will actually request character set 'cp850' from a target server. If an upper or mixed case character set name is required, simply place a plus sign (+) in front of the character set name. For example to specify character set 'BIG' simply enter 'CHARSET +BIG'. The character set specified on a JANUS DEFINEREMOTE command overrides the character set specified on a JANUS DEFINE command which overrides the character set specified on a JANUS CHARSET command. If the character set name is left blank, the JANUS CHARSET command will display the current character set name.


[[Category:Janus commands|JANUS CHARSET]]
[[Category:Janus commands|JANUS CHARSET]]
[[Category:Sirius commands]]
[[Category:Sirius commands|JANUS CHARSET]]

Revision as of 17:56, 28 February 2011

<section begin="desc" />Set default Janus character set for region<section end="desc" />

This subcommand sets a default character set for all Janus ports in the Model 204 region.

Syntax

<section begin="syntax" /> JANUS CHARSET character_set <section end="syntax" />

JANUS CHARSET command syntax

Where the single parameter is optional:

character_set A 1 - 30 name for the character set to be used. The default value is iso_1.

CHARSET has no effect on the operation of any application in Model 204. The name of the specified character set is simply forwarded to the target server for a Janus Open Client application. Because almost all SQL Server character set names are lower case, the character set specified after CHARSET will generally be translated to lower case. For example, specifying 'CHARSET CP850' will actually request character set 'cp850' from a target server. If an upper or mixed case character set name is required, simply place a plus sign (+) in front of the character set name. For example to specify character set 'BIG' simply enter 'CHARSET +BIG'. The character set specified on a JANUS DEFINEREMOTE command overrides the character set specified on a JANUS DEFINE command which overrides the character set specified on a JANUS CHARSET command. If the character set name is left blank, the JANUS CHARSET command will display the current character set name.