I've been struggling to get the size of a message property using MQINQMP
I preset the datalength field to -3
I use MQINQMP
If my valuelength is 64, and the message property is of length 20 I get datalength of 20. Which is what I expect. It works.
If my valuelength is 64, and the message property is of length 100, I get reason 2469: FAILED: MQRC_PROPERTY_VALUE_TOO_BIG
and the datalength is not set ( it stays at -3).
How do I get the length of the property, so I can allocate a buffer of the right size. Is there a setting I need to use?
I'm on z/OS in a 64 bit C program.
The supplied sample CSQ4BCG1 works, but that's a 31 big program.
Colin
------------------------------
Colin Paice
------------------------------