Is there a mapping of the integer value like MQIA_ACCOUNTING_INTERVAL to its MQSC string equivilent( AcctInt) ? ( or even "AccountingInterval") so I can use nice names when displaying PCF output?
I can use MQIA_STR (MQIA_ACCOUNTING_INTERVAL) to return "MQIA_ACCOUNTING_INTERVAL." which is halfway there.
If not I could take the string "MQIA_ACCOUNTING_INTERVAL" strip the front bit off, convert to lower case, change any character after a _ to upper case, and remove the _ to make AccountingInterval.
Rather than write it myself, I thought I would see if it has been done before.
Colin
------------------------------
Colin Paice
------------------------------