$Web DBCS: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(Automatically generated page update) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:$Web_DBCS}} | {{DISPLAYTITLE:$Web_DBCS}} | ||
<span class="pageSubtitle" | <span class="pageSubtitle">Modify DBCS output translation</span> | ||
<var>$Web_DBCS</var> lets you enable. disable, or reset <var class="product">Model 204</var> double byte character set support for this <var class="product">[[Janus Web Server]]</var> thread. | <var>$Web_DBCS</var> lets you enable. disable, or reset <var class="product">Model 204</var> double byte character set support for this <var class="product">[[Janus Web Server]]</var> thread. | ||
Line 7: | Line 7: | ||
==Syntax== | ==Syntax== | ||
<p class="syntax" | <p class="syntax"><span class="term">%rc</span> = <var>$Web_DBCS</var> ( dbcs-setting ) | ||
</p> | |||
===Syntax terms=== | ===Syntax terms=== |
Revision as of 14:39, 9 April 2013
Modify DBCS output translation
$Web_DBCS lets you enable. disable, or reset Model 204 double byte character set support for this Janus Web Server thread.
$Web_DBCS takes one argument and returns a status code. It is a callable $function.
Syntax
%rc = $Web_DBCS ( dbcs-setting )
Syntax terms
%rc | A numeric variable to contain the method's status code. Possible values are those in "Return codes", below. | ||||||
---|---|---|---|---|---|---|---|
dbcs-setting | The new setting of automatic DBCS character translation, and it must be one of the following:
|
Return codes
Code | Meaning |
---|---|
0 | Success. |
-1 | Not a Web Server thread. |
-2 | DBCSENV parameter is zero (DBCS support not enabled). |
-3 | Invalid or missing argument. |
Usage notes
- Use $Web_DBCS to selectively invoke DBCS translation, regardless of the port's DBCS setting. Note, however, that Janus Web Server DBCS support is only available if the Model 204 DBCSENV CCAIN parameter is set to 1. For more information about Janus Web Server DBCS support, see "DBCS Feature".