JANUS CHARSET: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 5: Line 5:


==Syntax==
==Syntax==
 
<p class="syntax">JANUS CHARSET [<span class="term">character_set</span>]
<p class="syntax"> JANUS CHARSET character_set
</p>
</p>


Where the single parameter is optional:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>character_set</th>
<tr><th>character_set</th>
<td>A 1- through 30-character name for the character set to be used. The default value is iso_1.
<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 ''[[Janus Open Client]]'' application. Because almost all SQL Server character set names are lower case, the character set specified after <var>CHARSET</var> will generally be translated to lower case. For example, specifying <code>CHARSET CP850</code> will actually request character set <code>cp850</code> 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 <code>BIG</code> simply enter <code>CHARSET +BIG</code>. 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 JANUS CHARSET command. If the character set name is left blank, the JANUS CHARSET command will display the current character set name.
==Usage notes==
<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.  
 
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>.  
 
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.


==See also==
==See also==
<ul>
<ul>
<li>[[List of Janus_commands]]
<li>[[List of Janus commands]]
</ul>
</ul>


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

Revision as of 21:13, 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 set cp850 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 set BIG, 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.

See also