In MQ V8, a new header file made it easy for C programs to convert MQI numbers into the corresponding string definition. For example, turning 2035 into MQRC_NOT_AUTHORIZED
. For formatting PCF-based messages such as events, you can easily convert the names of fields in those events using functions like MQIA_STR
or MQCACH_STR
. But what about turning the values in those elements into a string? There is a new tool in the MQ Go library to help with MQ PCF value formatting. And it is easy to adopt or port it for other languages too.
This post was last updated on March 2nd, 2025 at 05:37 pm