DPUT (imqdput), DPUT sample program, putting to a distribution list, example, messages, putting messages to a distribution list, distribution list, putting messages to" />
Sample program DPUT (imqdput.cpp)
This is a distribution list program that puts messages to a distribution list consisting of two queues. DPUT shows the use of the ImqDistributionList class (see ImqDistributionList). 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.