ASCII

ANSI DB2 SQL/DS XDB
      X

Returns the ASCII code value of the leftmost character of char_expr. The format appears below:

ASCII(char_expr)

For example:

ASCII("XDB") = 88