Data-conversion exit reference

For z/OS, we must write data-conversion exits in assembler language. For other platforms, it is recommended that we use the C programming language.

To help you to create a data-conversion exit program, the following resources are supplied:

  • A skeleton source file
  • A convert characters call
  • A utility that creates a fragment of code that performs data conversion on data type structures This utility takes C input only. On z/OS, it produces assembler code.

For the procedure for writing the programs see:

  • Skeleton source file
    These can be used as your starting point when writing a data-conversion exit program.
  • Convert characters call
    Use the MQXCNVC (convert characters) call from within a data-conversion exit program to convert character message data from one character set to another. For certain multibyte character sets (for example, UTF-16 character sets), the appropriate options must be used.
  • Utility for creating conversion-exit code
    Use this information to learn more about creating conversion-exit code.
  • Valid syntax
    Your input file for the utility must conform to the C language syntax.

Parent topic: User exits, API exits, and installable services reference