To find out about the subject line, use the API call MQCRTMHto get the message descriptor, and then query the message properties using the API call MQINQMPthat defines the property MQTopicString.
MQCRTMH- Create a message descriptor
MQINQMP- Property names
Sample IBM MQ procedural programs
, IBM MQ, , , . , , - , , , . , .
Windows {MQM Home}/Tools UNIX {MQM Home}/samp. , AMQSIQMA , , API MQINQMP.