View previous topic :: View next topic |
Author |
Message |
mfuser Banned
Joined: 01 Mar 2005 Posts: 105 Topics: 58
|
Posted: Fri Jul 14, 2006 6:07 am Post subject: deleting a message from the queue uisng Message ID |
|
|
Members,
I want to delete a message from the queue using Message ID .I want to know what would the call me like ? I am aware of the calls for other purposes but i am unable to get the correct call name .Can anybody help me in this requirement ?
Code: |
MQCON CONNECT TO A QUEUEE
MQDISC DISCONNET FROM A QUEUE
MQOPEN OPEN A QUEUE
MQCLOSE CLSOE A QUEUE
MQINQ INQUIRE ABOUT A QUEUE
MQGET GET MESSAGES FROM THE QUEUE
MQPUT PUT MESSAGES INTO THE QUEUE
|
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
kolusu Site Admin
![Site Admin Site Admin](images/ranks/adminpic.jpg)
Joined: 26 Nov 2002 Posts: 12367 Topics: 75 Location: San Jose
|
Posted: Fri Jul 14, 2006 6:54 am Post subject: |
|
|
mfuser,
A MQGET will remove the messages as soon as it processed , unless you are just browsing the messages. Do you want to delete the uncommitted messages?
Kolusu _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
www.linkedin.com/in/kolusu |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
mfuser Banned
Joined: 01 Mar 2005 Posts: 105 Topics: 58
|
Posted: Fri Jul 14, 2006 7:07 am Post subject: |
|
|
Kolusu,
Is it that messages once read from a queue are deleted physically from the Queue( Read Destructive and memory is freed up which becomes avaiable for use) ? If so my purpose would be solved .What do you mean by 'Uncomitted Message' ? One more basic question is there might be many messages in the queue ,but when i start reading messages in a loop by a program what would be the sequence in which messages will be retrived , will it be by System stored id / some information ? |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
kolusu Site Admin
![Site Admin Site Admin](images/ranks/adminpic.jpg)
Joined: 26 Nov 2002 Posts: 12367 Topics: 75 Location: San Jose
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|
|