I'm trying to write an application to allow editing of MQ messages. I use the MQ APIs to read the messages from the MQ and I show these messages in a subfile using RPG. I want to be able to delete specific messages from the MQ - what's the best way of doing this? Can I use the API to just delete the specific messages or do I have to read all the messages again with the delete option, adding the messages that I don't want to delete?
Thanks in advance,