They are saying that if you go from Linux to z/OS to Linux then '%' might
become '?' and then back to '%'. (Those are just example characters -- don't
take them literally.)

But if you go from z/OS to Linux to Java then '?' might become '%' and then
'!'. 

They are saying that round-trip does not mean you can just translate it
twice and be back to the original character. You have to go "round trip" --
back to where (the CCSID?) you came from.

It's not the clearest example. <g>

Charles
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Paul Gilmartin
Sent: Tuesday, June 12, 2012 1:45 PM
To: [email protected]
Subject: Re: Anyone a Unicode Services expert? -- roundtrip conversion

On Tue, 12 Jun 2012 12:59:13 -0700, Charles Mills wrote:
>
>" A round-trip conversion works only in a two-tier homogenous 
>environment where the data makes the complete round trip. For example, 
>if you pass data from DB2 for Linux, UNIX, and Windows to DB2 for z/OS 
>and then back to DB2 for Linux, UNIX, and Windows with a round-trip
conversion, no data is lost.
>The data was converted back to its original format. However, if you 
>have a more complicated environment, a round-trip conversion does not 
>necessarily preserve data integrity. For example, if you pass data from 
>DB2 for z/OS to
>DB2 for Linux, UNIX, and Windows and then to Linux on a Java client, 
>two conversions have potentially occurred. Because the data was not 
>converted back to its original format before the second conversion, 
>data might have been lost even if round-trip conversions are used.
> 
???  Errr...

The composition of two (or more) bijective function is a bijective function.
This can't violate data integrity.

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

Reply via email to