On Mon, 8 Sep 2014 22:32:36 -0400, John Gilmore wrote:

>TRTT is not in any way Unicode-dependent.  It is table-driven, does
>what it is told to do.  The only requirement is that both source and
>target character sets be DBCSs.  The TRTE (translate and Test
>Extended) instruction is also 1) Unicode-independent and 2) processes
>either SBCSs or DBCSs parametrically.   Halfword alignment is
>irrelevant in all of these cases. SBCS, DBCS, or MBCS.   (A
>character-set element must of course begin on some byte boundary, but
>this 'restriction' is not really an interesting one.)
> 
I take it you're saying that TRTT/TRTE will recognize alike the x'0D 25'
digraph in either x'C1 C2 0D 25 C3 C4' or x'C1 0D 25 C2 C3 C4', with
no shift-in...shift-out indicators, which are not to be expected in the
OP's misbegotten data?

I'm somewhat surprised.

(I purposely said "digraph" rather than "double byte character".)

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to