Hi Hsieh,
We're using RBD v9.5. (i have just edited this in the question for further reference, thanks for pointing out)
The solution you are providing is valid for COBOL generation, not for java generation.
And, if it would be valid for Java, it would lead to 'unpredictable results' (quote from the site you provided), we would not like that in our software...
We are in contact with IBM via a PMR for this problem, they acknowledged the problem and are working on a fixtest.
Niek
Niek_Vandael