Solution is to use BLOB data type into db2 database. Like this, BLOB data type is also to be used from WMQI part and x'00' is no more interpreted like an ending character string.
For message recycle purposes, I need to store MRM messages in a DB2 database. Problem is that messages contain packed zones and when they are inserted by odbc driver into db2 database, messages ...