The Inquire Properties of a Message Handle sample program
AMQSIQMA is a sample C program to inquire properties of a message handle from a message queue, and is an example of the use of the MQINQMP API call.
This sample creates a message handle and puts it into the MsgHandle field of the MQGMO structure. The sample then gets one message and inquires and prints all properties with which the message handle was populated.
C:\Program Files\IBM\MQ\tools\c\Samples\Bin >amqsiqm Q QM1 Sample AMQSIQMA start property name MyProp value MyValue message text Hello world! Sample AMQSIQMA endParent topic: Use the sample programs on Multiplatforms