Sorting UNICODE as EBCDIC

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Santiago.Ciciliani@gmail.com

    Sorting UNICODE as EBCDIC

    Hi all,

    I'm trying to sort an alphanumerical column as EBCDIC.
    Reading on Internet I've found two things:

    a) Use CAST(column as CHAR(nn) CCSID EBCDIC).

    This gives me the following error:

    Message: An unexpected token "EBCDIC" was found following "c AS
    CHAR(255) CCSID". Expected tokens may include: "ASCII".

    b) Read the casts available in the SYSIBM.SYSSTRIN GS table.

    I don't have this sysTable neither SYSPARMS!!

    Theres anything I can do about it?
    Cheers

  • Serge Rielau

    #2
    Re: Sorting UNICODE as EBCDIC

    Santiago.Cicili ani@gmail.com wrote:
    Hi all,
    >
    I'm trying to sort an alphanumerical column as EBCDIC.
    Reading on Internet I've found two things:
    I think there is aosmeconfusion here.
    EBCDIC (as far as I know) is an encoding, just like UTF-8 or ASCII.
    Sorting is a collation and is orthogonal to the encoding.

    Cheers
    Serge

    --
    Serge Rielau
    DB2 Solutions Development
    IBM Toronto Lab

    IOD Conference

    Comment

    Working...