Data conversion, data types, data definitions, and structures

Use this information to learn about data conversions, elementary data types, WebSphere® MQ data definitions, and structures when using the Message Queue Interface.

Data conversion

The MQXCNVC (convert characters) call converts message character data from one character set to another. Except on WebSphere MQ for z/OS®, this call is used only from a data-conversion exit.

See MQXCNVC - Convert characters for the syntax used with the MQXCNVC call, and Writing data-conversion exits for guidance on writing and invoking data conversion exits.

Elementary data types

For the supported programming languages, the MQI provides elementary data types or unstructured fields.

These data types are described fully in Elementary data types.

WebSphere MQ data definitions
The data definition files supplied with WebSphere MQ contain:
  • Definitions of all the WebSphere MQ constants and return codes
  • Definitions of the WebSphere MQ structures and data types
  • Constant definitions for initializing the structures
  • Function prototypes for each of the calls (for PL/I and the C language only)

For a full description of WebSphere MQ data definition files, see IBM WebSphere MQ data definition files.

Structures

Structures, used with the MQI calls listed in MQI calls, are supplied in data definition files for each of the supported programming languages.

See Structure data types summary for a summary of the structures.