MP codes convert packed decimals to unpacked decimal representation for output or decimal values to packed decimals for input.
The MP code most often used as an output conversion. On input, the MP processor combines pairs of 8-bit ASCII digits into single 8-bit digits as follows:
When displaying packed decimal data, you should always use an MP or MX code. Raw packed data is almost certain to contain control codes that will upset the operation of most terminals and printers.
Input conversion is valid. Generally, for selection processing you should specify MP codes in field 7 of the data definition record.
yields 0x D01234