JANUS CHARSET: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (→Usage notes) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:JANUS CHARSET}} | {{DISPLAYTITLE:JANUS CHARSET}} | ||
<span class="pageSubtitle" | <span class="pageSubtitle">Set default Janus character set for region</span> | ||
This subcommand sets a default character set for all Janus ports in the <var class="product">Model 204</var> region. | This subcommand sets a default character set for all Janus ports in the <var class="product">Model 204</var> region. | ||
==Syntax== | ==Syntax== | ||
<p class="syntax">JANUS CHARSET [<span class="term">character_set</span>] | |||
</p> | |||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>character_set</th> | <tr><th>character_set</th> | ||
<td> | <td>An optional 1- through 30-character name for the character set to be used. The default value is <code>iso_1</code>. | ||
</td></tr></table> | </td></tr></table> | ||
<var>CHARSET</var> has no effect on the operation of any application in <var class="product">Model 204</var>. The name of the specified character set is simply forwarded to the target server for a | ==Usage notes== | ||
<ul> | |||
<li><var>CHARSET</var> has no effect on the operation of any application in <var class="product">Model 204</var>. The name of the specified character set is simply forwarded to the target server for a <var class="product">[http://m204wiki.rocketsoftware.com/images/4/4a/JoclrNew.pdf Janus Open Client]</var> application. </li> | |||
<li>Because almost all SQL Server character set names are lowercase, the character set specified after <var>CHARSET</var> will generally be translated to lowercase. For example, specifying <code>CHARSET CP850</code> will actually request character set <code>cp850</code> from a target server. If an uppercase or mixed case character set name is required, place a plus sign (<tt>+</tt>) in front of the character set name. For example to specify character set <code>BIG</code>, enter <code>CHARSET +BIG</code>. </li> | |||
<li>The character set specified on a <var>JANUS DEFINEREMOTE</var> command overrides the character set specified on a <var>JANUS DEFINE</var> command, which overrides the character set specified on a <var>JANUS CHARSET</var> command. If the character set name is left blank, the <var>JANUS CHARSET</var> command will display the current character set name. </li> | |||
</ul> | |||
==See also== | |||
<ul> | |||
<li>[[List of Janus commands]] | |||
</ul> | |||
[[Category:Janus commands|JANUS CHARSET]] | [[Category:Janus commands|JANUS CHARSET]] |
Latest revision as of 21:16, 14 October 2014
Set default Janus character set for region
This subcommand sets a default character set for all Janus ports in the Model 204 region.
Syntax
JANUS CHARSET [character_set]
character_set | An optional 1- through 30-character name for the character set to be used. The default value is iso_1 .
|
---|
Usage notes
- 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 lowercase, the character set specified after CHARSET will generally be translated to lowercase. For example, specifying
CHARSET CP850
will actually request character setcp850
from a target server. If an uppercase or mixed case character set name is required, place a plus sign (+) in front of the character set name. For example to specify character setBIG
, enterCHARSET +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.