Many DBMS providers support XML as a data type in both character and binary formats. See your DBMS documentation for further information as to what types of host variables the vendor suggests using.

Host Variable Format

OpenESQL and DB2 ECM
01 xmlclob1     SQL TYPE IS XML AS CLOB(2M).

The xmlclob1 format uses the XML SQL TYPE.