Difference between revisions of "XMLSCREENREPUC (JANUS DEFINE parameter)"

From m204wiki
Jump to: navigation, search
(Description)
 
Line 6: Line 6:
 
The <var>XMLSCREENREPUC</var> parameter was introduced by a ZAP in Model 204 V7.8.
 
The <var>XMLSCREENREPUC</var> parameter was introduced by a ZAP in Model 204 V7.8.
  
If <var>XMLSCREENREPUC</var> is not specified and XMLSCREEN processing receives XML that contains characters that cannot be translated to EBCDIC, the request is cancelled. To prevent this, <var>XMLSCREENREPUC</var> can be set to a Unicode character that has a valid translation. For example, to replace non-translatable (to EBCDIC) Unicode characters to a question mark, specify <code>XMLSCREENREPUC X'3F'</code> on the <code>JANUS DEFINE</code> command for a port (since Unicode X'003F' is a question mark).
+
The default value for <var>XMLSCREENREPUC</var> is <code>X'0000'</code> (or just <code>0</code>) which means that there is no untranslatable character replacement unicode value.
 +
 
 +
If <var>XMLSCREENREPUC</var> is not specified and XMLSCREEN processing receives XML that contains characters that cannot be translated to EBCDIC, the request is cancelled. To prevent this, <var>XMLSCREENREPUC</var> can be set to a Unicode character that has a valid translation. For example, to replace non-translatable (to EBCDIC) Unicode characters to a question mark, specify <code>XMLSCREENREPUC X'3F'</code> on the <code>JANUS DEFINE</code> command for a port (since Unicode X'003F' is a question mark).
  
 
==See also==
 
==See also==

Latest revision as of 04:11, 9 August 2021

XMLSCREENREPUC xxx — Specify XMLSCREEN replacement character

Description

XMLSCREENREPUC is a parameter on the JANUS DEFINE command, which specifies a replacement Unicode character that is to replace any Unicode character that cannot be translated to EBCDIC in the XML input to XMLSCREEN processing.

The XMLSCREENREPUC parameter was introduced by a ZAP in Model 204 V7.8.

The default value for XMLSCREENREPUC is X'0000' (or just 0) which means that there is no untranslatable character replacement unicode value.

If XMLSCREENREPUC is not specified and XMLSCREEN processing receives XML that contains characters that cannot be translated to EBCDIC, the request is cancelled. To prevent this, XMLSCREENREPUC can be set to a Unicode character that has a valid translation. For example, to replace non-translatable (to EBCDIC) Unicode characters to a question mark, specify XMLSCREENREPUC X'3F' on the JANUS DEFINE command for a port (since Unicode X'003F' is a question mark).

See also