Yes but I am defining a Data Type.
What I want to achieve is to define a variable that contains n characters, not n bytes.
In Oracle this is defined as
myvar varchar2(2 char) ---> myvar will contain 2 CHARACTERS
myvar varchar2(2) ---> myvar will contain 2 BYTES
But that's in Oracle.
Now that DB2 9.7 is "oracle compatible", I wanted to know if there was some construct or definition that works the same way since the definition
myvar varchar2(2 char)
is not accepted in DB2 9.7.