To send data between applications, firstly the message data is placed in a bag. Then, the data in the bag is converted into a PCF message using the mqBagToBuffer call. The PCF message is sent to the required queue using the MQPUT call. This is shown in Figure Figure 12. For a full description of the mqBagToBuffer call, see mqBagToBuffer.
To receive data, the message is received into a buffer using the MQGET call. The data in the buffer is then converted into a bag using the mqBufferToBag call, providing the buffer contains a valid PCF message. This is shown in Figure Figure 13. For a full description of the mqBufferToBag call, see mqBufferToBag.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csq6933 |