Sample program DPUT (imqdput.cpp)
This C++ sample program puts messages to a distribution list consisting of two queues.
DPUT shows the use of the ImqDistributionList class (see ImqDistributionList C++ class ). This sample is not supported on z/OS .- Run imqdputs queue-name-1 queue-name-2 to place messages on the two named queues.
- Run imqsgets queue-name-1 and imqsgets queue-name-2 to retrieve the messages from those queues.
Parent topic: C++ sample programs