Data conversion on IBM i
This topic describes the interface to the data-conversion exit, and the processing performed by the queue manager when data conversion is required.
The data-conversion exit is invoked as part of the processing of the MQGET call. It is used to convert the application message data to the representation required by the receiving application. Conversion of the application message data is optional, and requires the GMCONV option to be specified on the MQGET call.
The following aspects of data conversion are described:- The processing performed by the queue manager in response to the GMCONV option; see Conversion processing on IBM i.
- Processing conventions used by the queue manager when processing a built-in format; these conventions are recommended for user-written exits too. See Processing conventions on IBM i.
- Special considerations for the conversion of report messages; see Conversion of report messages on IBM i.
- The parameters passed to the data-conversion exit; see MQCONVX (Data conversion exit) on IBM i.
- A call that can be used from the exit in order to convert character data between different representations; see MQXCNVC (Convert characters) on IBM i.
- The data-structure parameter which is specific to the exit; see MQDXP (Data-conversion exit parameter) on IBM i.
- Conversion processing on IBM i
This information describes the processing performed by the queue manager in response to the GMCONV option. - Processing conventions on IBM i
When converting a built-in format, the queue manager follows the processing conventions described in this topic. - Conversion of report messages on IBM i
A report message can contain varying amounts of application message data, according to the report options specified by the sender of the original message. - MQDXP (Data-conversion exit parameter) on IBM i
Data-conversion exit parameter block. - MQXCNVC (Convert characters) on IBM i
The MQXCNVC call converts characters from one character set to another. - MQCONVX (Data conversion exit) on IBM i
This call definition describes the parameters that are passed to the data-conversion exit.
Parent topic: Developing applications reference